cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic field population in Advanced Search

acarpine
Champ in-the-making
Champ in-the-making
Dear Team,
I'm trying to dynamically populate some custom properties in the Share Advanced Search form but I don't know how to do it…

I already done something similar in other forms (edit/create) populating one field with using a custom FormFilter (as described in http://wiki.alfresco.com/wiki/Forms_Developer_Guide) but unfortunately this filter is not called during the build of a search form (it's registred to run when creating/editing a node and not for search).

Any idea?
thanks
1 REPLY 1

acarpine
Champ in-the-making
Champ in-the-making
I haven't find any "smart" solution…
I put the call to a service able to retrieve the neede data directly in the ftl file of the field, but the Javascript event onload() seems not to be captured by the Advanced Search Form (though other Javascript events are working properly).

Any hint?

thanks,
Andrea