I am trying to find a way to make labels with line breaks in my web mapping. As of right now, everything I read on the GeoNet as well as GitHub says that the NewLine function is still not supported by ESRI and is not available in map view.
However, I keep coming across this ArcGIS for developers article about using the concatenate function with NewLine:
https://developers.arcgis.com/javascript/latest/sample-code/labels-multiline/index.html
Is the script featured in the article above a way that I can create multi-line labels in AGOL? Does anyone have an update on this, or have you tried using Concatenate/NewLine without first defining a variable, etc.?
Thanks!