Select to view content in your preferred language

Where is submission_url stored when HFS is created along with survey?

161
1
07-21-2025 02:57 PM
TL2
by
Frequent Contributor

When you create a survey it generates the hosted feature service and links them.  When you add a field the linked HFS is updated.

I would like to point my survey to a different HFS but would like to avoid adding a submission_url.  I would like to update the linked HFS.

My submission_url is blank so somewhere the survey knows which HFS to use, but I can't find it.

TL2_0-1753135052665.png

 

Thanks.

0 Kudos
1 Reply
ChristopherCounsell
MVP Frequent Contributor

There's no recommended way to do this.

You would need to modify the form info files in survey123 connect.

E g. formInfo.json and change the "featureServiceItemId" to your new HFS's item ID.

This should update the item data property in the published form in ArcGIS online.

However, I strongly recommend you don't go down this path because:

  • It's not a supported workflow 
  • It's common to encounter issues when manually modifying the local files or moving/renaming survey content in ArcGIS Online 
  • It's more effort than the alternate supported workflows 

Instant I would recommend:

  • Use the submission_url and manually add fields as required to the layer and form
  • Publish a new survey form to create a new associated layer, and then migrate your data from the original layer.