Current Position:Home > People Search and a Custom Property

People Search and a Custom Property

Update:10-11Source: network consolidation
Advertisement
I am trying to surface a custom property in the people search query results. For example,
http://<servername:port>/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31'
I get XML results but when I look at the properties returned for each of the people result, there are no custom properties from user profile properties. How can I modify the custom properties so that they start showing in the XML results for people search?
Rank, DocId, AboutMe, AccountName, BaseOfficeLocation, Department etc.
Please let me know.
Thanks!
Update: I am using SearchExecutor class and its ExecuteQuery API.

The Best Answer

Advertisement
Hi,
Thank you for your sharing! It will be beneficial to others in this forum who meet the same issue in the future.
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
  • People Search and a Custom Property Update:10-11

    I am trying to surface a custom property in the people search query results. For example, http://<servername:port>/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31' I get XML results but when I look at the propertie

  • Add custom property restrictions in advanced search web part Update:10-11

    hi,  I am having the default advanced search box web part in my ent.search center site collec. but as per my requirement i need to a  few items in the property restrictions dropdown in my advanced search web part. is this possible in sp 2013 e.t sera

  • How do I map custom property from portal api ptsearchresponse? Update:10-11

    I want to map the search results to my datatable. I can execute the search fine. But how do I map the property value? My property id is 101. In other words which ptSearchResponse method do I use?                 IPTSession ptSession;                

  • How can I get the value of a custom property from a resource object? Update:10-11

    I am trying to get the value(s) of a custom property, called "status" within a method. The method has an object of type IResource available to it. I have tried the following: PropertyName propName = new PropertyName("","status&quo

  • How to assign search help for custom cost centre field in SRM 7.0 Update:10-11

    Hi Experts!! We are currently working in SRM 7.0.As per our business requirement, in account assignment tab we need to use a custom cost centre field (ZCOST_CENTRE) instead of standard cost centre field.It is observed that for standard cost centre fi