Loading...
Loading...
When a page is configured to have anchor links and these links are clicked it will jump to the appropriate html-link page section(s). However, in service portal this only works when the link is clicked 1st time. If the page is scrolled and the link is clicked again it does not jump back to that section. Steps to Reproduce 1) Create a new kb_knowledge record with the following source code in 'text' field: <p id="first_line"><span style="font-size: 18pt;">First line</span></p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-size: 14pt;"><a href="#first_line" rel="nofollow">Click me to jump to first line</a></span></p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-size: 18pt;">Scroll to here and click "Click me to..." again</span></p> 2) Make sure to publish this KB after so that it can be viewed in the portal 3) On platform view, view this KB record. -->On this page scroll down a bit and click on "Click me to jump to first line". See that the page jumps to the "First line" section -->Scroll down to the bottom and click on "Click me to jump to first line" again. See that the page jumps to the "First line" section again as expected. 4) Now view this KB article in service portal -->On this page scroll down a bit and click on "Click me to jump to first line". See that the page jumps to the "First line" section -->Scroll down to the bottom and click on "Click me to jump to first line" again. See that nothing happens and the page does not jump back to the "First line" section.
Download the attached file "PRB1322740 workaround [Updated] - works with id only.pptx" and follow the instructions to workaround this issue.
PRB1322740
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.