New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Commodore
Commodore
775 views

Is it possible to auto name a new record including a correlative number?

Jump to solution

Hello

I need to automatically name the documents that the user adds to a folder within the records manager. Is this possible?

For example, all files in a folder must be called DOC-INFO-GT-001.docx. Where the 001 should be increasing one by one.It's possible?

 

Beforehand thank you very much.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Commodore
Commodore

Thanks David and Carl, 

Now I have a good starting point to start and achieve my goal.

Thank you.

View solution in original post

0 Likes
8 Replies
Highlighted
Commodore
Commodore

You could achieve this with a custom event processor. Eg once a document get saved into CM with certain business logic (this record type or matches this criteria), rename the file to match the pattern your after. You could also have it that if a user changes it to something, it will auto rename it back to what your after. 

 

Does that help?  

Regards,

Carl
0 Likes
Highlighted
Commodore
Commodore

Gracias por tu respuesta.

En efecto me ayuda mucho saber que es posible.  Ahora, nunca he hecho algo como esto, puedes brindarme una idea básica de donde lo configuro?

Nuevamente mil gracias por tu ayuda.

Aldo,

0 Likes
Highlighted
Commodore
Commodore

I'm so sorry, I sent my answer in Spanish

Thanks for your answer.In fact it helps me a lot to know that it is possible. Now, I've never done anything like this, can you give me a basic idea of where I set it?Again, thank you very much for your help.

Aldo,

0 Likes
Highlighted
Commodore
Commodore

haha i was going to say i wont be able to answer that (not without some google translate options). 

Yeah the custom even processor options are quite cool and just depends on your imagination. Ideally, its used for anything that happens post a record has been created or modified etc. 

With regards to helping, i'm not a developer (functional person) so cant help with the code side, but if you look at the enterprise studio you will find the option in there on the dataset (pretty sure) that will allow you to configure this. 

If you get stuck, private message me and i will get you in touch with one of our teams developers. 

 

Regards,

Carl
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Event processor add-in getting started video.

 

Event procesor add-in sample code.


Blog | Samples | CM SDK Docs
**Any opinions expressed in this forum are my own personal opinion and should not be interpreted as an official statement on behalf of MicroFocus**
0 Likes
Highlighted
Commodore
Commodore

Thanks for that David, was looking for that to post as a good starting point 🙂 

Regards,

Carl
0 Likes
Highlighted
Commodore
Commodore

Thanks David and Carl, 

Now I have a good starting point to start and achieve my goal.

Thank you.

View solution in original post

0 Likes
Highlighted
Commodore
Commodore

Hello Carl,

I sent you a private message about another topic. I just want to know if you could read it.

Thank you,

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.