Do you use dynamic links from one knowledge article to another?

Mike Van Vooren
Kilo Guru

Have you configured your knowledge articles to link to other knowledge articles in a dynamic way?  As you know, there are different link structures depending on where you are in the system.  For example, the Permalink for viewing on the Service Portal is different than viewing it from the Platform UI or Knowledge Portal, for example.  So if I am viewing an article on the Service Portal and click on a link to another article which was hard-coded to the Platform UI, I will be taken there instead of staying in a Service Portal view.  

We have tried to set up links to other articles dynamically so the system is able to keep you in the same view as where the original article is being viewed.  Our developer's initial solution works great everywhere except Agent Workspace.  Since we have a large group of users using Agent Workspace, we had to put a pause on moving the code to Production until we can figure out. 

I wanted to ask if anyone else created a solution for this issue that works well for them?  Thank you!

6 REPLIES 6

Mohith Devatte
Tera Sage
Tera Sage

hello @Michael Van Vooren ,

The URL for the agent workspace is different so you need to construct your link like below

"<a href='/now/workspace/agent/record/kb_knowledge/'"+your_Article_sys_id+"/params/mode/view"

this is the URL you get when knowledge article is opened in agent workspace.you can see in the below screenshot and observe the URL

find_real_file.png

PLEASE MARK MY ANSWER CORRECT IF IT HELPS YOU

@Michael Van Vooren any follow up required ?

if it helped you please mark the answer correct and close the thread so that it helps for other readers 

@Mohith Devatte - Thank you for sharing this information.  I have passed it along to our developer to see if this is what he was looking for.  I'll share the feedback once I hear back.

@Michael Van Vooren sure let me know if its not working