Changing the survey feature layer name

671
1
Jump to solution
10-06-2017 08:09 AM
IhabEl_Attar1
New Contributor II

Hello,

I published a survey and the main feature layer created in the feature service is called form_3. Is there a way to configure this name or change it ? I cant find a way to do so.

Thanks

Ihab

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
Philip-Wilson
Esri Frequent Contributor

Hi Ihab,

When you create your survey from a template the title will be used for the form_id by default, and this is used for the feature layer name on publish.

Before publishing the first time, you can change the form_id using Connect in the xls form on the Settings sheet by entering your preferred layer name in the form_id column.

You can also view the table name (layer name) in the Schema Preview of Connect before publishing, same applies with repeats (related tables).

Note that once the survey has been published, if you change the form_id in the xls form it will require the feature service to be republished again, removing the old feature service (deleting data) and creating a new feature service with new layer name. Only do this if you have not starting collecting data in your survey. You will receive a warning message before proceeding if any schema changes impact the current feature service and requires data being deleted.

There are other ways to change the layer name in ArcGIS Online, however proceed with caution if you have data collected already as with these schema changes there is always a chance of an error and data being lost. The best option is to re-publish your survey again using Connect as described above. Documentation around the steps on AGOL can be found here: How To: Change the name of a feature service and there are other resources which you can find in the AGOL Blogs, User Forums and Online Documentation. If you change the layer name via AGOL, ensure you update it in your xls form to match and then re-publish your survey. 

Regards,

Phil.

View solution in original post

1 Reply
Philip-Wilson
Esri Frequent Contributor

Hi Ihab,

When you create your survey from a template the title will be used for the form_id by default, and this is used for the feature layer name on publish.

Before publishing the first time, you can change the form_id using Connect in the xls form on the Settings sheet by entering your preferred layer name in the form_id column.

You can also view the table name (layer name) in the Schema Preview of Connect before publishing, same applies with repeats (related tables).

Note that once the survey has been published, if you change the form_id in the xls form it will require the feature service to be republished again, removing the old feature service (deleting data) and creating a new feature service with new layer name. Only do this if you have not starting collecting data in your survey. You will receive a warning message before proceeding if any schema changes impact the current feature service and requires data being deleted.

There are other ways to change the layer name in ArcGIS Online, however proceed with caution if you have data collected already as with these schema changes there is always a chance of an error and data being lost. The best option is to re-publish your survey again using Connect as described above. Documentation around the steps on AGOL can be found here: How To: Change the name of a feature service and there are other resources which you can find in the AGOL Blogs, User Forums and Online Documentation. If you change the layer name via AGOL, ensure you update it in your xls form to match and then re-publish your survey. 

Regards,

Phil.

View solution in original post