Select to view content in your preferred language

Experience Builder edit widget header not editable

2609
9
Jump to solution
03-19-2024 05:00 PM
KatieHansen_NIFCAdmin
Regular Contributor

I am using the edit widget in Experience Builder and I have configured the Form in the web map to design how and what I want editable in EB for all layers in my app. In the edit widget pane header, I can’t edit what is displayed in the header; currently and by default it is the feature’s Object ID. I have the title configured in the form but that is displayed below the header row with the OID.

It is taking up valuable real estate since many of my users use this app on their mobile device. If I can’t remove it, how can I choose what displays in this location? @AlixVezina any ideas?

In other EBs it at least displays "Edit feature" in this location. 

0 Kudos
1 Solution

Accepted Solutions
AlixVezina
Esri Regular Contributor

Hi @KatieHansen_NIFCAdmin , there currently isn't a way to hide the header. To change the field value displayed, you will need to update your services Display Field. You will need to update this from the REST endpoint of the feature service (that's currently the only way...)

Here's a Tech Support article with the steps for updating the Display Field: How To: Change Display Field Using ArcGIS Server Services Directory REST API (esri.com)

View solution in original post

9 Replies
AlixVezina
Esri Regular Contributor

Hi @KatieHansen_NIFCAdmin , there currently isn't a way to hide the header. To change the field value displayed, you will need to update your services Display Field. You will need to update this from the REST endpoint of the feature service (that's currently the only way...)

Here's a Tech Support article with the steps for updating the Display Field: How To: Change Display Field Using ArcGIS Server Services Directory REST API (esri.com)

KatieHansen_NIFCAdmin
Regular Contributor

Thank you @AlixVezina 

0 Kudos
ErikBell1
Emerging Contributor

Hello,

Checking to see if anyone has revisited this lately. The solution above is no longer working. Any changes made to the displayfield does not transfer over to the editing widget. It continues to use the ObjectID field.

Thanks!

CatherineWendland
Occasional Contributor

I'm having the same issue. Editing the display field worked about a month ago, but is no longer working now.

0 Kudos
FonPunnakanta
Emerging Contributor

I tried this today, it's doesn't seem to work anymore.

0 Kudos
KatieHansen_NIFCAdmin
Regular Contributor

This workflow also does not work for me.
What did work though was to follow the instructions in the Technical Support workflow up to Step 7. Then, Update the Definition by using this syntax (and removing all other content within the service definition:
{
"displayField" : "Incident_Name"
}
And click Update Layer Definition

This was successful for me this year.

Good luck!
@AlixVezina can you confirm that this workflow mentioned in the Tech Support article is no longer valid since it does not work for us any longer? Thank you
https://support.esri.com/en-us/knowledge-base/how-to-change-display-field-using-arcgis-server-servic...

 

0 Kudos
FonPunnakanta
Emerging Contributor

Good morning!

If you don't mind verifying your process, when you said removing all other content within the service definition. Is it just the section where displayField is currently located, or entire info of the service definition? Mine seem to have a lot of info in it. 

msedge_MK0HUl5mXd.png

0 Kudos
KatieHansen_NIFCAdmin
Regular Contributor

When you are updating the Service Definition, if you clear out the entire definition content box and then only add in what you want to update (which is the field that you want to be the header), literally just this:


{
"displayField" : "your_field_name_here"
}

 

and click Update Service Definition button, it will only update that specific piece of the layer's SD.

mattCSimon1
Occasional Contributor

Thanks Katie! I think there's some confusion with the instructions since they direct you to search for displayField and the first instance of that is in the UpdateDefinition section. Changing it there doesn't work but changing the displayField in the next section (as the instructions show) and then changing the lastEditDate DID work so kuddos!

0 Kudos