Select to view content in your preferred language

Experience Builder Table doesn't seem to respect web map arcade expressions

739
5
Jump to solution
11-15-2024 02:27 PM
vl-driscolls
Emerging Contributor

Hello, I have an Experience Builder in ArcGIS Online. I have both the edit widget and the table widget in my app, they are pulling from the same web map. For one of the polygon layers I have arcade expressions set in the web map to calculate acres and hectares. In the edit widget, these attributes are greyed out and can't be edited:

edit2.PNG

However when I open the table:

table2.png

It is allowing the user to edit both attributes. Is this the expected behavior? I am wondering if I am doing anything wrong.


0 Kudos
1 Solution

Accepted Solutions
AlixVezina
Esri Regular Contributor

A few points that may help answer your questions:

  • Arcade calculated expressions need to be configured in Forms to calculate attributes automatically when editing in the Edit widget. When a calculated expression is set for a field in the Form, that field becomes read-only (grayed out).
  • Calculated expression and editability settings configured in Forms do not work in the Table widget, they only work for the Edit widget.

View solution in original post

5 Replies
NicoleJohnson
Frequent Contributor

Have you tried turning off editing for those fields in the table widget?

vl-driscolls
Emerging Contributor

If I disable editing for the fields where there are calculated expressions, they don't seem to re-update. Still, it is better than letting them edit

0 Kudos
AlixVezina
Esri Regular Contributor

A few points that may help answer your questions:

  • Arcade calculated expressions need to be configured in Forms to calculate attributes automatically when editing in the Edit widget. When a calculated expression is set for a field in the Form, that field becomes read-only (grayed out).
  • Calculated expression and editability settings configured in Forms do not work in the Table widget, they only work for the Edit widget.
vl-driscolls
Emerging Contributor

Are there plans to have calculated expressions and Forms settings work in Table widget eventually?

0 Kudos
AlixVezina
Esri Regular Contributor

@vl-driscolls I don't believe so. The Table widget functionality in Experience Builder is actually based on the FeatureTable from the ArcGIS Maps SDK for JavaScript.

If this is an enhancement you require, please feel free to log a new idea in ArcGIS JavaScript Maps SDK Ideas - Esri Community