Hi,
I am creating an app in field maps for the first time for environmental monitoring. There is a monitoring site featureclass and then a related monitoring inspection table which field workers will be collecting monitoring sites and then repeated monitoring inspections at each site in the field. The featureclass and table are related using the GlobalIDs and GUID in ArcGIS Pro and then published to ArcGIS online and have started creating the forms for the fieldmaps app.
I have a SiteCode field set up in the monitoring site featureclass to give each monitoring site a more easily identifable ID for them to refer to. I don't know the workflow to make it easy for my field workers to populate the SiteCode field with an incremental number (or even better, say a 3 letter code for the site location and then an incremental number). So 10 monitoring sites in a park called Trafalgar would have codes such as TRA001, TRA002, TRA003 etc. Where there are 100 sites, it will be too tricky for field workers to work out the next in line so want to automate populating this somehow. I have seen mentions of attribute rules. Would this be the direction to go and would this work in Field Maps? Or can it be calculated with Arcade in fieldmaps? Or calculate from OBJECTID but probably less preferable. Having fieldmaps auto predict text could also probably help. My workers will be offline at times so ideally a solution that would work offline but else something that updates when it syncs could also do the trick.