cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Dropdown in Advance Search

amitkhatua
Champ in-the-making
Champ in-the-making
Hi, Is is possible to make the advance search dropdown options dynamic in alfresco share? When one particular site user uses Advance Search option the Look For dropdown should be populated as pre-defined  mentioned options. The admin user can only update the site user and dropdown option mapping. Any clue or a link will be very helpful.
4 REPLIES 4

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

You can create a custom FTL controller fo that property. first create a Datalist to store values for that property, and make everyone as consumer on that datalist so no one can edit/add items to that datalist, in custom FTL controller call a webscript to get values from that datalist and show them in dropdown.

amitkhatua
Champ in-the-making
Champ in-the-making
Is it possible to get the user name and site list mapping for which the user is assigned, when the user is logged in ?

Could any one please help me out on this ?

Hi,

I didnt understand your question correct. Do you need current users sites in which he was a member?
if that is your question, you can look at the my sites dashlet code.