Add KB Article link in notification

Priya75
Tera Contributor

Hi All,

I want to fetch the Kb article number from incident ,So there is a filed on incident form as  u_knowledge which saves trhe kb article number. i want to give the link of that particular KB article in portal view from the notification.

10 REPLIES 10

it worked now. i have removed 'table=kb_knowledge' form the below script.

 

 var url = '/sp?id=kb_article&sys_id=' + kbRecord.sys_id + 'table=kb_knowledge';
    template.print('<a href="' + url + '">' + kbRecord.number + '</a>');