Onboarding Options

We provide API Access, Docker Images, and NPM Packages for the Common Document Generation Service.

components API Access through the API Services Portal
Common Document Generation Service (CDOGS)
API Capability

The API can generate any PDF or XML-based documents such as docx, xlsx, pptx, odt, ods, odp, and html. Examples of XML-based editors include Microsoft Office™, LibreOffice™ or OpenOffice™.

  • Merge complex datasets into document templates
  • Supports any XML-based document templates including but not limited to Microsoft Office™, LibreOffice™ or OpenOffice™
  • Rich templating library support leveraging the Carbone JS library
API Review
Documentation
GitHub
See in Action
Showcase App
The Document Generation Showcase demonstrates the capabilities of the Common Document Generation Service API (CDOGS). You will also find example templates you can download to get you started within this demo app.
Docker DockerHub @bcgovimage

Finding and sharing container images (software components you can deploy and host) with your team and the Docker community

Common Document Generation Service Images
Common Document Generation Service
This image provides a fast way to set up a container (Alpine Linux, NodeJS, the LibreOffice library).

https://hub.docker.com/r/bcgovimages/common-document-generation-service
Alpine Node LibreOffice
The main CDOGS image (above) is built on this dependency image that contains the open source LibreOffice application running on Alpine Node. Alpine Node is a minimal Node.js built on Alpine Linux.

https://hub.docker.com/r/bcgovimages/alpine-node-libreoffice