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
漏洞 ID 编号
BUG-000172007
已提交
November 5, 2024
上次修改时间
July 2, 2025
适用范围
Portal for ArcGIS
找到的版本
11.1
操作系统
N/A
操作系统版本
N/A
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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.