Display 'Modified By' property in search results

Hello All,
Can anybody help us to display the modified by information on search results.
Current search results displaying 'Author'. But I want to display the user name who last modified the document.
Please suggest.
Thanks & Regards

Hi,
You will need to create a new 'metadata property' through search and map it as below (though there is 1 OOTB property but you cannot use it) -
1) Create metadata property, say 'Modified By User' (text)
2) Map it to - ows_Modified_x0020_By(Text) , ows_ModifiedBy(Text) , Office:8(Text)
3) Run a full crawl
4) After this, you need to modify the search results XSLT to add 'Modified By' in the results page. You will find good articles on this on MSDN/Technet (check here - https://msdn.microsoft.com/en-us/library/office/ms560074(v=office.14).aspx)

Similar Messages

  • Display pdf meta data in search results

    I'm using the built in search function of Sun One web server 6.1 to catalog a directory that contains a large number of scientific journal article in pdf format. In each pdf file the title of the journal article and the author name is contained in the document metadata. After a search is performed the Title field is listed on the search results page. Is there a way to make the Author field appear there as well? It seems that the html version of the file generated by htmlconv contains the information I want <meta name="author" content=" Author Name "></meta>, but I did not find enough information in the documentation to allow me to modify /opt/SUNWwbsvr/bin/https/webapps/search/index.jsp to display this information properly. Any suggestions would be appreciated.
    Doug

    Hi,
    You will need to create a new 'metadata property' through search and map it as below (though there is 1 OOTB property but you cannot use it) -
    1) Create metadata property, say 'Modified By User' (text)
    2) Map it to - ows_Modified_x0020_By(Text) , ows_ModifiedBy(Text) , Office:8(Text)
    3) Run a full crawl
    4) After this, you need to modify the search results XSLT to add 'Modified By' in the results page. You will find good articles on this on MSDN/Technet (check here - https://msdn.microsoft.com/en-us/library/office/ms560074(v=office.14).aspx)

  • Display folder path in the search result page

    Hi,
    I learnt that to customise the search results page, we need to change the SearchResultLayout set . Is there a command that I can add to the "command list" to display the folder/file path in the search results. Any suggestions in this regard is highly appreciated.
    Regards,
    Sreeram

    Hi Sreeram,
    Pls check this thread..
    https://forums.sdn.sap.com/thread.jspa?threadID=324119&tstart=0
    hope this helps.
    Regards,
    Venkat.

  • Show Custom property in search results

    Hi,
    I'm sure I just miss one small thing here... hope you guys can help me out:
    I've created a custom user property. Added a value to it on a user and created a managed property based on this.
    When I do a search I only get results if I in the query type NameOfManagedProperty:Value
    If I only type the value nothing is returned. How do I change this?
    Thank you.

    Hi Jan,
    Glad that you have solved the issue, and thanks for your sharing.
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • Display of files in the (search) "results" box

    I'm using Adobe Reader XI, version 11.0.09 (pre-installed in my computer, which is using Windows 8.1)
    When I use the advanced search to look for recurrence of a word within several .pdf files in the same folder, at the end of the search, the box "Results" is reduced to a very small line, the height is less than one printed line, and it is impossible to see the list of found files.

    Thanks for responding Alexandre.
    Yes its Opportunity Application CRMD_BUS2000111.
    In the application layout of the above application.
    OPP_DISPLAY_SEARCH_RESULT field group was assigned to
    Event INIT  , FOCUS_CHANGE_SRES  and SAVE  with element SRES and Position 2.
    OPP_DISPLAY_SEARCH_RESULT_CREATE field group was assigned to
    Event  CREATE_FOLLOWUP  and CREATE with element SRES and Position 2.
    In the activity  Application element--> field group
      the above two field groups have 20 in the last 2 columns.
    Still in the PCUI Im getting only 5 lines.
    Am I missing any thing ?
    Regards,
    Swiv.

  • O365 CSOM (javascript) 'SiteOwners' managed property in Search results

    The requirement is to pull SiteOwners [secondary site collection admins] for each site on Office 365 tenancy, using CSOM (JavaScript).
    The following is the code
    var keywordQuery = new Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context);
    keywordQuery.set_queryText('contentclass:"STS_Site" contentclass:"STS_Web"');
    keywordQuery.set_trimDuplicates(false); //returns sub-sites
    var Managedproperties = ['Title', 'Path', 'SiteDescription', 'ParentLink', 'Rank', 'SiteLogo', 'SiteName', 'Author', 'SiteID', 'WebId', 'SiteOwners', 'AuthorOWSUSER', 'WebTemplate'] //'People','SiteMembers'
    var kwqProperties = keywordQuery.get_selectProperties();
    for (var i = 0; i < Managedproperties.length; i++)
    kwqProperties.add(Managedproperties[i]);
    var searchExecutor = new Microsoft.SharePoint.Client.Search.Query.SearchExecutor(context);
    searchresults = searchExecutor.executeQuery(keywordQuery);
    context.executeQueryAsync(onQuerySuccess, onQueryFail)
    Though "SiteOwners" [secondary site collectin admins] are defined for each site, the value for "SiteOwners" is always empty ("").
    Though calls can be made to individual sites to pull the siteowners, want to avoid multiple calls by making use of Indexed search data.
    Any suggestion/help please.
    Sai

    The SiteOwners managed property has no crawled property mapped to it. There does not appear to be a specific site owners crawled property. I would suggest using the Author managed property. It appears to be the same as the site owner. Some side loaded
    or installed third party apps will have System Account as the author, this would be correct since a timer job deploys the app.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • CL20N can not display added fields in the search result ?

    Hi,
    In needs of displaying storage location for each material in the transaction CL30N , we use the user exit CLCLRS01 and CLCLRS02 to add new field. But after that the added field is not displayed
    Have you ever tried this ?
    thanks

    Hi,
    Please find below the code for adding the fields. This code is present in the FM 'EXIT_SAPLCLRS_001'.
    If the field added is from database, then the field needs to be added in table 'LT_ONLY_THIS_FIELDS'(see below FM). Else, the fields needs to be added in the table 'ET_FIELDS' as shown below.
          CALL FUNCTION 'CLRS_GET_FIELDS_OF_STRUCTURE'
               EXPORTING
                    I_STRUCTURE         = 'MARC'
                    I_LANGUAGE          = I_LANGUAGE
               TABLES
                    IT_ONLY_THIS_FIELDS = LT_ONLY_THIS_FIELDS
            IT_EXCLUDE_FIELDS   =
                    ET_FIELDS           = ET_FIELDS
                    ET_FIELDS_TEXT      = ET_FIELDS_TEXT.
          CALL FUNCTION 'CLRS_GET_FIELDS_OF_STRUCTURE'
               EXPORTING
                    I_STRUCTURE         = 'DRAW'
                    I_LANGUAGE          = I_LANGUAGE
                    I_FIRST_CALL        = 'X'
               TABLES
                    IT_ONLY_THIS_FIELDS = LT_ONLY_THIS_FIELDS
            IT_EXCLUDE_FIELDS   =
                    ET_FIELDS           = ET_FIELDS
                    ET_FIELDS_TEXT      = ET_FIELDS_TEXT.
      ENDCASE.
    Here a field which are not from a database table is added
      ET_FIELDS-FIELDNAME = 'JUST_TEST'.
      ET_FIELDS-GROUPKEY  = 'C'.
      ET_FIELDS-DATATYPE  = 'NUM'.
      ET_FIELDS-LENGTH    = 2.
      ET_FIELDS-DECIMALS  = 0.
      APPEND ET_FIELDS.
    Regards,
    Rajesh

  • Search results showing incorrect modified date

    Hi All,
    I have a one difficulty in search results.
    Document showing incorrect modified date in search results. And this happens for one document only.
    We have customized the search/results.aspx page, Our document is showing correct modified date in document properties,All Items.aspx like 31/4/2013.
    But when i search with document name in search, result showing incorrect modified date like 24/6/2004.
    I checked with database in SQL, every thing is fine.
    I have updated the Modified date through powershell script for one document and after that this recent modified date is showing in search results.
    But after updating the Modified date through powershell, issued document not showing the recent modified date in search results. still showing as 24/6/2004.
    I should not do edit property and save, to create new version.
    I don't know what is happening in search crawl. All ready full crawl running daily basis.
    I want to check whether this issued document is crawling or not. Could anybody help me to get out of this. what is the main cause of this issue.
    Thanks & Regards
    MD.Liakath ali

    Hi,
    I'm seeing the same issue after upgrading the SharePoint 2010 to SharePoint 2013.
    When I search any upgraded document in SharePoint 2013, the document's "Last Modified Date" was showing an incorrect value in Search Results page but other metadata of document like "Last Modified User" is showing the correct
    value so the problem is not with document crawl, something wrong with Last Modified Date property in Search results.
    I have seen below comment as answer but I didn't understand the solution to fix this issue for all upgraded documents.
    The most likely cause is that there is metadata on the documents that is set to that date which is overriding the other dates in the search result. SharePoint isn't particulary imaginative so it's got to be finding that date from somewhere.
    Do we have any solution for this issue? Is this issue will be addressed in SharePoint 2013 SP1?
    Note: No issues with documents, which uploaded after upgrade.

  • Search results showing the source before the document title

    Hello,
    I have created a BI Catalog in Sharepoint 2010, which consists mainly of libraries with rdl items and I have also set a content source in Search Service to search into these libraries. Search results were fine, but after the
    last crawl I have noticed a change in the titles. The latest crawled items begin with  "Reporting Services -" in the title which probably is resulted by a
    differientiation in the crawl method. All the past crawled items keep the document name as a title without any prefix.
    I  am also certain that the problem is not in the web part which presents the results, because I have found in database level that the title field in the
    dbo.MSSCrawlURL table is prefixed for the new items. If you have experienced the same problem please help.  Thank you in advance.

    Hi,
    I'm seeing the same issue after upgrading the SharePoint 2010 to SharePoint 2013.
    When I search any upgraded document in SharePoint 2013, the document's "Last Modified Date" was showing an incorrect value in Search Results page but other metadata of document like "Last Modified User" is showing the correct
    value so the problem is not with document crawl, something wrong with Last Modified Date property in Search results.
    I have seen below comment as answer but I didn't understand the solution to fix this issue for all upgraded documents.
    The most likely cause is that there is metadata on the documents that is set to that date which is overriding the other dates in the search result. SharePoint isn't particulary imaginative so it's got to be finding that date from somewhere.
    Do we have any solution for this issue? Is this issue will be addressed in SharePoint 2013 SP1?
    Note: No issues with documents, which uploaded after upgrade.

  • How to create a Display template for people search results

    Hi,
    I've just installed Sharepoint 2013 and started to play around with it. Seems to be many improvements - among these are the ability to create Display templates.
    On my publishing page there is a default "employee lookup" app which returns prefferred name, title and department as default when I try to search.
    I would love to return mobile number aswell so I have tried to do the following:
    I made a copy of Display _Catalogs/Masterpages/Display Templates/Search/Item_Person.html
    Edited that one with the following:
    1. Added 'MobilePhone':'MobilePhone' to the "Managed Property mapping" in the top of the html   document:
    <mso:ManagedPropertyMapping msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName','BaseOfficeLocation':'BaseOfficeLocation','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','LastModifiedTime':'LastModifiedTime','Memberships':'Memberships','MobilePhone':'MobilePhone','PastProjects':'PastProjects','Path':'Path','PictureURL':'PictureURL','PreferredName':'PreferredName','Responsibilities':'Responsibilities','Schools':'Schools','ServiceApplicationID':'ServiceApplicationID','SipAddress':'SipAddress','Skills':'Skills','UserProfile_GUID':'UserProfile_GUID','WorkEmail':'WorkEmail','WorkId':'WorkId','YomiDisplayName':'YomiDisplayName'</mso:ManagedPropertyMapping>
    2. Set a var in the <body> with:
    var has_MobilePhone = !$isEmptyString(ctx.CurrentItem.MobilePhone);
    Created the following based on "DepartmentField":
    if(has_MobilePhone == true) {
    _#-->
    <div id="MobilephoneField">
    <!--#_
    var encodedMobilePhone = $htmlEncode(ctx.CurrentItem.MobilePhone);
    var displayMobilePhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "MobilePhone");
    if ($isEmptyString(displayMobilePhone)) { displayMobilePhone = encodedMobilePhone}
    _#-->
    <div id="MobilePhoneValue" class="ms-srch-ellipsis" title="_#= encodedMobilePhone =#_"> _#= displayMobilePhone =#_ </div>
    </div>
    <!--#_
    Saved the document to the masterpage galary and edited the search result page to (people search core results webpart) to "use a single template to display items" and selected my display template.
    Now the search result is still working but I get no mobile numbers to show up in the user info (only in the details which is default).
    Anyone has some bright ideas of what i'm missing?. I'm not used to code (which might be the cause :-)). If you also have an idea on how to make the value of the number = Mobile: <mobilenumber>. So the "Mobile:" static text is displayed
    aswell.
    Thanks a lot for your time.

    Hello,
    I did the same with my new SharePoint 2013 (I would like to display the mobile phone too) but without any chance. Have you done anything else ?
    This is my User Property "CellPhone" :
    http://www.cladstrife.com/CellPhone_Prop.png
    The ManagedPropertyMapping :
    <mso:ManagedPropertyMapping msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName','BaseOfficeLocation':'BaseOfficeLocation','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','LastModifiedTime':'LastModifiedTime','Memberships':'Memberships','PastProjects':'PastProjects','Path':'Path','PictureURL':'PictureURL','PreferredName':'PreferredName','Responsibilities':'Responsibilities','Schools':'Schools','ServiceApplicationID':'ServiceApplicationID','SipAddress':'SipAddress','Skills':'Skills','UserProfile_GUID':'UserProfile_GUID','WorkEmail':'WorkEmail','WorkId':'WorkId','YomiDisplayName':'YomiDisplayName','CellPhone':'CellPhone','HomePhone':'HomePhone'</mso:ManagedPropertyMapping>
    The "if_exist" variable :
    var has_cphone = !$isEmptyString(ctx.CurrentItem.CellPhone);
    And the "display" code :
    <!--#_
    if(has_cphone == true) {
    _#-->
    <div id="CPhoneField">
    <!--#_
    var encodedCPhone = $htmlEncode(ctx.CurrentItem.CellPhone);
    var displayCPhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "CellPhone");
    if ($isEmptyString(displayCPhone)) { displayCPhone = encodedCPhone}
    _#-->
    <div id="CPhoneValue" class="ms-srch-ellipsis" title="_#= encodedCPhone =#_"> Mobile: _#= displayCPhone =#_ </div>
    </div>
    <!--#_
    _#-->
    If I delete the test lines in the display code (if(has_cphone == true) it show "Mobile:" but without any mobile number.
    Thanks for your help if any idea :)
    Best regards
    Gabriel

  • Sharepoint 2013 custom search results grouping display template

    Hi,
    I am trying to implement custom grouping for search result items. I would like to group them by a managed property, but without using result blocks (query rules). The idea is to sort the results by the property and then compare the current item (ctx.CurrentItem)
    with the previous item using ctx.CurrentItem.ParentTableReference. If a new property value is detected we insert a new 'group header' (just some simple html). The problem is the ParentTableReference is undefined. Shouldn't there be such a property in current
    item object?
    I'm implementing this in a custom search result item display template...
    Thanks in advance.

    Hi,
    According to your post, my understanding is that you want to customize search result items display template.
    I suggest you get enumerate all properties of JavaScript context object and debug you code to watch the
    ctx.CurrentItem object.
    The following articles for your reference:
    Debugging Display Templates in SharePoint 2013 Search
    http://powersearching.wordpress.com/2013/01/25/debugging-display-temlates-in-sharepoint-2013-search/
    Enumerate all properties of JavaScript context object in display templates in SharePoint 2013
    http://sadomovalex.blogspot.co.uk/2013/06/enumerate-all-properties-of-javascript.html
    How to Define a Custom Group Display Template (GroupTemplateId) for the Search Results WebPart via JavaScript
    http://www.eliostruyf.com/how-to-define-a-custom-group-display-template-for-the-search-results-webpart-via-javascript/
    Creating customized search results in SharePoint 2013
    http://www.abelsolutions.com/totm/creating-customized-search-results-in-sharepoint-2013/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to display the detailed navigation with the Search Results

    Hello Gurus,
    I was able to display the search results in the same frame rather than opening the new window and getting it displayed. Now when the search results are displayed, my detailed navigation and portal favorites etc.. all the iviews are automatically suppressed.
    Please help me displaying the search results with Navigation Panel.
    Regards
    V.

    Hi Vaibhav,
    What do you mean by suppressed?
    Is it gone, or just closed?
    If it is just closed, you can try 2 things:
    1. Check if the property "Initial State of Navigation Panel" of the page has any influence.
    2. There is a javascript method that opens it.
    You can see it by importing the file '<b>com.sap.portal.layouts.framework.par.bak</b>'.
    Navigate to
    System Administration -> Support -> Support Desk -> Portal Runtime -> Browse deployment
    then the folder
    ROOT/WEB-INF/deployment/pcd
    and press download.
    Import from par to Developer Studio, and check the javascript files under dist/PORTAL-INF for a function called something like 'expandTray'.
    Hope that helps,
    Yoav.

  • Search result to get data from bing search and display it in sharepoint page.

    I have configured result source which gets data from bing site,i have given following url as source url
    http://www.bing.com/search?q={?searchterms}&format=rss&Market=en-Us
    but it returns only 8 results from RSS. i want to get all results of search and display it in my SharePoint search results page. 
    any pointers will be helpful. 

    Hi,
    According to your post, my understanding is that you wanted to search result to get data from bing search and displayed it in sharepoint page.
    To display more items, you can modify the item number when you add
    New Query Rule.
    To get all results, I recommend to use the “Show More”
    link in the result page.
    You can enter the URL when you add New Query Rule:
    "More" link goes to the following URL: http://www.bing.com/search?q={searchterms}
    Here is a great blog for your reference:
    http://sharepoint-community.net/profiles/blogs/integrate-bing-with-sharepoint-online-2013-search
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Apply Thumbnail ResourceRender to TREX Search Result

    Hi Guys,
    My Scenario is,
    I have to show the Thumbnail images in Search Result (TREX). I indexed my image gallery folder in KM. TREX works fine.
    And I Customize existing search result's ResourceRender for my need.
    I want to show the Thumbnail images (left side)  in search result if the result is image category.
    Is it possible? any other way to solve this?
    Thank you,
    Regards,
    Devasarathy Pandi

    Thank you Guys,
    Solved Throguh Applying this display property in Search Result Renderer Settings.
    rnd:thumbnail(width=100/height=100/alignLeft/contentLink),
    Thank you,
    Regards,
    Devasarathy Pandi.

  • Search result persisted on page

    Hi,
    i have created one search page for searching according to given criteria.
    on this page user can select the criteria and perform the search.
    all the functionality is currentely works fine.
    but, i have one problem..
    when i navigate on another pages in my application and come back on search page by clicking the link of search page.
    it displays me the criteria and search result which user searched last.
    why this is done ???
    instead of this i require a fresh search page with no criteria and no any search result.
    how do i achive this ??
    please help...

    hi yshintre,
    Sorry I was away few days. Did you solve your problem?
    >as you mentioned in your example getServiceVo()... actually what is that ?
    This is only a sample code. Here "getServiceVo()" is the method to access my Service VO in the AMImpl. When you add a VO in your AM (under the Data Model), you can find auto generated methods in the AMImpl class to access that VO instance.
    how could i get the object of ViewObjectImpl ?
    how can i access my VO in my Bean ?"ViewObjectImpl" is available in your AMImpl class.
    Off-cause you can access VO in the bean but best way here is to write your reset method in AMImpl and call from your Bean through bindings.
    Thanks,
    Prasad.

Maybe you are looking for

  • How do you open multiple email messages at the same time on Mail?

    Hi, are there any preferences to control how emails are opened from Mail client. Currently I can only open one emil at a time and can not toggle between messages or even toggle between the inbox view and a single message.  This is very frustrating es

  • IMac Intel Edirol FA-66 monitoring delay

    I read somewhere else through the discussions that Edirol products can have some problems working with GarageBand. I used it a few times on my iMac Intel with guitar/bass and every time I experienced a monitoring delay after 2-3 mins from instrument

  • Oracle BI Joins

    Hi all, I have two tables and there is no direct join between them in physical or logical layer, but there is a few indirect joins through a few tables. When I put these tables in one report in presentation services, it doesn't give an error. From qu

  • How to judge the data is numric

    hi everyone, I set a parameter in the selection screen, which has type char(6), standing for year and month, YYYYMM. How to check this parameter has numric value? Any suggestion is appreciated. Julian

  • What's the dialog box when you launch Aperture for the first time?

    I bought Aperture 3 from the App Store, installed it, and when I launched it something odd happened: I was interacting with another application, and when Aperture started up it out up the main window and a dialog box popped up that asked "Would you l