The Document Viewer widget allows you to display a variety of documents directly on your site. Documents may be added via file upload, live URL, or web platforms such as Dropbox, Google Drive or Google Mail.
SUPPORTED FILE TYPES
The following file types are supported in the viewer:
Adobe Portable Document Format (.PDF)
Microsoft Word (.DOC and .DOCX)
Microsoft Excel (.XLS and .XLSX)
Microsoft PowerPoint (.PPT and .PPTX)
Text files (.TXT)
Scalable Vector Graphics (.SVG)
Adobe Illustrator (.AI)
PostScript (.EPS, .PS)
Markup/Code (.CSS, .HTML, .PHP, .C, .CPP, .H, .HPP, .JS)
Tagged Image File Format (.TIFF)
Upload / Select File setting overrides the Remote File URL. This means that when a local file is selected using the loader, the Remote File option will not work until the local file is removed.
TIPS FOR USING REMOTE FILES
If files are hosted elsewhere, such as a Google Doc or Google Sheet, it can be handy to use the file URL in this case. Simply enter the direct link to the file.
As mentioned previously, the URL you use should usually end in the name of the file extension. This is generally the case when files are uploaded directly to servers. In some cases, such as Google document links or Dropbox links, the URL may not end in the file extension name.
Using Dropbox for hosted files: Dropbox is a great solution for hosting files. When linking to a Dropbox-hosted file, you should begin by creating a link in Dropbox. Ensure that the file is viewable by anyone on the web. Finally, when you paste the provided Dropbox link, it may end in "...dl=0". To view the file properly, change the "0" to "1".
No commonly asked questions
No known issues or conflicts