How to insert Knowledge Article link in Catalog item

anchal
Kilo Contributor

Hi All,

I have to add Knowledge Article link under Catalog Item. 

Please suggest, how can i achieve.

Thanks in advance!

Regards

Anchal

1 ACCEPTED SOLUTION

Glad it worked.

if i answered you , kindly mark the answer correct and close this thread..

View solution in original post

10 REPLIES 10

Harsh Vardhan
Giga Patron

quick question

how are you getting knowledge article?if i see the above convesation you have hard corded the link?

you only want to update that one article to the requested RITM.

anchal
Kilo Contributor

Hi Harshvardhan,

My requirement is  that for particular knowledge article should get attached for particular item.

Example: If i have 4 catalog item like Application, desktop, software, hardware. And for every item knowledge article has created. So, i want when i create request for "application" then particular knowledge article for that item should get attached.

Please suggest.

 

Regards

Anchal

 

if i check your above script

you have mentioned

if(g_form.getValue('cat_item') == 'Apple iPad 3') {

this condition will not going to fulfill because g_form.getValue('cat_item') will always give you the sysid of the item and you are comparing with name . instead of passing the name kindly compare with the "Apple iPad 3" catalog item sys_id.

anchal
Kilo Contributor

Hi Harshvardhan,

 

Thanks for your quick response!

I got my solution. I used sys_ID of catalog item instead of name.

Regards

Anchal

Glad it worked.

if i answered you , kindly mark the answer correct and close this thread..