Select to view content in your preferred language

Unable to manage feature templates in ArcGIS Online

5627
11
Jump to solution
02-02-2022 01:30 PM
NickRobles
Occasional Contributor

I have an automated process (using arcpy of course)  that will create a service draft and publish a feature class from a gdb successfully. Once the service is up, I can edit existing features and play around with related records in ArcGIS Online and Field Maps. However,  when I try to add new features I am unable to because of a default value conflicting with an existing value in the feature class, even though I tried to save with a different value. 

I understand that this can be remedied in the feature class' feature template in Desktop as well as Map Viewer Classic, but I am having a couple of issues I was wondering if I could get some help with: 

 

1) According to this link: 
https://doc.arcgis.com/en/arcgis-online/manage-data/manage-feature-templates.htm

I should be able to manage feature templates in Map Viewer. But when I try to load a feature service into a map and click on "Edit", the "Manage" button does not appear. I understand that I can only see this button if I am the owner or admin, but I am not clear on what that means. Is the owner the person that published the service or the one that adds it to the map? When I try to set the sharing properties to the admin only and have to log in to view the layer in map viewer, I am still not able to see the "Manage" button. Additionally, adding it to a map in ArcGIS Online Content under a different account does not allow me to see the "Manage" button either. 

 

2) Is there a way to add an empty feature template programatically using arcpy or editing the service somehow?

 

EDIT: I should also mention that the layer is on one of our ArcGIS Servers and I am adding the layer to the map by using the feature service link. I am also not able to add the feature service to my ArcGIS Online content due to a generic error when trying to add it. 

 

Additionally this service was published on a 10.6.1 server

11 Replies
SCVOSAGIS_Program
Emerging Contributor

How do you add new feature templates in the Field Maps Designer app? When I open my map in there, I can delete templates but not add them. I even just want a new feature template for "Other" to use with the "all other values" category in my symbology. My only path to add a feature template right now on a hosted layer is to download it, add it in Pro, and republish. Is there something I'm not seeing?

0 Kudos
JCooley_ClackamasSWCD
Occasional Contributor

I just delt with this issue.  The only way I could update templates (add new ones in this case) was by using Map Viewer Classic.  You can modify some default values in existing templates and change the display name in Field Maps Designer but you can't create new ones that don't retain at least one field that you can't change.

The Documentation still contains the warning that if you save a map using Map Viewer Classic it will or can break your forms.  Is this still true?  

   

0 Kudos