The following works:
function benefits() {
$MyList=links.inbound.Benefit.$Name;
}
quoting the link type causes problems and isn’t necessary here.
I prefer the newer approach:
function newBenefits() {
$MyList=;
eachLink(link) {
if (link["type"]=="Benefit" & link["destination"]==$Path) {
$MyList += $Name(link[source]);
}
}
}
This is a bit more verbose, but it makes what you’re doing more clear while allowing more flexibility.
function test.tbx (173.0 KB)