Arcade set up in Field Maps smart form isn't running correctly in Experience Builder

188
1
03-21-2024 06:34 AM
BRENNEJM
New Contributor III

I have arcade set up in a smart form to auto-generate the next unique ID when a new feature is created. When updating an existing feature, the script should use the existing unique ID. This works great in Field Maps and when the arcade script is tested. However, when editing through Experience Builder, the arcade script always generates the next unique ID and replaces the existing unique ID.

Arcade Script:

arcade.JPG
Arcade Test (the next unique ID based on my features would be PSPT-00089. PSPT-00071 already exists, and the arcade script is working correctly)

arcade test.JPG
Map Viewer pop-up (this point shows that unique ID is already set to PSPT-00049)

position point id.JPG
Experience Builder edit pop-up after selecting the same point as above (PSPT-00049 shows up briefly and then is overwritten with PSPT-00089)

position point id after selecting with edit tool.JPG

0 Kudos
1 Reply
BRENNEJM
New Contributor III
0 Kudos