laptop and a wrench

Error

Unable to link one ArcGIS Enterprise site to a section of another site using an HTML anchor tag and configured ID on a section.

Portal for ArcGIS
Número de ID del error BUG-000172007
EnviadoNovember 5, 2024
Última modificaciónJuly 2, 2025
Relacionado conPortal for ArcGIS
Versión encontrada11.1
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoKnown Limit

Información adicional

The root cause of the issue lies in how ArcGIS Enterprise Sites uses single-page application (SPA) routing, which interferes with standard HTML anchor behavior. In SPAs like ArcGIS Sites, the # symbol in the URL is not treated as a traditional anchor but is instead used for client-side navigation (routing between virtual pages). When you create a link such as: https://your-domain.com/portal/apps/sites/#/site2/#explore-topic The browser treats everything after the first # as part of the SPA route, meaning the #explore-topic portion is never interpreted by the browser as an instruction to scroll to an element with that ID. Instead, the ArcGIS app receives /site2/#explore-topic as a single routing string, and since ArcGIS Sites does not parse or act on that second fragment, no scrolling occurs. To illustrate: in standard HTML, a link like https://example.com/page#section1 would scroll to
. But in ArcGIS Sites, a link like #/site2/#section1 just routes to the site, and the browser ignores the #section1 part—because it’s already using the first # for app-level routing. This makes direct anchor links across different sites or pages within the ArcGIS Sites environment ineffective without custom scripting or alternate workarounds.

Pasos para reproducir

ID del error: BUG-000172007

Software:

  • Portal for ArcGIS

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga