Feature layers (that are not really templates) are read only

483
5
Jump to solution
01-13-2021 08:07 AM
MollyFoley
Regular Contributor

I'm trying to convert my popups used in Collector to Smart Forms. To do this I opened the Field Maps web app with my map and then hit the convert button. This worked out, but I get a message at the top that says I do not have permission to edit the templates and that they are read only:

Capture.JPG

 

 

 

 

 

 

 

If I use the collector-like popups in Field Maps, all the fields are editable, but after conversion on the FM web app, it says it's read only. If I click on the "templates" shown above, as expected they are not editable. I'm trying to understand why that would be. The templates shown are not true feature templates and I'm wondering if that's the issue. When this feature class was created, I used subtypes and domains to control what attributes can be entered, I never specifically created feature templates. 

Other things of note: 

  • These are not hosted feature layers, they are coming from our Server (Enterprise 10.7)
  • I have an administrator account and that account owns this web map
0 Kudos
1 Solution

Accepted Solutions
AaronPulver
Esri Regular Contributor

Hi Molly,

Field Maps web only supports modifying templates for hosted feature services.

If you switch to the Form tab, you should be able to still build a form since the form is persisted as part of the webmap which you own.

 

View solution in original post

0 Kudos
5 Replies
AaronPulver
Esri Regular Contributor

Hi Molly,

Field Maps web only supports modifying templates for hosted feature services.

If you switch to the Form tab, you should be able to still build a form since the form is persisted as part of the webmap which you own.

 

View solution in original post

0 Kudos
MollyFoley
Regular Contributor

Okay, I think I understand now. Feature templates can be edited locally, published to server, and then used with Smart Forms. You just can't edit the template online unless it's hosted. 

On another note, I can build a form, but the problem is that it requires me to add the fields Shape.STArea() and Shape.STLength(). It makes them a required field, but it also makes them uneditable (Allow mobile users to edit checkbox is unable to be checked) and it doesn't automatically calculate so I am unable to  submit features on the mobile app if they're on my form. I wonder if I made actual feature templates it would go away. 

Capture1.JPG

 

Capture.JPG

0 Kudos
AaronPulver
Esri Regular Contributor

Okay, I think I understand now. Feature templates can be edited locally, published to server, and then used with Smart Forms. You just can't edit the template online unless it's hosted.

Correct, there's no plans to support editing templates for non-hosted feature services. There are no API's available for this.

Thanks for reporting the issue with required fields. This seems like a bug - I'll investigate this some more and get back to you. I don't think re-creating the templates would change anything here.

0 Kudos
AaronPulver
Esri Regular Contributor

In case anyone else runs into this issue with the shape/geometry fields, we plan to address this for our next update in March 2021.

0 Kudos
AdamFaulstich
New Contributor

Aaron, 

Thank you for the answer, as I have had this same issue. This makes sense that we should be able to set up the template in Arc Pro and then when the service is pushed the template stays with it. However, I am not experiencing this. Once I push a service with a feature template set the editing template in Field Maps, and Collector have all available options based on the symbology of the layer. I am trying to restrict the editing workflow to only needed one type of feature being placed rather than all options. 

 

Thanks, 

 

Adam 

0 Kudos