Bug ID Number |
BUG-000161285 |
Submitted | September 8, 2023 |
Last Modified | September 29, 2025 |
Applies to | Portal for ArcGIS |
Version found | 11.1 |
Operating System | Windows Server |
Operating System Version | 2019 64 Bit |
Status | Known Limit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
|
Additional Information
This is a known limitation in ArcGIS Enterprise and ArcGIS Online when using ArcGIS Maps SDK for JavaScript 3.x and Map Viewer Classic. Refer to this documentation, https://developers.arcgis.com/arcade/function-reference/constants/#textformattingnewline where it states, 'Multi-line labels are NOT supported in the ArcGIS API 3.x for JavaScript nor in the ArcGIS Online map viewer'.
Workaround
- Remove this function so the label is on one line only.
- Keep new line function and change the label styles placement to center along since above and below placement do not work.
Utilize Map Viewer. Map Viewer use ArcGIS Maps SDK for JavaScript. 4.x, the latest version.
Steps to Reproduce