I'm using the new labeling functionality in ArcGIS Online. My question is how do I add a line break to the label if I want to use more than one field?


This is not possible in the current release of ArcGIS Online. You can add multiple fields to the label, but they will be drawn right to each other. You can of course add custom text by typing it into the text field, for instance.:

| improve this answer | |

I know I'm about 4 years late to the party, but this is the best workaround. Use the Concatenate to string features together and TextFormatting.Newline to create a break function. Here is some example code:

Concatenate('Population: ',$feature.POPULATION, 
TextFormatting.Newline, 'Demographic ', $feature.DEMOGRAPHIC)
| improve this answer | |
  • I still dont think Newline is supported in the current Map Viewer. I don't think you can fix that with syntax – Rex Jun 19 '19 at 21:17

You may check the below link as a reference. I didn't test the sample code yet, but i think it will help you as needed


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.