Auto numbering field value

cancel
Showing results for 
Search instead for 
Did you mean: 
Ashwinig
Member II

Auto numbering field value

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

 

3 Replies
afaust
Master

Re: Auto numbering field value

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).

Ashwinig
Member II

Re: Auto numbering field value

Thanks Afaust for your quick reply.

 

can u please suggest how to implement Java-based behaviours.

 

Thank you

afaust
Master

Re: Auto numbering field value

See the documentation and / or the tutorial of Jeff Potts for starters...