cancel
Showing results for 
Search instead for 
Did you mean: 

How to fill custom prop with DocId like unique identifier?

alexr
Champ in-the-making
Champ in-the-making
We are in the process of migrating from Stellent/Intradoc to Alfresco.
One of the features of Intradoc is having a simple document Id as a read-only field that will be used by end-users to refer to in business communications (email, other documents etc.).
The DocId has the following format: AA006001, AA006002 etc. Since it's an simple number to communicate and not a cryptic number like for instance a Documentum Document Id starting with 09…….. etc.
I know a unique record identifier is something that is touched upon by record management, but I am only looking for this specific feature.

Then I came across the Action "Increment Counter"  as a create rule feature.

What counter is this and can it be read/manipulated from within a JavaScript.

The node-id of documents is quite cryptic, so I can't see how I can convert this to a simple but Unique doc identifier.  Haven't found a JavaScript method to retrieve node-id's.


I have to be sure that there is a automatic mechanism that generates a unique number each time content is added (either through a rule or otherwise).

What would be the simplest approach? I want to keep things as default and simple as possible. At the moment there is no need for implementing a Records Management solution.

Kind regards,

Alex
37 REPLIES 37

lrzdof
Champ in-the-making
Champ in-the-making
Hi,
did you ever find a way to implement this? If so, please post some info.

br,

Lars

codemanat
Champ in-the-making
Champ in-the-making
I know, this thread is really old. But it's the only one i found on google, which gets really close to the solution. But unfortunately i didn't get it clear.

Does anyone know a Step by Step how to, or can maybe describe clearly what to do?

Thnx You!

scopio
Champ in-the-making
Champ in-the-making
Hi there, did you find a working solution for this? Did you try johanpi's solution?

scopio
Champ in-the-making
Champ in-the-making
Hi there, did you find a working solution for this? Did you try johanpi's solution?

scopio
Champ in-the-making
Champ in-the-making
Hi there, did you find a working solution for this? Did you try johanpi's solution?

scopio
Champ in-the-making
Champ in-the-making
Hi there, did you find a working solution for this? Did you try johanpi's solution?

scopio
Champ in-the-making
Champ in-the-making
Hi there, did you find a working solution for this? Did you try johanpi's solution?

scopio
Champ in-the-making
Champ in-the-making
Hi there, did you find a working solution for this? Did you try johanpi's solution?