You are viewing limited content. For full access, please sign in.

Question

Question

field autonumeric in LaserFiche

asked on August 1

How I can make a auto numeric field  in LaserFiche, and that the value change every time that a new document is created with a specific template? 

 

Regards.,

0 0

Replies

replied on August 3

You can use the %(ID) or %(GCount) token as the default value for the field. See this help page for more details. When the field has a default value with a token, the value will be assigned whenever a document is assigned that field (or the template with that field).

1 0
replied on August 3

Hi Robert & Juan,

I believe for this work, the field must be editable for the user.

Another approach is to store a rolling number in a database or as a field on a "configuration" document. I find it easier to manage contention by using a database.

-Ben

1 0
replied on August 3

Follow-up question: why does it have to be a field? The entry ID is already unique and not editable by users.

1 0
replied on August 5 Show version history

Fair question and Juan might not need the counters. However, for myself:

  1. I used a counter because in one solution, I wanted to control the ID format <year>/<counter>
  2. In another, I had to track the number of times a change control was created for a given project: <entryID of project item>/<counter>

-Ben

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.