All,
The discussions about linksFrom and linksTo in this forum I found confusing. I stripped the issue to the bare minimum.
I have 2 libraries. One called "Child" and one called "Parent".
Library "Child" contains a field of type "Link to entry" called "Parent" pointing to the library "Parent".
Retrieving the Parents from a Child record in javascript (in a button for example) =>
let parents = entry().field("Parent");
Retrieving the Children from a Parent record in javascript (in a button for example), => 2 equivalent options =>
let children = libByName("Child").linksTo(entry()); // Documentend
let children = entry().linksFrom("Child","Parent"); // Undocumented but announced in release notes
Happy New Year