Example 1: Placeholders {userdisplayname} and {currentdate}
In this example, we use the {userdisplayname} and
{currentdate} placeholders to define a standard document
name.
About this task
The name of each document created from the template should contain static text, the
user who generated the document, and the date on which the document was
created.
Procedure
To configure the template:
In the protection settings for the Name element, use the {userdisplayname} and
{currentdate} placeholders combined with the 'Coffee
Consumption' static text as the initial value.
Figure 1. Initial value for the Settings element of a template
Tip: If your operators should not be able to change the document
name, remove the Edit value
permission from the Name element
in the template.
Result
Documents created by the Administrator are named 'Coffee Consumption by
Administrator on Day 2021–07–23Z.'
Documents created by the user Benjamin Schneider are named 'Coffee
Consumption by Benjamin Schneider on Day 2021–07–25Z.'