Select to view content in your preferred language

Edit Widget - Form integration

933
14
11-29-2023 02:28 PM
YS2388
by
New Contributor III

Hello,

Would anyone know why (in my case at least) the edit widget does not respect my Map Viewer form configuration? Specifically the form title. Instead showing a proper, dynamic title when a selection is made, the widget displays the layer's "Display Field". 

I don't understand why this is the case and have not found a fix.

Any help would be much appreciated.

Thanks

14 Replies
MaryEllenPerko
New Contributor II

Hi.  Piggy-backing on this question as I think I have a similar issue.  Specifically, I want to use an expression (concatenation of several fields) for the titles of the features listed in the edit widget from a map selection.  I published (using Pro) the feature layer with an expression in the display field and it shows up in the map viewer layer properties in popup and fields.  But, the edit widget only shows a single field value for each feature.  It may be the first field in the expression, but I'm only guessing because I don't know where the title/description is coming from.  Is this as designed/expected or am I missing something.  

Thanks.

AlixVezina
Esri Regular Contributor

Hi @MaryEllenPerko  and @YS2388 ,

This is a known limitation right now. As @YS2388 described above: instead of showing the dynamic title when a selection is made, the widget displays the layer's "Display Field" that was defined when the service was published. Here's another similar post: Solved: Re: Edit widget - Untitled feature - Esri Community

0 Kudos
YS2388
by
New Contributor III

Hi Alix,

Thanks for the information and confirming the limitation. As an aside - this limitation is present only when the Edit widget is configured for "Attribute Only" editing. When it's configured for "Geometry and attribute" editing the web form's title (dynamic or not), group names are all respected. 

AlixVezina
Esri Regular Contributor

@YS2388 Thanks for clarifying! Yes, the "Attribute Only"  case in the Experience Builder Edit widget may behave differently. In this case, are you editing a Table layer that has a smart form configured?

 

 

 

0 Kudos
YS2388
by
New Contributor III

No I am editing a map layer's table, but do not wish to display (or edit) geometry in the widget, hence the "Attribute only" configuration. 

0 Kudos
AlixVezina
Esri Regular Contributor

If you are only looking to update attributes for a feature layer that has a smart form configured and is found in a web map, the smart form should show up as expected when you edit those features.

Two things to consider:

1. Make sure to connect the Edit widget to the feature layer that is found in the web map data source. That will be important if you have created the smart form from within the web map and it has not been saved against the feature layer.

AlixVezina_0-1701366642676.png

2. If you are connecting the Edit widget directly to the layer itself, you should go to Map Viewer, and from that layer's properties, you'll want to hit Save. This will save, against the feature layer itself, any changes you've made to this layer from within the web map (such as symbology and the smart form).

AlixVezina_1-1701367000079.png

 

YS2388
by
New Contributor III

Hi Alix,

Thanks again for your help. I have followed your 2 steps and am still having issues. For the smart form, the Edit widget respects the fields configuration and any group names, however, the form's title is entirely not displayed and instead the "Display Field" appears.

Another observation - any changes made to the smart form are not visible in the Edit widget until I "save" the webmap. If only saved against the feature layer as in your Point 2, the changes are not visible. 

Thank you.

0 Kudos
AlixVezina
Esri Regular Contributor

@YS2388 ,

Please are you able to share a screenshot for " For the smart form, the Edit widget respects the fields configuration and any group names, however, the form's title is entirely not displayed and instead the "Display Field" appears." showing what you are seeing and what you'd expected to see?

0 Kudos
YS2388
by
New Contributor III

This is what I am seeing:

YS2388_0-1701457852105.png

And this is what I wish to see.

YS2388_1-1701458146002.png