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
GitHub
See in Action
Showcase App
The Document Generation Showcase demonstrates the capabilities of the Common Document Generation Service API (CDOGS).
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
Alpine Node LibreOffice
This Docker image 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
Common Document Generation Service
This image provides a fast way to set up a document generation API with a range of features like template caching, support for a wide range of file formats and file type conversions (including PDF).

https://hub.docker.com/r/bcgovimages/common-document-generation-service
[Deprecated] Document Generation API
[Deprecated] This image provides a fast way to set up a document generation API with a range of features like template caching, support for a wide range of file formats and file type conversions (including PDF). Succeeded by Common Document Generation Service.

https://hub.docker.com/r/bcgovimages/doc-gen-api