Hi,
I am trying to label a layer with a custom text instead of values from a field. I found below documentation online:
"You can use a custom attribute expression written in Arcade instead of an attribute field. Click Use expression and use the editor window to create the expression."
(from https://doc.arcgis.com/en/arcgis-online/create-maps/configure-labels-mv.htm)
I do not see use expression option as shown in below screenshot.
Is it because customizing label in map image service layer is not supported?
Is this button present ?
No it does not exist. It seems that this customizing option only exists for feature service, not for image service even with Data and Query enabled when publishing.
Can you share the map and layer?
I am trying to label this "PassaicCo_GIS.GISOWNER.PC_Municipality_Boundary_Line" layer with a custom string. I am aware that I can add the string as field to the data table, but I am still wondering if an Arcade expression can be set up in Map Viewer.
I took a look at this again today and found that the customize button does appear now for label in map image service. Thanks,
I've come across this exact same issue, and I'm working in Enterprise v10.9.1: within the 'New' Map Viewer, the button for building custom arcade labeling expressions only appears for Feature Services. It's simply not there when you try to do the same for Map Image Services. The documentation "Configure labels (Map Viewer)" fails to mention this distinction. Yet, it is possible to create custom label for either service type within 'Classic Map Viewer'.
The Helpdesk was able to confirm the same behavior, and is hopefully going to check with the development team to see if this was in the plans for future versions of Enterprise. I'm not sure if it has been addressed as off v11.0/11.1.
This will be coming to the ArcGIS Online Release around june-july. Enterprise will pick this up for 11.2.
Thanks!
Russ
Thank you for the update.