Frequently asked question
No, the abbreviation dictionary is not available in ArcGIS Online. Therefore, any abbreviation dictionary applied to feature labels in ArcGIS Pro is not available in ArcGIS Online when the data is published as a hosted feature layer.
The abbreviation dictionary is applied to improve map readability, as it prevents the overcrowding of spaces on the map. In ArcGIS Pro, the abbreviation dictionary allows the Maplex Label Engine to shorten long labels to fit small spaces. When an abbreviation dictionary is enabled in ArcGIS Pro, the Maplex Label Engine first attempts to place the full text of the label. If the attempt is not successful, it abbreviates the unplaced label text with any words found in the abbreviation dictionary.
To replicate the abbreviation dictionary behavior in ArcGIS Online, customize shortened labels for the long labels in ArcGIS Online Map Viewer. Follow the steps below to create custom labels in Map Viewer by using an Arcade expression.
var schoolType = $feature["<insert field name>"] When(schoolType == '<long label 1>', "<shortened label 1>", schoolType == '<long label 2>', "<shortened label 2>", null)
The image below shows the customized labels; PR for private and PB for public school types are displayed accordingly on the map.
Get help from ArcGIS experts
Download the Esri Support App