Select to view content in your preferred language

How do I split a name and address into two lines in ArcGIS Online labels?

635
1
04-13-2017 03:09 PM
FrancisHourigan1
Occasional Contributor

[USER_Name]+'\n'+ " " +[USER_Address] This would be the python script but i'm not sure how to do this using Arcade?

0 Kudos
1 Reply
XanderBakker
Esri Esteemed Contributor

Currently multi line labels are not supported in the web map of ArcGIS Online. Later this year there will be a redesign of the web map to include this capability. After that update you will be able to use:

$feature.USER_Name + TextFormatting.NewLine + $feature.USER_Address‍;

//or

return $feature.USER_Name + TextFormatting.NewLine + $feature.USER_Address‍;
0 Kudos