Hi Team,
I have created one custom field named as Document_No using Model Manager.
I have requirement that this field should have value as total number of documents in that folder.
Ex. I have one folder which having 10 files and i uploaded one new file in that folder.
Once i uploads new file, Document_No property for that file should have value as 11
(Note - For each file this value should changed based on number of documents in respective folder)
Kindly suggest.
Thanks in advance
This is a case for implementing Java-based behaviours to automatically update a property value based on child association creation / deletion events. Unfortunately, implementing behaviours does not work well with models created via the Model Manager, as those models have some serious limitations (I consider Model Manager to be useful only for demonstration / dev prototyping use cases, and discourage any customer from using it in production).
Thanks Afaust for your quick reply.
can u please suggest how to implement Java-based behaviours.
Thank you
See the documentation and / or the tutorial of Jeff Potts for starters...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.