Tokens
Example: Carson has ten documents to scan. He wants each document to be automatically named in the following format: Scan Date - Name of the User that Scanned the Document. To apply this naming convention, Carson configures his scanning session to use a default document name. The default name he defines uses the Date and Username tokens via the following syntax: %(Date) - %(Username). After Carson scans and stores his ten documents, they will each be automatically named similar to the following: 04/08/08 - Carson.
The following list details the standard tokens available in Laserfiche Scanning.
Name | Syntax | Description |
---|---|---|
Creation Date | %(Creation Date) |
The Windows creation date for a document scanned by Universal Capture. |
Date | %(Date) | Date a document is scanned. |
Date/Time | %(Date/Time) | Date and time a document is scanned (e.g., 3/19/2008 8:01:34 PM) |
Entry ID | %(ID) | *Laserfiche Entry ID associated with the scanned document. |
Field Data | %(Fields.FieldName) | The value assigned to a field in the current document. The specified field must belong to the template that will be assigned to scanned documents. Unlike most tokens, this one is replaced when the document is stored in Laserfiche. Until then, the token will appear where it was inserted. |
Field Data Inheritance | %(Parent)
%(Parent: Field) |
A document or folder to inherits 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. |
Hijri Date | %(Hijri Date) | Web Scanning Only. The current Hijri date. This token is only available, for Web Scanning, in non-date fields. |
Hijri Date/Time | %(Hijri DateTime) | Web Scanning Only. The current Hijri date and time. This token is only available, for Web Scanning, in non-date/time fields. |
Modification Date | %(Modification Date) |
The Windows modification date for a document scanned by Universal Capture. |
Name | %(Name) | The original name of a document scanned by Universal Capture. |
Page Count | %(PageCount) | The number of pages in a document. |
Parent | %(Parent) |
*The value of the same field assigned to the document's parent folder. If the parent folder does not contain this field, %(Parent:Fieldname) can be used to obtain a value from a different field in the parent template. This token is designed for fields only. |
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. |
Path | %(Path) |
The path to the file for the scanned image (e.g., C:\Documents and Settings\John Doe\My Documents). This token is available for use with Universal Capture. |
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. |
Session Count | %(Count) |
If you scan documents using standard mode, you can configure this option from the Settings tab of the Default Properties task pane. |
Time | %(Time) | Time a document is scanned. |
Username | %(Username) | *Name of the user that scanned a document. |
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. |
*Value is assigned after the document is stored in a Laserfiche repository.