I have an odd question.
- I have a Feature Class that is in Oracle SDE, published to ArcGIS Server, Registered in Portal
- I edit this FC using Field Maps.
- In the Webmap that Field Map uses I have a link that opens a Survey123 Form and allows the user to create/edit a record in a 2nd Feature Class which is also in Oracle SDE, published to ArcGIS Server, Registered in Portal.
- There is no current relationship set up with these 2 Feature Classes....although when the S123 Form is opened the GlobalID of the 1st FC is passed and stored in the 2nd FC. So I can query on this...
In Field Maps I want to be able to click a feature and have the popup open (works fine)
- I want to be able to click the link and open S123 to add/edit the 2nd FC (works fine)
- BUT I want to be able to HIDE the link if it already has a record in the 2nd Feature Class..
- NOTE the 2nd Feature Class has Its GlobalID and the Global ID from the 1st FC. So I can technically query for the Global ID and see if it exists.... BUT I am not sure how to do this in a Popup...
I assume this would be an Arcade Expression? But can you query a FC in a popup? If I get a YES I can show a link and if it is NO then I can show the link
I hope that makes sense....