Introducing Report Templates
Ghostwriter builds Word and PowerPoint reports using templates. The project includes two basic templates: template.docxs and template.pptx.Report Template Library
The template library is where you manage all of your templates. The library lives under/reporting/templates/
.
Uploading Templates
Upload a template by selecting Reports from the sidebar and then clicking Add New Report Template. The template form has a few options for controlling how the template is used and who can edit it.
- Description – Use to describe a template or note how it should be used
- Client – If a client is selected, the template will only be available when generating a report for a project linked to the selected client
- Protected – If checked, only administrators will be able to edit the template
- Change Log – Use it to keep track of changes (pre-filled with the current date and an initial message when a template is first uploaded)
How Ghostwriter Uses Templates
When you generate a Word or PowerPoint document, Ghostwriter will follow this workflow:- Fetch your selected template OR the default template for that document type (docx or pptx)
- Check the linter status of the template
-
If the linter status is acceptable (not
failed
orerror
), proceed with report generation