Thanks but a little confused. Just got this for ESRI Help.
Esri Customer Care
3:39 PM (41 minutes ago)
Thank you for contacting Esri Support Services. This is Kalle, writing in reference to the case #. I have taken ownership of this issue and will be working with you to reach a resolution. I understand you're unable to stack your labels in ArcGIS Online but they are appearing correctly in the Arcade expression environment.
I've done some research into this and I've found an enhancement that we have logged in relation to this issue. Unfortunately, stacked labels are currently not a supported functionality in ArcGIS Online. While they display correctly in the Arcade expression box the display of the hosted feature layers and maps do not support this type of display. The enhancement is currently under consideration so there is a chance it will be implemented in a future release of ArcGIS Online.
I've gone ahead and attached the enhancement to this case so you're able to follow it's progress in your MyEsri account. Please let me know if you have any follow up questions!
Esri Support Services
Ah, that could be, i.e., supported in Arcade but not in AGOL. I answered the question in a general response, which I still think is valid in terms of using TextFormatting.NewLine, but I did not test for AGOL.
UPDATE: I just tested using the new AGOL map viewer, and stacked labels work using TextFormatting.NewLine.
I updated my previous comment, I got stacked labels to work in new AGOL map viewer.
mulit line labels are only supported in 4.x JSAPI applications. This includes Map Viewer Beta(author and view them), Experience Builder, Dashboard beta and 4.x template web applications.
I just tried this and labeling out of the New formerly 'beta' now just "Map Viewer" does NOT work. Topic needs clarification. Can anyone provide more details? Do I need to create the app from the Map viewer (The new normal one NOT the Classic viewer), or can I add it to the App I already created ?What EXACTLY does the usage or syntax look like in the AGOL configuration pop-up interface thing(y)?
Need specific formatting ?has to be a string or ?has to be a number or???
Here is what I tried that doesnt work today.
Dont close out the topic its not solved.