Hi,
I'm struggling with the use of featureSetByAssociation in an attribute rule
What I'm trying to do is select the features attached to a pole, then count individual assetGroups. But I can't find how to use the className result of fsByAssociation function.
The documentation says it returns :
className: Text - The class name based on the value of TONETWORKSOURCEID or FROMNETWORKSOURCEID.
First, how do I know if I am querying TO or FROM field ?
Second, how do I know how to format the query ?
Looking here (https://pro.arcgis.com/fr/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm) I see several query formatting (electricdistributionassembly, StructureJunctionObject...)
Looking here (https://www.esri.com/arcgis-blog/products/utility-network/data-management/featuresetbyassocaitions-new-utility-network-arcade-api-to-work-with-associations-2-5-10-8/) they tell
`className:` String based on value of (TONETWORKSOURCEID or FROMNETWORKSOURCEID )
Ex : var devicesRows = Filter(allContent, "className = 'Electric Device'")
But when looking at the Assicoation View in ArcGIS Pro, I have 4 or 12 as values for FROM/TONETWORKSOURCEID
Any help is welcome
Note that I am working in a mobile geotatabase
Also, if anyone has info about how to user terminalName in the same function...