Select to view content in your preferred language

Forms in Web Maps Translate to Field Maps (Updated)

131
0
05-09-2025 06:14 AM
Status: Open
Nick_Creedon
Frequent Contributor

I had a post about adding "Forms" to the Hosted Feature Layer in the data tab so the Form works more like an attribute rule. Anyways, I started setting up Forms for layers in our Web Maps but and they work great, but I have to now set up the same forms in Field Maps for every layer. This seems a little redundant. If they could be enabled to also work in Field  Maps as they are programmed in Web Maps that would be awesome. Or if we could have a toggle button to enable the form on Field Maps too.

Update: Ignore Idea, Forms do Translate from WebMaps to Field Maps, it took a while for it to update in Field Maps.

This arcade expression sets unique ID's in sequential order apply the next highes number.

var fs = $layer;
var idField = "ID";
var max_id = Max(fs, idField);
if (IsEmpty(max_id)) {
    return 1;
} else {
    return max_id + 1;
}