cancel
Showing results for 
Search instead for 
Did you mean: 

custom model auto populate field

sharifu
Confirmed Champ
Confirmed Champ
I have a custom model which I have made. I would like to populate the combo box with fields from a database or a text file etc. I can hardcode the values but what if I have over 4000 values etc..
I also want to do a jquery look up on the textfiled as a user types. Below is an image of what currently have and how the properties popup looks like

[img]http://imageshack.us/a/img407/2585/formn.png[/img]

I would like the client property to check database as i type for matching name etc.. and show them to user to select. I am very new to spring surf so if someone can please give me detail instructions on how to do this. I know how to do jquery etc but in alfresco i do not know how to achieve this.
1 REPLY 1

bone
Champ on-the-rise
Champ on-the-rise
Hello,

one possible solution for your problem is adressed in the following post: https://forums.alfresco.com/en/viewtopic.php?f=19&t=43663
This solution covers dynamic data-driven drop downs for list properties and also cascading drop downs.

I hope this may help you.