About this article
This article explains what the Ticks() function is and provide examples of how it can be used with the binding syntax in smart templates.
Prerequisites
|
What is the Ticks() function?
Ticks() is a function that returns a unique number based on the date and time. The function is commonly used for with template settings and properties to set a uniquely identifiable number for a document ID.
Ticks() logic
Syntax | {{Ticks()}} |
Output | Unique 18 digit number |
|
Ticks() function examples
Example 1
Using the Ticks() function into a custom text binding smart field to insert a unique number in the smart template
Binding | {{Ticks()}} |
Output | 637376719681534753 |
Example 2
Using the Ticks() function as the prefill text of the "DocumentID" question originating from the response form.
The result looks like this:
Example 3
Using the Ticks() function as the 'Title' property through the template settings and properties.
Once the document has been created the 'Title' document property is a unique identifiable number:
Related articles
Comments
Article is closed for comments.