Arcade Expression results Web AppBuilder Attribute Table Don't Export

1139
3
03-05-2020 07:00 AM
KyleWikstrom
Occasional Contributor II

Greetings all,

I have configured two Arcade expressions on a point layer in an ArcGIS Online web map to display each the X-coordinate and the Y-coordinate. The values display correctly in the web map popup, and in Web AppBuilder's Attribute Table widget.

However, we cannot use the Export to CSV tool in the Attribute Table widget now. The result is that the 'Export to CSV' window opens, we click OK, and the window spins endlessly. When we remove the Arcade expression from the web map, then the Export to CSV capability in the AT widget works.

Thoughts? Ideas? Considerations?

return Round(Geometry($feature).x, 6);
0 Kudos
3 Replies
PhilLarkin1
Occasional Contributor III

I'm seeing a bug where a field with an Arcade Expression in a web map will blow up Attribute Table Widget. This is in version 2.12 - 2.16. Currently working through this with premium support. 

TypeError: Cannot read property 'geodesicBuffer' of null

0 Kudos
KyleWikstrom
Occasional Contributor II

Hey Phil,

Working internally and with Esri Support we have identified some of the Arcade Expressions we desired are simply very expensive to run in the Attribute Table widget for the large number of features we were working with. Makes sense now and we've designed other methods of getting attribute data from one feature to another by modifying workflows to include Collector and Survey123.

0 Kudos
PhilLarkin1
Occasional Contributor III

Hello

We found most geometric functions broke the Attribute Table widget. This seemed to be unrelated to the size of the dataset and only applied to layers inside a group in the Web Map. A workaround that might apply to your setup is to add a layer at the layer level and set an expression on the layer. In WAB turn off the layer in the Layer List widget, if applicable. This seems to properly trigger the load of the Arcade module.

This is the bug that was created. It doesn't appear to be public yet. BUG-000131959

Bug is now public: BUG-000131959: The Attribute Table widget fails to load the feature.. 

0 Kudos