In Field Maps Designer, we can now save forms to the layer, rather than in the web map. Where are these forms actually being stored? I don't see them in the layer definition JSON of the hosted feature service. When they are stored with the web map, they can be found in the web map's JSON.
It appears as if they are saved in the JSON for the hosted feature layer in the data section under "formInfo".
R_
Thanks for the reply. Yes, I can now see that in the JSON when using the AGOL Assistant. I didn't see that section when looking at the layer definition JSON from the Admin REST endpoint of the service, which is where I was previously looking. I've used both AGOL Assistant and the hosted layer's Admin REST endpoint's /updateDefinition capability to update layer definitions on hosted services, so I wonder why the JSON representation is different between AGOL Assistant and the service's Admin REST endpoint?
I'm now trying to update the the service's JSON's formInfo section via ArcGIS Python API, I've determine how to retrieve the information, but not clear how to update it. It's not a part of the layer definition, so using that method doesn't seem to be appropriate.
Yup. Ambiguity here is what prevents me from spending the time to build a complex, logic-based form and deploying it. Need better way of seeing forms in the GUI, not buried in the JSON.
Does anyone know why the templates information is NOT being transferred with the "forms info" when copying it to a new map? I can't seem to find it anywhere else in the JSON so I'm worried there isn't a way to transfer them. This also results in the options for my radio buttons to be missing. I have the same symbology and fields across maps. Any ideas or suggestions to get the templates transferred would be great!
Hi Sean,
Did you ever get an answer to this, or figure out how to transfer forms between layers with the same fields? Trying to accomplish something similar now.
Thank you!