Improve performance of Arcade calculations when ONLINE

212
0
03-20-2024 06:02 PM
Status: Open
LindsayRaabe_FPCWA
Occasional Contributor III

IDEA: When using an online map, cache the calculations when the map is loaded so that they don't need to access web-resources to return and evaluate the expression each time a feature is created/edited. 

USE CASE: When using Arcade expressions in Field Maps to calculate fields, we have noticed behavior that seems really illogical (if maybe intentional). Currently, when you create or edit a feature that contains fields with arcade calculations, there is a delay whilst the calculations (I believe) access web-resources to return the expression then perform the calculation. This also seems to happen when in an offline map (unless in Flight Mode - see other idea here: Improve performance of Arcade calculations when OF... - Esri Community). 

This has become a bit of an issue in the field. Staff working in online mode in good to marginal service areas have found that the arcade calcs not only take a long time to happen, but it also has a huge impact on device battery life, draining it a lot faster than it should. If the expressions were all cahced locally when the map was initially opened, then instead of having to access the web to load each and every calculation, it would occur instantly, improving form loading times, increasing staff efficiencies and consuming less battery power.