Modify Survey123 Form Item ID?

655
1
06-03-2021 04:09 PM
RyanUthoff
Occasional Contributor III

Is there a way to customize or modify the Survey123 Item ID in Portal?

For example, changing https://domain.com/portal/home/item.html?id=4a4f0659e8dd442a9adcfcac87bb0f53

Is it possible to change that item ID? Since Portal seems to randomly generate an ID every time you publish a Survey123 form, it would be nice to be able to customize it, especially when going from a development Portal to production. When testing in a development environment, it will generate an item ID and we can test everything using that item ID. Then, when we move to production, it would be nice to be able to maintain that item ID so we don't have to change it in other S123 forms, maps, etc. from the development S123 item ID to the production S123 item ID.

Is there anyway to change it? Or, are there any other workflows that could we could use to easily migrate S123 forms from a development to production environment?

Tags(2)
0Kudos
1 Reply
UriGilad_EsriAu
Esri Contributor

Hi@RyanUthoff,

There's no easy way to change item IDs.

I'm attaching here a simple script (based on ArcGIS Python API) for cloning surveys - it should also clone all the related items and create the relationships on the target portal.

Just fill the form Item ID, source and target portal details (url, username and password) and run.

Hope that helps,

Uri

If this answer solved your question or if you found it helpful please mark it accordingly to help others who have the same question.
0Kudos