Setting default values with arcade

326
1
12-28-2021 12:11 PM
Labels (2)
KarenLankton_Schmidt
New Contributor II

We are attempting to link Share Point lists to AGOL layer features.  For this to work, we need to pass out a unique value with a deep link so it can be saved in sharepoint to reference the Feature while in Power BI dashboards.

This value needs to be copied during Copy Features, Append in Pro and the like.  Using the GlobalID or OBJECTID will not copy without special changes to our portal.

What would be ideal, is if I could create some code that copy the GlobalID on create into another field like "GlobalIDCopy", but allowed it to be set during copy operations so data could be restored from backup and the links to SharePoint would be maintained.  

0 Kudos
1 Reply
KarenLankton_Schmidt
New Contributor II

We did find a way to work around the problem by creating labels and popup messages that indicated the GUID was not set.  It's not pretty, but it works.

0 Kudos