Select to view content in your preferred language

Use a URL to Open Existing Record to Edit in App (Not Web)

607
2
Jump to solution
08-18-2023 11:58 AM
RobertAnderson3
MVP Regular Contributor

Looking into some editing/review processes for surveys we have going.

We're integrating our Survey123 data into Power BI to allow a quick overview for supervisors comparing it to our time management system. One of the things we're looking at is the best way to allow the supervisor/data entry team update Survey123 to make sure they actually match what they should.

My thought right now is add the URL with mode=edit and the globalid for the record in question, this works for the web form easily, I've used this before in dashboards. However, what I would LIKE to do, because some supervisors are already familiar with the desktop app, is have the link open the record into the desktop (or iOS) app itself.

I've put the structure together, the app opens, however it just ends up being an endless loop of downloading, unpacking, etc.

Is this possible to do? If so, what am I missing? I've tried both below:

https://survey123.arcgis.app?itemID={formID}?mode=edit&globalId={globalID}

arcgis-survey123://?itemID={formID}?mode=edit&globalId={globalID}

0 Kudos
1 Solution

Accepted Solutions
RobertAnderson3
MVP Regular Contributor

Thank you @JenniferAcunto I was missing that!

The other piece I was missing was for the query q:globalId={globalid} as well it seems you need update=true for it to work and for the entries to be in the INBOX on the device.
(Source: https://community.esri.com/t5/arcgis-survey123-questions/q-queryparameter-url-parameter-for-survey12...)

My final URL looks like: 

https://survey123.arcgis.app/?itemID={itemID}&action=edit&update=true&q:globalId={globalid}

EDIT: You can add folder=* to your URL to include surveys from all the folders on your device and for that case I would use the filter parameter:

arcgis-survey123://?itemID={itemID}&action=edit&update=true&folder=*&filter=globalId:{globalID}

View solution in original post

0 Kudos
2 Replies
JenniferAcunto
Esri Regular Contributor

Field apps use action=edit and not mode.

Integrate with other apps

- Jen
RobertAnderson3
MVP Regular Contributor

Thank you @JenniferAcunto I was missing that!

The other piece I was missing was for the query q:globalId={globalid} as well it seems you need update=true for it to work and for the entries to be in the INBOX on the device.
(Source: https://community.esri.com/t5/arcgis-survey123-questions/q-queryparameter-url-parameter-for-survey12...)

My final URL looks like: 

https://survey123.arcgis.app/?itemID={itemID}&action=edit&update=true&q:globalId={globalid}

EDIT: You can add folder=* to your URL to include surveys from all the folders on your device and for that case I would use the filter parameter:

arcgis-survey123://?itemID={itemID}&action=edit&update=true&folder=*&filter=globalId:{globalID}

0 Kudos