Open kb attachment

kmickael
Tera Guru

hi , 

On service portal , i would like to know if it's possible to open (in a broweser or other...) directly an attachment when i clic on an knowledge article ? 

thank you for your help 

find_real_file.png

18 REPLIES 18

Rajesh Kannan G
ServiceNow Employee
ServiceNow Employee

Yes, Associated attachments can be directly displayed in browser when clicking an article link in Knowledge Service Portal (/kb).

1. Activate the plugin ServiceNow Document Viewer. This plugin may require additional licensing and it has certain limitation, refer the documentation.

2. Set the properties "sn_km_portal.glide.knowman.serviceportal.use_document_viewer", "glide.knowman.use_document_viewer" to "true".

3. Create an article with Attachment link enabled and attach a document that want to display.

find_real_file.png

Regards,

Rajesh

Hi, 

thank you for reply 

I activate the plugin on the instance
then I change the system property "glide.knowman.use_document_viewer" to true but it does not work the document does not open directly both on the instance and on the portal.

maybe i forgot something 

You have to activate Document Viewer for the tables where you want to use it.

  1. Navigate to System Definition → Dictionary.
  2. Open the table and click New under the Attributes tab.
  3. Enter Use Document Viewer in the Attribute field.
  4. Enter true in the Value field.
  5. Click Submit.

Hi Rajesh Kannan Gurusamy, 

can you help me to have the same comportement in both service portal and backend. 

because in my case it doesn't work in service portal the knowledge is not open directly when i clic on an knowledge article.

thank you