cancel
Showing results for 
Search instead for 
Did you mean: 

custom record series identifier

phillip_eskalon
Champ in-the-making
Champ in-the-making
hi all,

is it possible and when how to set up custom  records series identifier? So what I want to do is quite simple. Each new Series represent a customer. If I create a new one, the identifier should be something like 0001. For a new Series(customer) 0002 and so on. When I create a new Category like Feature-List the identifier should be 000x-01. Does anyone know how to set it up?

For Example, when I now create a new Series the identifier is something like this Record Series Identifier: 2009-0000001857 and a sub-folder looks like Record Category Identifier: 2009-0000001925. And it should be Series folder: 0001. Sub-folder: 0001-01.


Best regards

Phillip
6 REPLIES 6

carlos_miguens
Champ on-the-rise
Champ on-the-rise
We did not develop the ability to have you define patterns for automatic generation of unique classification identifiers. You would need to develop this as a customization to the existing system.

csabee
Champ in-the-making
Champ in-the-making
Hi,

If I want to develop something custom for this identifier, where and how should I code it? How can I wire it to the RM?

Thanks

csabee
Champ in-the-making
Champ in-the-making
OK, so I have found out, that I was looking for the
org.alfresco.module.org_alfresco_module_dod5015.model.RecordComponentIdentifierAspect class.

I have made a copy of it, redeclared the package name, and modified the link in the dod module-context.xml

I have modified the onUpdateProperties method, to use my generated IDs (they come from a mysql sequence db…).

My problem is that it won't change the rma:identifier property to the one I have generated and set.

Can anyone help me on this?

Thanks

csabee
Champ in-the-making
Champ in-the-making
Is there anyone reading this forum? Please help me, I'm very close to deadline, and still haven't figured a way to update that identifier  :cry:

grob
Champ in-the-making
Champ in-the-making
Have the same problem here.

The imported RM site test data has a unique and hierarchical identifier (0430, 0430-01, 0430-01-01). Any new created record series or record category has not.
Does someone know how to change the identifier patter or chance the identifier manually?

sduis
Champ in-the-making
Champ in-the-making
I had a similar question and found these related forum posts that at least partially answer your questions:
https://forums.alfresco.com/en/viewtopic.php?f=51&t=24821
The unique numbering is not user changeable. You could add your own metadata for a numbering scheme, this would then require you to add extra code to manage that, I'm afraid I don't know how involved that would be.

The sample file plan is imported in from another system, when you import from another system we don't attempt to re-assign unique numbers we take what is already there and simply import it.

There's also:
"Custom ID generator for Records Management content"
https://forums.alfresco.com/en/viewtopic.php?t=17014
And:
"How to fill custom prop with DocId like unique identifier?"
https://forums.alfresco.com/en/viewtopic.php?f=12&t=3533&start=15&sid=b0eb8525429d29e86fa8c86c88b041...

We are a small shop so I think we will leave the automatically generated Records Management system ID numbers as they are, rather than revising the code. Instead we'd likely add a required aspect field to enter an agency-generated unique ID. We are just testing out Alfresco and this is all very new to me, but I thought I'd share these tidbits in case they help you out!