| Número de ID del error |
BUG-000161285 |
| Enviado | September 8, 2023 |
| Última modificación | September 29, 2025 |
| Relacionado con | Portal for ArcGIS |
| Versión encontrada | 11.1 |
| Sistema operativo | Windows Server |
| Versión de sistema operativo | 2019 64 Bit |
| Estado | Known Limit
Después de la revisión por parte del equipo de desarrollo, se ha determinado que este problema está relacionado con una limitación conocida del software que está fuera del control de Esri. La sección Información adicional del problema puede contener más explicaciones.
|
Información adicional
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'.
Solución alternativa
- 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.
Pasos para reproducir