<h2>Enable Document Viewer</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="task" /><meta name="DC.title" content="Enable Document Viewer" /><meta name="abstract" content="Enable Document Viewer to view documents directly rather than download them to view them in their native applications." /><meta name="description" content="Enable Document Viewer to view documents directly rather than download them to view them in their native applications." /><meta name="DC.subject" content="attachments, Document Viewer" /><meta name="keywords" content="attachments, Document Viewer" /><meta name="DC.relation" scheme="URI" content="disable-doc-viewer.html" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2023-08-03" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="enable-document-viewer" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Enable Document Viewer</title></head><body id="enable-document-viewer"> <h1 class="title topictitle1" id="ariaid-title1">Enable <span class="ph">Document Viewer</span></h1> <div class="body taskbody"><p class="shortdesc"><span class="ph" id="shortdesc-docviewer">Enable Document Viewer to view documents directly rather than download them to view them in their native applications.</span></p> <div class="section prereq p" id="enable-document-viewer__prereq_r1g_4yh_yfb"> <p class="p">Role required: admin</p> </div> <div class="section context" id="enable-document-viewer__context_ovv_j4c_yfb"> <p class="p">Document Viewer is enabled by default. Activate it at the instance level and then enable it at the table level for the tables where you want to use it. Ensure that the system property <span class="ph uicontrol">com.snc.documentviewer.enable_document_viewer</span> is set to true or create it if it does not already exist. To de-activate Document Viewer, create the system property <span class="ph uicontrol">com.snc.documentviewer.enable_document_viewer</span> manually and set it to false.</p> </div> <ol class="ol steps" id="enable-document-viewer__steps_hgq_1lb_j3b"><li class="li step stepexpand"> <span class="ph cmd">Activate <span class="ph">Document Viewer</span> at the instance level</span> <ol type="a" class="ol substeps" id="enable-document-viewer__substeps_nm2_zfk_hlb"><li class="li substep"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">System Definition</span> > <span class="ph uicontrol">All Available Applications</span> > <span class="ph uicontrol">All</span></span>.</span> </li><li class="li substep"> <span class="ph cmd">Enter ServiceNow Document Viewer or com.snc.documentviewer in the Search field.</span> </li><li class="li substep"> <span class="ph cmd">Select <span class="ph uicontrol">Install</span>.</span> </li></ol> </li><li class="li step stepexpand"> <span class="ph cmd">Activate <span class="ph">Document Viewer</span> for the tables where you want to use it.</span> <ol type="a" class="ol substeps" id="enable-document-viewer__substeps_erz_lgk_hlb"><li class="li substep"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">System Definition</span> > <span class="ph uicontrol">Dictionary</span></span>.</span> </li><li class="li substep"> <span class="ph cmd">Search for the table, open the record with the type field <span class="ph uicontrol">Collection</span>.</span> </li><li class="li substep"> <span class="ph cmd">Enter Use Document Viewer in the <span class="ph uicontrol">Attribute</span> field.</span> </li><li class="li substep"> <span class="ph cmd">Enter true in the <span class="ph uicontrol">Value</span> field.</span> </li></ol> <div class="itemgroup stepresult">Document Viewer is enabled at the table level. Repeat this procedure for each table for which you want to enable <span class="ph">Document Viewer</span>.</div> </li></ol> </div> <div class="related-links"> <div class="linklist relinfo reltasks"><strong>Related tasks</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="disable-doc-viewer.html" title="Disable Document Viewer at the instance level to disable it or at table level to disable it for specific tables within the instance.">Disable Document Viewer</a></li></ul></div> </div> </body></html></div>