I have extended the Person model with a custom aspect using Jeff Potts tutorial here:
http://ecmarchitect.com/archives/2012/02/27/1555
(and the updated code by Sujay Pillai for the 2.2 SDK here: https://github.com/sujaypillai/someco-people).
I am able to view and edit my custom properties within Share - works great.
However, I would now like to customize Share's People Finder to retrieve users based on these new fields. I have customized the form, and it works for any property that is native to cm:person but will not work when querying against my custom properties. I then realized that when I query /api/people manually, none of my custom aspect properties are retrieved.
I would like to extend the People API so I can use it to query on my custom properties. The file I need to customize is here:
remote-api/config/alfresco/templates/webscripts/org/alfresco/repository/person/person.lib.ftl
I cannot find this anywhere in the SDK 2.2 - how do I override it with a customization?
Thanks!