Before generating documents, you must add your template to Box Doc Gen. You can do this by:
- Marking an existing file already stored in your Box account as a Doc Gen template.
- Uploading a template.
This article covers uploading templates. When uploading a template, you can either create a new template from scratch or upload an existing file that you've already authored with template tags.
Creating a new Doc Gen Template from scratch
To create a new Doc Gen template in Box:
- Navigate to Relay > the Doc Gen tab.
- Click New > Doc Gen Template.
- In the new window, click New file.
- Provide a name for your template.
- Specify the destination folder where the template will be stored.
- Click Create.
A new Box Doc Gen template is created in the provided folder and automatically marked as a Box Doc Gen template. It is also visible under the Doc Gen tab in Relay.
After that, you need to add Box Doc Gen template tags to your template. Use one of the following approaches:
- Use the Box Doc Gen Template Creator add-in for Microsoft Word to create a Box Doc Gen template without any code.
- Use the Box Doc Gen tagging script to manually author the template.
Creating a Doc Gen Template from an existing file
To upload an authored Box Doc Gen template to Box:
- Navigate to Relay > the Doc Gen tab > New > Doc Gen Template.
- In the new window, click Existing file.
- Select to either Choose from Box or Upload File.
- Specify the destination folder where the template will be stored.
- Click Create.
After that, the template is added to the provided folder and automatically marked as a Doc Gen template. It is also visible under the Doc Gen tab in Relay.