Token Types

The following tokens apply to the Laserfiche Windows client and the Laserfiche web client.

Note: The syntax inserted when selecting a token is a reference. Laserfiche will automatically translate these tokens into the data they represent.

The following list details the standard tokens available in Laserfiche Windows client and the Laserfiche web client.

Name Syntax Description
Session Count %(Count) A token that will be replaced by a sequential number every time an entry is created or imported into a Laserfiche Client. By default, this token starts at 1.

To configure this token:

  • In the Laserfiche Windows client: Click Autoname from the Options dialog box
  • In the Laserfiche web client: Click Autoname under New Documents in the Settings dialog box.
  • From the Laserfiche Snapshot Configuration dialog box: From the Destination tab.
Repository Count %(GCount) A sequential number added every time an entry is created or imported into a Laserfiche Server. By default, this token starts at 1.

Example: User A and User B each create a document and use %(GCount). The server count is 3 because the server starts with 1 and each user has created a document.

Date %(Date) The system date from the current workstation.
Date/Time %(DateTime) The system date and time from the current workstation.
Entry ID %(ID) The identification number assigned to the Laserfiche document where data will be stored. This number will be generated when the Laserfiche document is created. Unlike most tokens, this token is replaced when the document is stored in Laserfiche.
Field Data Inheritance %(Parent)

%(Parent: Field)
A document or folder to inherit the value assigned to the field with the same name in the parent folder. If this token is used when a document or folder is being created, field data will be inherited from the folder in which the document or folder will be created. Once a document or folder inherits a field value, the parent token will be replaced with the value assigned to a field in the parent folder.

Note: A token will only be replaced once. If the parent's field data is updated, it does not update the children's field data. The parent token is not meant as a means of synchronizing field data between a folder and its children.

Note: A child entry can only inherit a value from a parent multi-value field if the multi-value field only contains a single value. If the parent multi-value field contains more than one value, no field information will be inherited.

Example: If you insert the %(Parent) token in the "Name" field, it will be replaced by the value assigned to the "Name" field in the parent folder. If the parent folder has not been associated with a "Name" field, the token will not be replaced. If the parent folder has been associated with a "Name" field, and the value of that field changes, the token value will not be updated.

To inherit the value assigned to a field with a different name, use the %(Parent:Field) token. The term Field should be replaced with the name of the desired field associated with the parent folder. If the parent folder has not been associated with a field with the specified name, the token will not be replaced.

Import File Creation Date %(FileCreated)

The date and time that the file being imported was created. The value is retrieved from the Windows properties for the file. This token can only be used during document import.

Note: This token is only supported in the Laserfiche Windows client.

Import File Extension %(FileExtension)

The extension of the file being imported. The value is retrieved from the Windows properties for the file. This token can only be used during document import.

Note: This token is only supported in the Laserfiche Windows client.

Import File Modification Date %(FileModified)

The date and time that the file being imported was last modified. The value is retrieved from the Windows properties for the file. This token can only be used during document import.

Note: This token is only supported in the Laserfiche Windows client.

Import File Name %(FileName)

The file name of the file being imported. The value is retrieved from the Windows properties for the file. This token can only be used during document import.

Note: This token is only supported in the Laserfiche Windows client.

Import File Path

%(FilePath)

%(DirectoryPath)

The path in Windows of the file being imported. The %(FilePath) token will give you the whole path of the file, including the file name (example: C:/Users/JSmith/My Documents/Report.docx), and the %(DirectoryPath) token will give you the path without the file name (example:  C:/Users/JSmith/My Documents/). The value is retrieved from the Windows properties for the file. This token can only be used during document import.

Note: This token is only supported in the Laserfiche Windows client.

Global Count %(GCount) A sequential number added every time an entry is created or imported into a Laserfiche Server. By default, this token starts at 1.

Example: Jon and Ben each create a document and use %(GCount). The server count is 3 because the server starts with 1 and each user has created a document.

Name %(Name) The file name for the scanned image. This token is available for use with Laserfiche Universal Capture. It can also be used in the Laserfiche Windows client applications to populate fields for documents.
Page Count %(PageCount) The number of pages in a document.
Parent ID %(ParentID) The ID of the entry's parent folder.
Parent Name %(ParentName) The name of the entry's parent folder.
Parent UUID %(ParentUUID) The Universally Unique Identifier for the entry's parent folder. This is a unique ID given to a folder to set it apart from the ID generated by Laserfiche and given to that same folder.
Time %(Time) The system time on the current workstation.
User Name %(UserName) The name of the user sending documents to a repository. Unlike most tokens, this is replaced when the document is stored in Laserfiche. Until then, it will appear where it was inserted.
User SID %(UserSID) The user's security identifier.
UUID %(UUID) The Universally Unique Identifier, or Globally Unique Identifier, for an entry. This is a unique ID given to an entry to set it apart from the ID generated by Laserfiche and given to that same entry.

For a list of tokens that can be used to create custom toolbar buttons see the Tokens for Custom Toolbar Buttons help topic.