cancel
Showing results for 
Search instead for 
Did you mean: 

People Finder Property Search

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

I know that if you want to search the property from People finder then I can do like location:Ahmedabad but what if I have applied my custom aspect,which is defined in my custom content model , on person and that aspect has certain properties

When I tried to search those custom property from People finder I am unable to find those.

Please guide me how to search in to People Finder those properties which are not in default CONTENT model but in Custom MODOL/ASPECT?

Thanks!
-Nirvan
4 REPLIES 4

arnoldschrijve1
Champ on-the-rise
Champ on-the-rise
I didn't try this, but if this aspect is applied to one or more person nodes you should be able to query for your property using the FTS field notation explained here: http://wiki.alfresco.com/wiki/Full_Text_Search_Query_Syntax#Fields

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

Thanks for your all help.

I know how to query FTS in Node Browser and find the property. Even I have used those queries too.

But I want to search custom property from the SHARE's People Finder.

Please guide me if you have any idea in this regards.

Thanks!
- Nirvan

kevinr
Star Contributor
Star Contributor
There should be no reason why you can't do this:

namespaceSmiley Tongueroperty:value
e.g.
cm:location:london

The search engine is assuming the "cm" (default Alfresco content model) namespace for the properties which is why it is not required for the standard properties on a Person.

However, there is a small bug in the person search implementation that I found while trying this out with a custom property.

I have fixed the bug and will commit it shortly to 4.0.2 and Community HEAD.

Unfortunately currently without this fix it is only possible to search for Person properties in the default Alfresco namespace.

kevinr
Star Contributor
Star Contributor