Renaming a Template
If you need to update or repurpose a template in different scenarios, and you want to the template's name to reflect that purpose, you can rename the template.
When renaming a template, by default HotDocs updates references to the new template name. For example, if your template is used as an auxiliary template in another template, the reference in that template is updated to the new name.
All HotDocs templates have a component file, .cmp, associated with them. When renaming a template, you can choose to rename the component file to match the new template file name.
To rename a template
- Open the workspace that contains the template you want to rename.
- In the left pane of the Workspace Explorer, select the template you want to rename.
Ensure no part of the template you wish to rename is open for editing. If so, close the template and its related files.
- Either:
- Right-click and select Rename template, or
- In the right pane of Workspace Explorer, click Rename.
- In the Rename Template window, enter:
- File name - must not be the same as an existing file name. The file type should remain the same.
You should limit your template file names to 100 characters or less.
- Template title.
- Template description.
- Rename component file - Choose whether to rename the associated component file to match the template file.
- Update references - Choose whether to update references - doing this updates references to ASSEMBLE, INSERT, auxiliary files and other references in the current workspace.
- Click OK.
If your template is referenced in a number of other templates, HotDocs recommends you restart Author to allow the references to update.
HotDocs renames the template in your workspace.