laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000172007
EnvoiNovember 5, 2024
Dernière modificationJuly 2, 2025
S’applique àPortal for ArcGIS
Version trouvée11.1
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutKnown Limit

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000172007

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement