About this article
Ticks() is a function that returns a unique number based off of DateTime. Typically used for a uniquely identifiable number such as a document ID, case number, etc. Ticks() can be used in a binding in addition to a default value, placeholder, or metadata field.
Prerequisites
|
Syntax
Syntax | {{Ticks()}} |
Output | Randomized 18 digit number |
Example 1
Simple use of Ticks() to insert a random number into a binding.
Binding | {{Ticks()}} |
Output | 637376719681534753 |
Example 2
Create a form field for Document ID where the default value is set using Ticks().
The user then gets the following dialogue during document creation.
Example 3
Using Ticks() for setting the "description" document property as a random number.
Once the document has been created the title document property is a random identifiable number.
Comments
0 comments
Article is closed for comments.