laptop and a wrench

漏洞

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

附加信息

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.

重现步骤

漏洞 ID: BUG-000172007

软件:

  • Portal for ArcGIS

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项