Hi,
I've recently added several calculated expressions to Field Maps Designer for my agency's layer on trees and there seems to be various triggers that makes the Field Maps application on my iPhone/iPad freeze. You then have to restart the application (more details below).
This happens for both my iPhone SE and iPad mini and with different user accounts. We're using a Postgre database and an ArcGIS server 10.8.1 which controls the access to maps. In addition the layer is also password protected. Everything is stored in an AWS-environment. Doing a similar set-up with calculated expressions for a different layer stored in AGOL works fine.
I'm unsure what the underlying issue is and was wondering if anyone has experienced something similar and could point me in the right direction?
The scenarios:
We recently added a related table to our tree layer called inspections. As soon as I open the related table for the layer (inspections) the application freezes and I have too close it and reopen it. This happens every time. I've tried troubleshooting and found that if I turn off the calculated expressions that fetch attributes from the related record, the table functions like normal. In this case I want to fetch botanical name and facility name from the tree layer to the inspection table. I've used the code from example 2 (great article btw): https://www.esri.com/arcgis-blog/products/field-maps/field-mobility/common-calculated-expressions-for-arcgis-field-maps/
Scenario 2:
In our tree layer we also have the fields stem diameter and stem circumference (both have data type short integers). I've written an expression that calculates the circumference based upon the diameter. However, a bug appears when you insert a number that is 5 digits or more causing the application too freeze and you have to restart it.
Field maps:
Appversion of Field Maps: 23.1.0
Build: 984
Any help would be much appreciated!
Regards,
William