Extension Office Docs Viewer


Extension Basics

Title
Office Docs Viewer
Name
ckanext-officedocs
Type
Public extension
Description
Resource view plugin that uses Microsoft's document preview service for rendering Office and OpenOffice documents in the browser
CKAN versions

~2.9, ~2.10, ~2.11

Show details
Download-Url (zip)
Download-Url commit date
2025-10-10
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

This plugin provides a ResourceView that uses Microsoft’s online document preview service for previewing both Microsoft Office and OpenOffice documents directly in the browser. Supports various document formats including DOC, DOCX, XLS, XLSX, PPT, PPTX, PPS, ODT, ODS, and ODP. Important: For this extension to work, the documents to be previewed must be accessible to the wider internet, and will only work if you use a hostname, not just an IP address.

Version
0.0.1
Version release date
2025-10-10
Contact name
Ross Jones
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Supported Formats: - Microsoft Office: DOC, DOCX, XLS, XLSX, PPT, PPTX, PPS - OpenOffice: ODT, ODS, ODP

Installation: 1. Clone repository into CKAN extensions directory (default: /usr/lib/ckan/default/src/) 2. Activate CKAN virtual environment: . /usr/lib/ckan/default/bin/activate 3. Install the extension: cd ckanext-officedocs python setup.py install 4. Add ‘officedocs_view’ to ckan.plugins in your config file 5. Restart CKAN: sudo service apache2 reload

Important Requirements: - Documents must be accessible to the wider internet (publicly accessible URLs) - Must use a hostname, NOT just an IP address - Uses Microsoft’s external document preview service

FAQ: Q: It doesn’t work, my documents aren’t previewing A: For this extension to work, the documents to be previewed must be accessible to the wider internet, and will only work if you use a hostname, and not just an IP address.

Python Support: - Python 2.6 - Python 2.7

Development Status: Beta

Keywords: CKAN, officedocs, preview

Note: This extension relies on Microsoft’s cloud-based document preview service, so documents must be publicly accessible for the service to retrieve and render them.

Plugins to configure (ckan.ini)
# officedocs_view=ckanext.officedocs.plugin:OfficeDocsPlugin
CKAN Settings (ckan.ini)
(not set)
DB migration to be executed
(not set)
<< back to Extensions