Modify "Embed link to Article" to redirect to ESC or SP portal used in Attach Knowledge in Incident mgt
The current "Embed link" option in ServiceNow results in having a link which does not use the Portal look & feel which is somewhat dissapointing as portals are branded, styled and optimized at most customers.
The embed functionality is configured in below "Search Action configuration (cxs_ui_action_config)", notice the "Attachement type" attribute:
The link however is defined in the script include "cxs_Knowledge" which is unfortunately protected.However there is a way to override this by creating a custom "cxs_Knowledge" script include. Below see the one I have created, which works perfect. The queryParameter is amended.
Recommended; Make a note in the Description field with a clear explanation.
The result link is now a truly portal link:
https://xxxxx.service-now.com/**esc?id=kb\_article&table=kb\_knowledge**&sys\_kb\_id=xxxx
Out of the box a classic link is generated, which is somehing like:
https://xxxxx.service-now.com/**kb\_view.do**?sys\_kb\_id=xxxx
Please mark Helpful when you believe it is worthfull!
regards, Peter
Attach #Knowledge #ContextualSearch #cxs_Knowledge #cxs_ui_action_config
https://www.servicenow.com/community/itsm-articles/modify-quot-embed-link-to-article-quot-to-redirect-to-esc-or-sp/ta-p/2306346