Does anyone know why the copy permalink link doesn’t take me to the latest published version of a KB article?

JBrown
Tera Contributor

Apologies if this has been asked already.

Is there a solution to this problem?

Thanks in advance for looking at this.

 

 

 

1 ACCEPTED SOLUTION

Hi JBrown,

I find the solution for the "Copy Permalink" problem.

First of all explanation regarding the correct linking to the latest version of an article: https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/knowledge-management/refer...

You have to use the following format: https://yourbusiness.service-now.com/kb_view.do?sysparm_article=KB0010044

The problem is not the "Copy permalink" link, because it just takes the URL from browser. The problem is the "View article" UI Action, that generates the wrong link.

The UI Action leads you to the Script Include "KnowledgeUIActionSNC" which builds the wrong URL:

find_real_file.png

But the good news is, that you can overwrite the function viewArticle() at Script Include "KnowledgeUIAction" to build the correct URL.

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

 

View solution in original post

6 REPLIES 6

Maik Skoddow
Tera Patron
Tera Patron

Hi @JBrown ,

please have look into my "Knowledge Sources To Go". You'll find there a lot of resources increasing each month.

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

Maik Skoddow
Tera Patron
Tera Patron

Hi JBrown,

please provide more details! 

Where did you get the permalink and how does this link look like?

Kind regards
Maik

JBrown
Tera Contributor

Sorry for the lack of details. At the bottom of an article, the "Copy Permalink" feature. When I copy the permalink and insert it as a hyperlink into another KB article, that link does not direct to the latest version of the article. It directs to an older version of the KB article.

When it directs you to the KB, it gives the option to click the link to the latest version, but this is not an ideal solution. I'd like to figure out how to make the link go to the latest version.

 

Thanks

 

 

find_real_file.png

Hi JBrown,

I find the solution for the "Copy Permalink" problem.

First of all explanation regarding the correct linking to the latest version of an article: https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/knowledge-management/refer...

You have to use the following format: https://yourbusiness.service-now.com/kb_view.do?sysparm_article=KB0010044

The problem is not the "Copy permalink" link, because it just takes the URL from browser. The problem is the "View article" UI Action, that generates the wrong link.

The UI Action leads you to the Script Include "KnowledgeUIActionSNC" which builds the wrong URL:

find_real_file.png

But the good news is, that you can overwrite the function viewArticle() at Script Include "KnowledgeUIAction" to build the correct URL.

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.