I'm using Field Maps in Enterprise with a service that references registered data. One of the layers in this service is symbolized based on two fields, but I grouped many of the unique values together because there were too many values and only some needed to be differentiated (e.g. I would like to know what is a domestic spigot vs a irrigation spigot, but I don't need to differentiate between domestic shutoff valves and domestic air release valves). I created 9 templates for this layer in ArcGIS Pro and overwrote the service, but if I try to add a new feature in Field Maps I see 30+ templates--my 9 templates plus all the unique value combinations.
Anyone have ideas on how to get rid of all these extra templates I don't want? Or am I out of luck because I'm using registered data? I'm prevented from modifying templates in Field Maps and Map Viewer Classic. Initially I used definition queries and separated the data into two different layers with different symbology which made it cleaner, but "Offline areas won't work if the same layer has been added twice."
Hi @mzhang ,
Before publishing from ArcGIS Pro, go to the Edit tab, in the Features group, click the Manage Templates arrow to the bottom right of the group.
The Manage Templates pane will open.
Click on the Layer of interest and delete out any unwanted templates.
Publish your Feature Service.
Note: You could also use the Delete from Definition option via the REST Services or the ArcGIS API for Python to remove from a live service.
I hope that helps,
Glen
Hi Glen, thank you for the suggestions.
Unfortunately, managing the templates in Pro does not work (at least in ArcGIS Pro 3.2.2 publishing in Enterprise Portal 11.1.0). I made sure there were only the 9 templates for the layer when I published it. I also tried adding all combinations in just so I could delete them and that didn't work either. It seems that they are added in Portal.
I tried looking into Delete from Definition but wasn't able to find anything on using it for templates. Would you be able to point me in the right direction?
Thank you!
Monica
[accidental duplicate post]