I'm trying to add a hyperlink to a file on an internal server, i.e. file://///servername/filename, in a KB Article. Each time I do, the hyperlink is removed. Is there a way to do this?

tjschow61
Kilo Contributor

I have a document I need to add to our knowledge base and it has links to UNC file paths in it.   I need to be able to preserve these links inside the KB article.   Everything I have tried has failed.   just copying the link takes me to a web page and a not found error.   Using the HTML, <a href="file://///servername/path/filename">, does not work, the link is stripped out every time I save.   Is there a way to get this to work or do I need to find a way to work around this?

1 ACCEPTED SOLUTION

darius_koohmare
ServiceNow Employee
ServiceNow Employee

By the way, regarding the link getting stripped this is probably due to the HTML Sanitizer affecting the field.


You can disable or edit the HTML Sanitizer to white list doing a link embed.


HTML sanitizer


View solution in original post

3 REPLIES 3

Bryan Tay3
Mega Guru

hi Timothy,



What I did was to create a shortcut file (*.lnk) that point to the actual UNC file and attach it to the knowledge article as an attachment.



Hope this helps.


darius_koohmare
ServiceNow Employee
ServiceNow Employee

By the way, regarding the link getting stripped this is probably due to the HTML Sanitizer affecting the field.


You can disable or edit the HTML Sanitizer to white list doing a link embed.


HTML sanitizer


It was the HTML Sanitizer.