cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco share advance search customization

naval
Champ in-the-making
Champ in-the-making
Hi ,

I have custom content model, in that according to one custom property value,  i want to change the list of search properties in advance search.
Ex. flatno, membername, accountno,Wings are the properties of custom content model.
Wings as property, can have values A,B,C,D. According to selection of "wings" property value i want to change the search properties list.
Let say, if i select custom content model in advance search, then wings as A, i should get only one property to search flatno.
if i select wings as B, i should get properties as membername,flatno.
if i select wings as C, i should get properties to search as membername, flatno, accountno.

Please help me to achieve this.
Thanks in advance
1 REPLY 1

nirvanvjain
Champ on-the-rise
Champ on-the-rise
Hi Naval,

I don't remember exactly but the last time I have worked on Alfresco Share Advance Search; I have observed below points that might help you out:
1) Advance search form is content type based
2) Each content type form is configurable through XML file
3) If you want to make fields dependent on some other fileds (in your case wing selection) then
         -  just reload the entire page with new controls of the form loaded - could be 1 solution
         - make your all common properties in to one generic type name it xyz:generic (like cm:content) and let your types are different for A,B,C,D                      wings which has parent xyz:generic and according configure multiple forms for advance search

Above are suggestions only. I have no touched share since last 9 months  Smiley Sad

Thanks!
-Nirvan