Hi @Anonymous User ,
Thanks for the link on the blog post. I had not seen that one. Earlier this year in configuring the Field Maps form I remember other Field Map posts about recommending to use the Map Viewer Beta at that time, so I had went that route.
I'm finally getting back to this and have several arcade expressions in the popups. I am now also seeing a new issue that I'm hoping you can help resolve. In my original query, the FeatureSets were using 'FeatureSetByRelationshipName' and accessing related table data within the map/pop-up. This works fine in both the Classic/New Map Viewer web maps. I believe this is also working in Field Maps app, but the formatting of the pop-up does not look like what it does in the web map including a Classic saved web map. The blog article states the Classic web map and Field Maps app pop-up should look the same (I'm not seeing this for the FeatureSets.
The new issue is I am pulling data from a database with the edited 2021 survey data and hosted as a table on AGOL. For these arcade expressions I am using FeatureSetByName to access the tables for the same features instead of a related table in the original raw data. These expressions are working fine in the web map. However when I create an offline map area, they are now showing the same results as the web map, they are not finding the table data and printing the else statement in the expression "no 2021 surveys found". Interesting enough the original expressions with the related tables are working offline.
I was so excited to get these expressions working in the web map and was viewing in the Field Maps app and annoyed at the loss of formatting, but even worse is now these expressions do not work offline with the hosted table data even though I have it set for syncing. The surveyors all work offline so this is a big bummer in not being to view the reference data.
I have created a group in org, named 'CF-Field Maps Salmon Survey Testing' and invited the arcgisfieldmaps user to the group. In the group you can see the web map and pop-ups. This map was saved to Classic from the New Map Viewer so I do see notices in opening on that. If you could please try and opening the web map viewing the pop-up for the stream points. Then view the map in Field Maps, here you will see all the expressions in the pop-up working, despite the formatting being much different than the web map. Then please create an offline area in which you will only see the expression under 'Raw Data' populate all the rest will say no data in 2021 found. Why would hosted tables enabled with sync not be working offline in the Field Maps app? Is this a known issue?
Thanks again!
Kathy