People Search and a Custom Property

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.

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]

Similar Messages

  • SharePoint 2010 - People Search Results - About Me Property

    Hi,
    Currently, we have About Me showing in our People Search Results page.
    About Me is a User Profile Property that allows Users to specify information about themselves. This Profile Property is an HTML property and therefore may contain links/URLs. When About Me contains links/URLs, they appear as proper links in the User Profile.
    However, in the People Search Results page, they just appear as plain text. We would like them to appear as actual links similar to the User Profile.
    Is there a way to do this?
    Thanks!

    Hi Seth,
    I do know it uses XSLT and have modified this XSLT before for Business requirements.
    However, I'm not even sure if my question is something that can be fixed thru XSLT.
    In XSLT, it is only 1 line that shows the About Me text:
    <xsl:value-of select='substring(hithighlightedproperties/aboutme,1,350)' />
    So I'm not sure if there's any way else to achieve what we want.

  • Unable to perform search query against custom property

    Hi,
    I'm trying to perform search against specific property yet I'm getting empty result set.
    I have list with some data on it and the field in question has it's value filled. I done full crawl on the site and the crawled property is present under search administration. Property has "Enable full-text search" checked and I'm able to
    find these list items when I simply type something like 123 in the search box. Yet I'm unable to perform search against that property using syntax like
    DocumentNumber:123.
    According to this
    http://msdn.microsoft.com/en-us/library/office/ee558911.aspx I need to setup managed properties first so I did. I created required managed property called
    DocumentNumber I checked Searchable and Queryable boxes on and mapped it to crawled property. After that I performed full crawl again as it is required (http://technet.microsoft.com/en-us/library/jj219667.aspx)
    but still unable to retrieve result when performing search against specific property. I does however return results when I perform search against default columns like
    Created or Author.
    Some guy had similar issue
    http://social.msdn.microsoft.com/Forums/en-US/1f9782ca-5105-4802-b477-ccdee392c6eb/keyword-query-search-on-custom-managed-property yet that solution does not work for me. I tried it with SharePoint 2013 Search Query Tool and it returns nothing.
    Queries I performed:
    123 - returns required results.
    DocumentNumber:123 - no results.
    ows_DocumentNumber:123 - no results.
    Any ideas what I'm missing?

    According to this
    http://msdn.microsoft.com/en-us/library/office/ee558911.aspx I need to setup managed properties first so I did. I created required managed property called
    DocumentNumber I checked Searchable and Queryable boxes on and mapped it to crawled property. After that
    I performed full crawl again as it is required (http://technet.microsoft.com/en-us/library/jj219667.aspx) but still unable to retrieve result when performing search
    against specific property.

  • Automated Number AND/OR Custom Property Assignment on DRM

    We have an interesting issue. For some of our hierarchies, we do not have all the required Member account codes coming from the business and we only have Aliases.
    We want to therefore create a new set of Auto-Numbering system to use that makes sense. We were thinking about Node IDs but we want to use something that we can customize more.
    What is the way to create custom numbering (Auto-numbering) on DRM. I see that Formulas are used to create/develop custom DRM properties. The property in this case is essentially auto-numbering.
    Do you have any other ideas like is there any existing system property that I may use in DRM or do you thinking creatinga custom property using Formulas is the best way to go about it? Which formula functions should I be looking at? Thanks a lot for the help on this one.
    -- Adi

    Figured it out myself.
    Basically used formulas and functions after creating a new DERIVED property. Formulas and functions are very useful tools in DRM for creating customized metadata if you will.

  • Namespace and dynamic custom property access

    Hi,
    I am trying to dynamically set Custom Property of KM Folder(Repository Framework) using the sample code which I found in one of the SAP site. I have modified the code for my requirement and this is how it looks. What I am not able to understand is the "namespace" part. Can anyone tell me what is this namespace field and how should I modify the code for it to get working.
    RID rid = RID.getRID("/documents/TestFolder");
    IResource resource = ResourceFactory.getInstance().getResource(rid, resourceContext);
    String namespace = "http://com.sap.netweaver.bc.rf.sample/xmlns/sample";
    String name = "PublishedOn";
    IPropertyName propertyName = new PropertyName(namespace, name);
    IProperty property = resource.getProperty(propertyName);
    IMutableProperty mutableProperty = property.getMutable();
    mutableProperty.setStringValue("10/12/2005");

    They play the same role as namespaces in XML, RDF or WebDAV. You may want to read http://www.rpbourret.com/xml/NamespacesFAQ.htm.

  • Create and Register Custom Property Panels

    Is there anyone who worked on "Custom Property Panel" in Webcenter? However, I have tried something using the following link but it seems not working.
    http://docs.oracle.com/cd/E16340_01/webcenter.1111/e10148/jpsdg_page_editor_adv.htm#CHDCJGEC
    Can anyone suggest me the possible approaches step by step?
    Thanks in advance.

    Hi again!
    Section 20.2, "Creating Oracle Composer Add-Ons": Refers to Oracle Composer buttons that appears in top of it like "Page properties" or "View". In this image http://4.bp.blogspot.com/-o0-wHhGzAg/TrgeohaGM8I/AAAAAAAAASQ/yfQqqU8faY/s1600/Composer6.png "Chane Logo" is a Composer addon (panel).
    Section 20.3, "Creating Custom Property Panels": Refers to add more tabs/configurations by default provided by Oracle Composer to configure the components added in the page. For example "Parameters" tab. In this image http://1.bp.blogspot.com/-G5lnUwO_mhM/TrgeqZlTT_I/AAAAAAAAASY/vTvznOakpL8/s1600/Composer7.png "Display options" and "Style" are property-panels
    Regards.

  • People Search on list items - not working on metadata property 'OrgNames'

    Hi all,
    To be able to search AD Contact in people search (NOT AD Accounts, AD Contacts), I've exported this AD contacts into a SharePoint list and added this list to the scope used by my people search and finally configured the metadata properties. I've followed
    this article : http://johnliu.net/blog/2012/9/25/sharepoint-showing-contacts-in-people-search-results.html
    All is working fine, except when I want to search on the company name of the contacts. I've edited the property name OrgNames to link it to my list column. I can see this company name into the search result, but when I want to perform a search based on the
    company name, I got no result. The search is working fine on the name or on the jobtitle.
    Does anyone have an idea about the mistake ?
    Thanks & Regards,
    Steve

    Hi Steve,
    I recommend to check the things below:
    Check the Advanced settings of the contact list, make sure that Allow items from this list to appear in search results is Yes.
    Check the Content Source that the Start Address is including the contact list in Search Service Application.
    Click Index Reset and then do a full crawl in Search Service Application to see if the issue still occurs.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Allow user to apply custom property or Workflow to DAM folder

    Hi,
    Is it possible to allow an author user the ability to set a custom property (or workflow) to a folder in the DAM?
    i.e. can I create a custom property "Approved" against a DAM folder and expose it via the UI (or update it via a workflow)
    I want to apply to an entire folder (not single or multiple assets)
    Thanks!

    yes it is possible to add custom property to dam and workflow. To add custom property to dam asset you have to override "/libs/dam/components/asseteditor" form page in your application.
    also you can refer - http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam.html
    To add custom property in workflow you have to create custom workflow component using sling resource super type as "cq/workflow/components/model/process" and add custom property in dialog. you can take example of existing workflow under /libs/wcm/workflow area.
    also you can refer - http://dev.day.com/docs/en/cq/current/workflows/wf-extending.html

  • Add custom properties to People Search Results

    Good morning,
    I am trying to include some custom properties to our Search Results. These are the steps I have followed so far:
    Create User Profile Service Property and sync to AD. The property is populated for different users.
    Run full crawl
    Create managed property on the Schema, and map this to the crawled property
    Created a new version of the Item_Person.html template and changed its title.
    Upload to the Display Templates gallery, and created a new Result Type with this as its template
    Added the new property to the mso:ManagedPropertyMapping tag
    Went to Search Result Types, and selected "Update" on the Property Sync alert
    On the new template, the new property appears on the object ctx.CurrentItem, but its value is null.
    Am I missing something? Tried running full crawl and incremental crawl. Even tried removing the index first.

    Hi,
    Please try to add custom properties using Central Admin.
    I find a thread with the same question, check this:
    http://sharepoint.stackexchange.com/questions/123090/add-custom-properties-to-people-search-results
    More information:
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/11/how-to-display-values-from-custom-managed-properties-in-search-results-option-1.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Show the custom popup window on clicking the people name in sharepoint people search result

    Show the custom popup window on clicking the people name in sharepoint people search result
    We are doing the below code to open a popup but while clicking on name link its postback the page and not opening the popup in first click but opening in second click.The same issue occurs while navigate to second page using pagination
    The below code used to show name in item template
    <button id="NameFieldLink" class="temp" style="font-size: 12px;text-decoration:none;color:#0072c6;border:0px solid #fff;background:transparent;margin-left: 1px;height: 15px;padding: 0 10px 17px 0px;text-align: left;cursor:pointer;font-family:
    Arial, Helvetica, sans-serif;" title="">_#= DisName =#_</button> 
    The below jquery code used to open popup in control search template
    ctx.OnPostRender = []; 
    ctx.OnPostRender.push(function () {
    $(".temp").on("click", function(event)
    event.preventDefault();
    $('#fadeout').show();
    $('#pop1').find('.tab-content-people').html($(this).closest('.emp-card').find('.pop-content').html());
    $('#pop1').show();
    return false;

    I believe the issue is that you are not actually searching against the result source you made in step #1.
    It's not enough to make a result source, you have to tell the search results web part to use it.
    Try this:
    1. Go to the Pages library of Search Center
    2. Create a new Search Results page
    3. Edit the page, then edit the search results web part
    4. Change the source for the search results web part to your source
    5. Add the page to your Search Center navigation
    6. Run the search on that page
    Scot
    Author,
    Microsoft SharePoint 2013 App Development
    Author,
    Professional Business Connectivity Services
    Author,
    Inside SharePoint 2013
    Blog, www.shillier.com
    Twitter, @ScotHillier
    SharePoint Trainer, Critical Path Training

  • Custom People Search

    Hey,
    I am trying to build my own custom 'People Search' portlet and I was hoping to use the existing code behind the 'People Search' capability already built into the Portal and just modify that by adding my own criteria. Would anyone know where I could get the code that was used to build the 'People Search' portlet of Portal and where the sql for it is stored?
    Thanks

    Hi Sonia,
    I would suggest that you continue your first thread itself :-
    Re: Allow PUBLIC users to search and view basic OID data
    It helps others to track the responses & offer more solutions.
    Regards,
    Sandeep

  • New Tool to Automatically Search for SAP Notes and detect Customer Code.

    Dear Gurus,
    Please check this interesenting blog with a completely new approach to the note search for bugs and more:
    /people/carlos.martinezescribano/blog/2010/12/16/automated-note-search-and-customer-code-detection
    And feel free to post your comments on the blog.
    Thanks a lot,
    Carlos Martinez Escribano.

    Now Automated Note Search Tool is a standard application:
    http://service.sap.com/sap/support/notes/1818192
    Regards,
    Carlos.

  • Best approach to add Z custom field to IC Agent Inbox search and results view

    Hi Experts,
    We are having a requirement to add a Z custom field to IC Agent Inbox search and results view. I got multiple forums and ideas, but looking for the best approach for handling this. I am sure, you experts, would have already done this.
    Thanks in advance.
    Regards
    Siva

    Hi Sivakumar,
    AET is the best way by far to create a custom field in this area. It is easy and simple.
    Also, field once added in one business object it can be used at different objects as well.
    There is also a demo available for AET on sdn.
    Please let me know if any more help is required.
    Thanks,
    Bhushan

  • Custom Property in Microsoft Word 2010 Document Template and Sharepoint 2010 Content Type not Syncing up

    I wrote a macro in a Word 2010 template with a custom property called HeaderFooter (a Yes/No value). When the property is changed to No, the header and footer are hidden, otherwise, the header and footer are displayed.
    I added the template to a SharePoint 2010 Document library, with a content type DocInformation and a column name HeaderFooterOffOn that I want to map to the custom property HeaderFooter in the Word Document.
    The macro isn't working in SharePoint, though, because when the user clicks on the HeaderFooterOffOn in the DIP of the Word Document, the Word Custom Property (HeaderFooter) isn't changing with it.
    How do I get these two synced up, so that when the SharePoint column is changed, the Word Document's custom property simultaneously updates with it?

    Hi kevinkevinc,
    There is no direct way to run macro in SharePoint
    As a workaround, I suggest you use SharePoint Event Receiver to run some custom code when column changed.
    Here is a similiar thread for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/249249e2-3263-4001-86fa-bda342d95f35/run-word-macro-on-newly-uploaded-sharepoint-word-documents?forum=sharepointdevelopmentlegacy
    More information:
    SharePoint Event Receiver:
    http://msdn.microsoft.com/en-us/library/ee231563.aspx
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • How to access custom property for attribute and control in .vm file?

    Hi,
    I have created custom properties in OPM for attribute and apply also that properties to attribute.
    But if how to access that value in .vm file?
    I accessed using
    $attribute.getProperty("ScreenProp", "default value")
    but it's not working but same is worked for screen custom property

    $control.getProperties().get("PropertyName") works for custom properties on a control
    If you output $control and $control.getProperties() to the html you can lookup the API for the used classes.
    I can't give an example of the html because it's stripped in this forum
    Edited by: Peter van de Riet on 20-mei-2011 14:18

Maybe you are looking for

  • Is it possible to allow a large brush to extend past the canvas?

    I'm working on a banner image for an email blast with some large broken glass brushes. If possible it would be great if there was a way to allow the brush to paint outside the canvas so that I can scale/rotate/position it. As it stands now I end up w

  • Change Documents for Reservation

    Hi Masters     How to find the change documents for the reservation?.I have Checked it in MB22 and tables CDHDR and CDPOS.I found nothing.Is there any other T code for finding this? Regards Mohan

  • Pre-ordering on Verizon

    I am a verizon customer and I plan on pre-ordering it, but my question (and it may be a dumb one) is when I will have to actually pay for it. Do I pay when I pre-order and it ships to me, or do I pre-order and have to go into the store and pay when I

  • Duplicating Tables

    There's a lot of things that I like about the way that tables are setup. Among them the idea I can assign contents to a table and have them fill to the correct cell as long as the data is formatted correctly. However two things irk me about tables:  

  • Make use of CheckObjectPasswordRequest to read PasswordSynch

    Hi, I'm trying to check the synchronization between eDirectory and Active Directory for multiple users. I want to check the synchronization status as does iManager To achieve this goal I'm using CheckObjectPasswordRequest with this java code: LDAPCon