Hello,
I have been working on configuring Smart Forms for Asset Inspections in my Web Map. I was seeing if there was a way to save the form as a file. This way I can bring this way I can copy the file location into an existing script.
This is an example of one of my forms below:
Thank you!
Solved! Go to Solution.
Hi Staci,
It is definitely possible. We save all of our forms as JSON files and maintain them in using Version Control (GIT). There is no button that will enable you to export to a file. There are two ways that we go about it.
Our standard workflow is to create a template form using Field Maps Designer, save the from to a JSON file in a code repository, then any time we publish a feature layer to AGO or AGE from a template we then use the ArcGIS Python API to apply that template Form.
Hi Staci,
It is definitely possible. We save all of our forms as JSON files and maintain them in using Version Control (GIT). There is no button that will enable you to export to a file. There are two ways that we go about it.
Our standard workflow is to create a template form using Field Maps Designer, save the from to a JSON file in a code repository, then any time we publish a feature layer to AGO or AGE from a template we then use the ArcGIS Python API to apply that template Form.
This is great, thank you! I was able to save the form to a JSON file using Visual Studio Code. I appreciate the quick responce too!
Good Idea. This would be handy to build 1 form then reuse it for each of our 11 states. Would also be good for backups. If we lose a map now we have to start all over. Also would be great to reuse the form for the next year of collection vs having to start from scratch.
Depending on your use case the save to the layer option may work for you. Then the form is with the layer vs the map.