I have an extensive hosted feature layer (points) which I would like to split up into separate hosted feature layers so field crews can work in different areas with individualized field maps based on zones / regions / neighborhoods. Am I missing a way to make one Smart Form and apply it to / within different hosted feature layers / different field map apps? The hosted feature layers will all have the exact same attributes. I'd just like to avoid having to create a redundant smart form over and over again, or make a few hundred bookmarks for the zones. Working in Portal with a Map made in Map Viewer (not classic). Other ideas welcome (copy a json file? / use AGOL Assistant? )! And thank you!
Updating the web-map JSON via agol assistant is certainly an option.
Alternatively, the less tedious option would be using the argis python api
FormCollection | ArcGIS API for Python
arcgis.mapping module | ArcGIS API for Python
Thank you for responding with these helpful links. I will give it a try!
For all my form reuse tasks, I always go to AGOL Assistant. Here's the link:
https://ago-assistant.esri.com/
It's an easy interface and I find it very convenient with reusing already defined popups, forms and all the whistles. I didn't know about the FormCollection interfaces. Thanks for sharing.
Mjss25
Hello! How do you use AGO assistant for this workflow? Are you able to carry over the same questions/calculations/etc. across different layers?
If I need to replace a hosted feature layer in a webmap where all the popups, forms, defined editing-rules are already present, I do the following (understanding the new hosted feature layer contains the same attributes as the old one, except is a new geographic view or query):
Hope this helps,
Cheers,
MJ
Ahh got it. Thanks @MiltonSolano ! I think my Field Maps configuration will contain several of the same questions/fields, but not fully identical - so each layer would have configurations unique to that layer that I still need to retain. Have you tried just the "formInfo" "formElements" part of the JSON to transfer over to different maps? I believe I tried that once and it was tricky with the parentheses and didn't work perfectly.
Yes,
For some webmaps, I just collapse the formInfo tags, copy this particular section only and paste it into another webmap and start editing from there, leaving everything else as it is. I think the tool allows you to copy/paste whatever json tags you need. Obviously, you need to be aware of the opening/closing parentheses. It takes a little practice but once learned, it's really helpful.
Good luck!
MJ