laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000172007
EingereichtNovember 5, 2024
Zuletzt geändertJuly 2, 2025
Gilt fürPortal for ArcGIS
Gefunden in Version11.1
BetriebssystemN/A
BetriebssystemversionN/A
StatusKnown Limit

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000172007

Software:

  • Portal for ArcGIS

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln