Embed (Visio Diagram) that is Converted to PDF in Knowledge Article

Myrtle_37
Kilo Expert

I'm trying to add a PDF of a Visio diagram into a Knowledge Base Article to where you can zoom in and out on the detail. I was able to add it, but when saving the Knowledge article to preview, The preview is blank, and part of the code is missing. Has anyone done anything like this before. If so, will you please let me know.  I have both 'Attachment Link' (even though it doesn't show in the picture) and Display Attachment checked. Thank you.

1 ACCEPTED SOLUTION

Myrtle_37
Kilo Expert

This question has been resolved. 

I went to the Script Include -  HTMLSanitizerConfig and added>>["style", "align", "height", "width", "src"] under attribute:

(See Screenshot) 

I then added the source (screenshot in 1st msg.) for the PDF in my Knowledge Article and was able to save and preview the PDF in the 'Preview Article'.

 

Reference:

https://www.servicenow.com/community/knowledge-managers/some-iframe-urls-are-removed-upon-save-of-kb...

 

https://docs.servicenow.com/bundle/utah-platform-security/page/administer/security/task/t_ConfigureH...

 

Thanks, please let me know if this was helpful

Best Regards,

Myrtle

 

View solution in original post

1 REPLY 1

Myrtle_37
Kilo Expert

This question has been resolved. 

I went to the Script Include -  HTMLSanitizerConfig and added>>["style", "align", "height", "width", "src"] under attribute:

(See Screenshot) 

I then added the source (screenshot in 1st msg.) for the PDF in my Knowledge Article and was able to save and preview the PDF in the 'Preview Article'.

 

Reference:

https://www.servicenow.com/community/knowledge-managers/some-iframe-urls-are-removed-upon-save-of-kb...

 

https://docs.servicenow.com/bundle/utah-platform-security/page/administer/security/task/t_ConfigureH...

 

Thanks, please let me know if this was helpful

Best Regards,

Myrtle