- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2018 07:19 AM
We have a 'How to" Knowledge article which has lots of hyperlinks to other articles. Is there a way that i can link to a section of an article (like in word doc and pdf). We have some pretty lengthy articles (e.g Skype) where it would help if we could link directly to the section "Set up a meeting" etc.
Does anyone know if this can be achieved in ServiceNow.
Yours hopeingly
RS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2018 07:43 AM
You should be able to refer to an anchor in HTML that points to a specific section of a document.
You will of course have to embed the anchor in the document you want to reference and then call that anchor in the KB.
This will help get you started (and you can mark up HTML in the KB's edit screen)
Another reference:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2018 07:43 AM
You should be able to refer to an anchor in HTML that points to a specific section of a document.
You will of course have to embed the anchor in the document you want to reference and then call that anchor in the KB.
This will help get you started (and you can mark up HTML in the KB's edit screen)
Another reference:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2020 08:35 PM
The HTML ID tag defines where you jump to within a page.
so create the place to jump to, by including ID within a tag
eg. <h2 id="C4">Chapter 4</h2>
then go back to the top to your contents and create the hyperlink as
<a href="#C4">Jump to Chapter 4</a>
where the #C4 is referencing the id=C4
taken from https://www.w3schools.com/html/html_id.asp

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2020 09:39 PM
NOTE: The name attribute has been deprecated in HTML5 for anchor tags, instead use the identifier tag when making the target.
Example:
- Create the target:
<section id=‘awesome-section’>
<h2 id=‘awesome-section-header’>My Super Awesome Section Header</h2>
</section>
- Where the<h2></h2>can be whatever element that you’re linking to.
- Here you could link either to the start of the section, using http://page-url.com/#awesome-section) or to the header via http://page-url.com/#awesome-section-header
- page-url.com#awesome-section is the same as page-url.com/#awesome-section
- Reference that target within the link with something like:
Please click <a href=“#awesome-section'>here</a> to go to 'My Super Awesome Section.'