Post Utah, links to anchors work differently
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:19 AM
One of my authors has created dozens of articles with content lists and mistakenly used target="_top" instead of leaving the 'open link in' field as none (implicit). This was so that the hyperlink would open at the top of the article section concerned. It seems that after the Utah upgrade, this is now doing what it is supposed to and opening the link in the top frame - rendering the contents list useless as every time it simply reloads the home-page of the portal.
Question: has anyone else encountered this?
Question: is it possible to do a 'find and replace' over ALL articles?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 10:06 AM
Yes. We are experiencing this issue as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 01:41 PM
I'm having a similar issue I just posted about, where a type link gets the html target="blank" (causing the article to open in a new window) but a pasted link does not inherit this attribute, causing the article not to load in the frame.
We'd love to be able to search for the html attribute to determine which of our articles are broken. It would be even better if we could add the appropriate target="blank" attribute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 11:55 PM
Hi Leri,
Can confirm that the behaviour around anchor links has also changed post Utah upgrade in our instance.
You could take a look at the following two community solutions around using a script to bulk update knowledge articles, they might be helpful.
https://www.servicenow.com/community/itsm-forum/mass-edit-knowledge-base-files/m-p/434011
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 06:15 AM
Thanks Eoghan,
Do you know if the recommended script (the first) has the ability to look at the underlying html? For example, searching the Article Body using a simple list search will present me all the articles that contain "Link to reach the ServiceNow Community: https://servicenow.com/community" but will not find a match if I type "Link to reach the ServiceNow Community."
Thanks again for your feedback.
-Adam