Hi, I'm seeking advice on how to carry values from the parent featureservice across to a related record table. In the example image below from this blog you can see what looks like Unit = TUU has been carried over from the parent and into the related table. I've used smart forms and calculated expressions a bit but aren't sure whether I try and leverage the relationships or if there is another way to define this via a calculated expression on the Unit field in the related table.
In my case, this Unit value would then define the options available in the Staffing and Owner fields via contingent values. The Unit field is also be a domain.
ArcGIS Enterprise 11.2 with hosted fs
The original blog was a little old so I'm guessing that I may not get a speedy reply if I post my question in the comments there
cheers
Solved! Go to Solution.
what initially took some time was determining the relationship name to use in FeatureSetByRelationshipName. After publishing the parent featureclass, the related table and the relationship to Portal, I couldn't see anywhere where the relationship class is explicitly referenced or named.
In my case where I was applying an arcade expression against a field in the attribute table, the relationship name was actually the name of the parent polygon feature service. Hope this helps someone else
what initially took some time was determining the relationship name to use in FeatureSetByRelationshipName. After publishing the parent featureclass, the related table and the relationship to Portal, I couldn't see anywhere where the relationship class is explicitly referenced or named.
In my case where I was applying an arcade expression against a field in the attribute table, the relationship name was actually the name of the parent polygon feature service. Hope this helps someone else
To carry values from a parent feature service to a related record table in ArcGIS Experience Builder, and subsequently use these values to define options available in other fields through contingent values, you have several approaches. Given your scenario and the tools available within ArcGIS Enterprise 11.2, here are some strategies you could consider:
Implementing this functionality will likely involve a combination of the strategies above, tailored to fit your specific data model and workflow requirements. Testing in a development environment before applying changes to your production system is also recommended to ensure the desired outcomes are achieved without impacting existing data or workflows.
thanks @FredericPoliart_EsriAU . Often I find that significant research is required to narrow down the field of potential approaches, so your post is very much appreciated. At the moment it looks likes a combination of 1, 2 and 3 is working for me
My current issue is trying to get the smart forms to honour the "restrictive" setting that I have on my contingent values when I'm configuring it in Pro prior to publishing. This was working previously in the smart forms so I'm confused as to why it's changed and now allows users to choose any domain value now that it's published. I might have to start another post on that one unless it's a known bug!