Hello all!
I am trying to access Related tables in an AGOL Hosted FeatureLayer using JSAPI(4.27) for display in a Popup.
I have tried adjusting the "Browse related records in a popup" code sample, but am getting 'Relationship not found in the map' error in the popup.
I have added the FeatureLayer and the table as FeatureLayer and have used the "type: relationship" and the "relationshipID" found in the table service, but still get the error. I have also 'loaded' the table per the sample.
if I use the new AGOL MapViewer 'Relationship' in the popup, it does see the Related table fields. any reason why I am not seeing them in my app?
thx again!