AnsweredAssumed Answered

Arcade - Popup Profile, define global

Question asked by dbecker88 on Apr 25, 2019
Latest reply on May 16, 2019 by xander_bakker

ArcGIS Enterprise 10.7.

 

I have an Arcade script that generates a datasheet ID and displays it in the popup title. Users manually type the datasheet ID into the correct field when entering a new feature in Collector. This is obiv. a workaround because Arcade cannot calculate field values in Collector...

 

But, it seems like the Arcade script is called each time a user types something into an attribute field.

Is there any way to define a true global variable in the "Popup" Profile? Like $map, $feature, ect.. Something like $feature["popupGlobal"] that could be created in the Attribute Expression would be really nice.

Outcomes