I am trying to create a customised pop-up in AGOL for a web layer I have uploaded that has a related table (text only).
Polygon table structure is:
GlobalID (GUID)
Area (shape_area)
Length (shape_length)
Related table structure
GID1 (GUID) - this is the related key back to the parent polygon table
Type (text)
Number (short)
Phase (text)
Right now I can click on "show related records" in the pop-up, but ideally I would like this information to be displayed in the pop-up and not in a separate table below the map.
I tried doing some simple arcade programming and got the expression result to work using this:
FeatureSetByRelationshipName($feature,"native_plantin_rel_table",["Type","Number","Phase"])
But when I implement this in the popup, it does not work and only get "No information available" message in the popup
Any ideas?
Thanks in advance!