File names
Every file Sliick Docs makes is named by one of three rules, set out below. Getting the name right matters: the most common reason two documents on the same record seem to overwrite each other is a name with no date or time in it.
The default name
Section titled “The default name”If the template has no File name pattern, files are called:
<Record Name> - <Template Name> - <date and time>
This is the right choice for most templates. Repeat documents, and documents from different templates on the same record, stay easy to tell apart in Files and wherever the file is emailed or sent.
When the File name pattern box is empty, it shows this default as a grey hint. The hint is not saved as a value, so an empty box stays empty.
Your own name
Section titled “Your own name”Type a name into the template’s File name pattern. It is used exactly as you type it, and nothing is added to the end. You can use merge fields as you would anywhere else, for example {{Account.Name}} - Summary.pdf, plus two date tokens from the field picker:
| Token | What it adds |
|---|---|
{{GeneratedDate}} | The date the document was made, in the time zone of the person who made it. |
{{GeneratedDateTime}} | The date and time the document was made, in the time zone of the person who made it. |
For documents made by a Flow or batch, the time zone is that of the user the automation runs as.
Note: if two documents on the same record seem to overwrite each other, the template has its own name with no time in it. Either clear the File name pattern to use the default, or add
{{GeneratedDateTime}}to your name.
Proof files
Section titled “Proof files”Proofs made while building a template are called:
<Template Name> - v<Version Number> - Proof - <Record Id>.<pdf or docx>
Rules for every name
Section titled “Rules for every name”- The extension changes to
.docxby itself for Word files. See Word output. - Characters that are not allowed in file names are removed.
- A name can be up to 255 characters long, which is the Salesforce limit for a file title.