When I go into the Templates option under Configure editing it will not allow me to save the template. The layer in question is being pulled from our server (not hosted online). When I go to save any changes made on the template, I get prompted to login to our portal, which I do, but then I get this error.
I have everything set to allow for editing and I'm an administrator for my organization so I'm not sure what other privileges are needed to get this to save.
If anyone has a clue as to why this isn't working, I'd be eternally grateful. I've been trying everything to get this to work and I'm all out of ideas.
Hi @MelissaGearman,
That does seem off. As an admin, you should be able to save any changes to the templates for hosted feature layers. I have a couple of suggestions.
Option 1. Check the form and template to ensure that there aren't any errors. Check default values, field lengths, lists, expressions, and check for the use of reserved key words. Then try to configure the template again.
2. Can you try to make changes to the template in another app like Field Maps Designer or Map Viewer Classic and see if you get the same error.
Best, Emily
@MelissaGearman I am having the exact same issue! I can edit the template to my hearts content in Map Viewer but I get the same error when I try and save. The only difference is we are using Enterprise / Portal 11.5.
@EmilyGeo Going along with your suggestions:
Option 1 - I don't have any thing out of the ordinary and still can't configure the template.
Option 2 - We are at Enterprise / Portal 11.5 and Map Viewer Classic doesn't work properly. Using Field Maps Designer, I'm not able to edit the template at all.
Hi @JamesRains,
Thanks for checking how this works in other apps.
1. Do you see any messaging in Field Maps Designer as to why you can't edit the template?
2. Would you be able to submit a ticket to tech support so we can troubleshoot the issue? That's the best way for us to determine if there is a bug.
Thanks! Emily
@EmilyGeo
1. Within Field Maps Designer there isn't any messaging at all. In fact, there isn't anything I can edit at all regarding the Templates. Everything is either grayed out or there just no options to do anything. I have tried this in both Google Chrome and Microsoft Edge.
2. I will definitely start a support ticket on this.
Also, since this is on the AGOL Questions, I went ahead and started a thread on Enterprise Portal Questions as well, prior to seeing your reply . Unable to save your template changes
@EmilyGeo Sorry for the delayed response on this.
Like @JamesRains, none of the suggestions seem to be working. We're working on an older version of Enterprise (10.9). We will be updating later this year but from what James says, it's not working on the newer version as well. Within Field Maps Designer the templates tab gives me a message that templates are read only.
Hi @JamesRains
Okay, thank you for checking- and for re-iterating that you are working in Enterprise. Sorry for the confusion - ArcGIS Online only supports configuring templates for hosted feature layers. For non-hosted layers, please use ArcGIS Pro to make any changes.
I think the problem is that templates for non-hosted layers should be read-only in Map Viewer (like you see in Field Maps) — thanks for flagging this!