Change URL for knowledge articles on portal

alexm3
Kilo Expert

Hello,

I would like to know how to change the url of the knowledge articles on the service portal, currently the links look like this:

https://instance.service-now.com/sp?id=kb_article&sys_id=1b9d69bddbb13300b0716f77489619f3 

And I would like to change it to look something like this:

https://<instance>.service-now.com/kb_view.do?sysparm_article=KB0000000

Is this possible? And if yes, how? 

Thank you,

Alex

9 REPLIES 9

Hi Vignesh,

 

I want the url to be changed from ?id=kb_article_view&sys_kb_id=9b4b9fcc3bff2a5072b466a985e45a87&kb_category=25546ec199200e102e00bdb8c253af6f     

 

to  ?id=kb_article_view&sysparm_article=KI123252

 

Thanks,

Harsha

michal29
Mega Guru

Hello,

If anyone still need a solution in NewYork for the change of Knowledge article on Service Portal,

Where the permalinks were :

https://instance.service-now.com/hrportal?id=kb_article&number=KBXXXXXX

And that stopped working, but another one :

https://instance.service-now.com/hrportal?id=kb_article&sys_id=01994444444340919e7aaaaaa55555

is working.

 

The fix is to do a little change in the widget responsible for displaying articles: Knowledge Article Content

In the line of populateParameters you need to change the line:

data.params.sysparm_article = $sp.getParameter('sysparm_article') -> into ->

data.params.sysparm_article = $sp.getParameter('sysparm_article') || $sp.getParameter('number');

 

Regards,

Thank you Michal this resolved my problem!

Hi Michal 29 , 

We have a requirement related to Knowledge Base (KB) records. In KB record has an Article Type choice field with three values:

  1. End User KB
  2. General (End User & Tech Team)
  3. Technical KB

For KB records with Article Type set to End User KB or General (End User & Tech Team) and State = Published, these articles should be visible in the Self-Service Portal search view.

However, KB records with Article Type = Technical KB are not visible in the Self-Service Portal search view. Please provide a solution to resolve and fix this issue.

Below, I have added a screenshot of the Self-Service Portal and marked in yellow the area where the search option is located, Please provide solution how to resolve this issue and solutionSelf service Search portal .pngKb Record  Article type .png

Hi Michal 29 

We have a requirement related to Knowledge Base (KB) records. In KB record has an Article Type choice field with three values:

  1. End User KB
  2. General (End User & Tech Team)
  3. Technical KB

For KB records with Article Type set to End User KB or General (End User & Tech Team) and State = Published, these articles should be visible in the Self-Service Portal search view.

However, KB records with Article Type = Technical KB are not visible in the Self-Service Portal search view. Please provide a solution to resolve and fix this issue.

Below, I have added a screenshot of the Self-Service Portal and marked in yellow the area where the search option is located, Please provide solution how to resolve this issue and solutionKb Record  Article type .png