Custom List Item Pages in Search Result

Hi there,
We are using SharePoint 2013 and have built a custom web part that displays a series of items from a list. When you click on one of the items, it takes you to a custom page that displays the selected list item, styled with our company branding. This works
perfectly. However when a user performs a search, the search results includes the link to the SharePoint list item, and not the custom branded page. We'd like to have the search results include this custom page, instead of the standard SharePoint dispform.aspx
page. Is there anyway to exclude the dispform.aspx and include our CustomItem.aspx in this search results? If so, how is this possible?
For instance, a standard search returns the result:
https://mydomain.com/Lists/Announcements/DispForm.aspx?ID=23
Our custom branded page, which we want included in Search results is this:
https://mydomain.com/AnnouncementsDetail.aspx?ID=23
Thanks in advance!
cflbasser

Does you custom page have a managed property associated with its location, say 'myURL'?  I think you should be able to achieve this by customizing one of the Search Display Templates.  There are a couple of things involved here.  For Result
Display rendering, Item_Default.html display template will have a "ctx.RenderBody(ctx)" call, in this case calling Item_CommonItem_Body.html template to display each item. 
Take a look through Item_CommonItem_Body.html and there should be a place where instead of the OOTB managed property like Path or Url, you could put in your custom managed property to be displayed.  It's best to not update the default display templates
but create custom ones and use custom result types with them.  In this scenario, you are not touching what's being indexed, but simply changing the UI layer.
Another idea would be to use CEWS (Content Enrichment Web callout) and simply take the existing managed property responsible for printing out the link (like URL or Path), re-write it using some regex or similar logic and output it to the existing managed
property or a new one.  You could have a trigger to only do this in specific scenarios to narrow this down, such as only to fire if an input path prefix matches a condition. 
I would recommend doing this with Display Templates if possible, since introducing CEWS can have a performance impact on crawls, depending on how many items will need to be touched.

Similar Messages

  • Web app: Custom List Layout for WebApp Search Results

    Hi there
    I am quite familiar with creating additional .tpl list layouts and using them.
    Question though, is it possible to have a WebApp search form return results using a custom layout as opposed to the list or list_backup views i.e. customize the following:
    {module_webappsresults,,,true,-1,,1}
    Any help would be much appreciated!
    Gavin

    Hi Enjin Powerhouse,
    Please review the following thread: http://forums.adobe.com/message/5668839#5077760. Unfortunately {module_webappsresults} is not a supported layout.
    Cheers.

  • How to Filter list/library view pages from Search Results?

    Hi All,
    Currently my search configuration is searching everything on a site collection. I have created custom scope for that.
    But I would like to remove the search results for list/library views. The search should only show the documents, pages (but not list/library view pages).
    Please guide me on this.
    Appreciate your help.
    Thanks,
    Rahul Babar
    ASP.NET, C# 4.0, Sharepoint 2007/2010, Infopath 2007/2010 Developer http://sharepoint247.wordpress.com/

    Navigate to the site that contains the list or library that you want to change.
    Locate and click the list or library you want to customize.
    Click Site Actions, and then click Site Settings.
    Under Site Administration, click Site Libraries and lists.
    Click an item from the list, for example, Customize “Shared Documents.”
    On the List Settings page, under General Settings, click
    Advanced settings.
    In the Search section, under Allow items from this document library to appear in search results, select
    Yes to include all of the items in the list or library in search result or
    No to exclude all items from search results.
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/enable-content-to-be-searchable-HA010379092.aspx

  • How do you make items on the search result list a different colour after viewing as Explorer does.

    How do you make items on the search result list a different colour after viewing as Internet explorer does?

    Hi and welcome -
    Start with fixing this missing semicolon  (in red)
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
              background-color:#1A1A1A;
              background-repeat: no-repeat;
              background-position: 95% 50%;
    You will find you will get faster, more accurate help from us if you upload your test page and any dependent files to your server and post a link here.  That way we can examine ALL your code

  • Customized "create item" page

    I have a issue to create a item in a custom item type.
    this item type is complex, and i think it need a customized create item page.
    but i can not find document for this.
    another way is write a web app and do this job with portal's plsql api.
    still a problem: how can I set context?
    wwctx_api.set_context() need both user and password, how do i get that password?
    any sugguestion?

    Hi Peter,
    If you want to access specific Portal resources in PL/SQL from any client other than your browser, you will need to use the API function wwctx_api.set_context(). Examples are accessing WWSBR_ALL_ITEMS when connected to the database with SQL*PLUS. There is no need to use this function if you are running e.g. a PL/SQL item from your browser. The context is automatically set.
    The function wwctx_api.set_context() indeed requires the SSO password. If you really need this functionality without supplying a password, you can use the unpublished API call wwctx_api_private.set_context(). Notice however that this one is unpublished and therefore unsupported to be used. Oracle can change this API without further notice.
    Hope this helps,
    Erik

  • How to display the Attachment(picture) on the list item page?

    I have attached a picture to the list item and then when I click the item, there is a link of the attachment but not the picture graphics! I want to display the picture on the list item page and how to do it?
    I am a beginner of SharePoint 2010 and my English is not very good! Thanks!

    Hi,
    Using few easy steps you can set image in your out of the box List View, Edit and View Item Page.
    1. Create one Picture type Column in your list.
    2. Just create one Event Handler with Item
    /// <summary>
    /// An attachment was added to the item.
    /// </summary>
    public override void ItemAttachmentAdded(SPItemEventProperties properties)
    base.ItemAttachmentAdded(properties);
    SPListItem item = properties.ListItem;
    //SPAttachmentCollection attach = item.Attachments;
    string attachmentUrl = item.Attachments.UrlPrefix + item.Attachments[0];
    item["PictureColumnName"] = attachmentUrl;
    item.Update();
    Now, just add item with attachment and you will see attached image in Picture Column field.
    Manoj | SharePoint

  • Need Adds on to highlight or select several(next) pages in search result on current page?

    Need Adds on to highlight or select several(next) pages in search result on current page?

    Do you mean this: you would select a bunch of links with your mouse, then right-click and choose something like "open all these links in new tabs"?
    There are extensions like that. Here are a few examples, but since I don't use them myself, I don't recommend any particular one. You can check the reviews and try the one(s) that sounds good to you:
    * [https://addons.mozilla.org/en-us/firefox/addon/multi-links/ Multi Links]
    * [https://addons.mozilla.org/en-us/firefox/addon/selection-links/ Selection Links]
    * [https://addons.mozilla.org/en-us/firefox/addon/SnapLinksPlus/ Snap Links Plus]
    If you already have one of those but it stopped working, make sure you have the latest version. You can check for updates to your extensions here:
    orange Firefox button (or Tools menu) > Add-ons > "gear" button > "Check for Updates"
    Any luck?

  • Setting Custom Master page in search results page - Publishing site

    Hi,
    I have a publishing site, in which i have a custom Master page.
    However when doing the search in the site, the search results does not show the custom Master page.
    Is it possible to set the custom created Master page for the search results page? How to achieve this?
    Thanks

    Hi Venkat,
    The search page for a publishing site is a file available in the layouts folder (I believe it is the osssearchresults.aspx if you see the address bar). It is used by all web applications and site collections in your farm. So ideally you should not change
    it. I mean you can change it to point to your master page but it is bad practice ..
    I would instead do the following
    1. Create a custom search results web part page and place it in the site collection itself (one of the document libraries)
    2. Custom search results is not difficult because all search results pages are made of a set of Out of the box search results web parts. If you add the same webparts to your page as the default search results page, you have effectively created a copy of
    it
    3. go to site settings --> search settings and change the search results page to your newly created page
    4. The newly created page by virtue of its location will automatically use the master page the rest of the site uses.
    I could not spend the time to try the above for you but I am sure the above will work.
    Thanks and Regards,
    Partha
    AvePoint

  • Adding PRINT Button on a List Item Page

    Hi,
    We have an existing custom list for our asset tracking. We are required to make the list item's page printable by adding a "PRINT" button on it. Currently, a list item's page has a "Close" button together with the following tabs such as: "New Item", "Edit Item", "Delete Item", "Manage Permissions", and "Alert Me". "Print" button should be like the "Close" button. Once the "Print" button will be click then a "Print" window will appear to select the printer to use. It will print only the list item's content and not the whole page.
    Is there anyone who implemented as what describes above? Please help me how to implement this.
    Thank you in advance.
    Jack

    Hi,
    You can refer to the following two articles to add a "print list" option to the list actions menu:
    How to add a "print list" option to the list actions menu
    http://www.sharepoint-tips.com/2007/01/how-to-add-print-list-option-to-list.html
    List Print Templates - Beta1
    http://www.codeplex.com/sharepointtemplates/Release/ProjectReleases.aspx?ReleaseId=6018
    Hope this helps.
    Rock Wang
    Rock Wang– MSFT
    Hi Rock,
    Thank you for giving those links.
    I checked it and it was almost the same with Andre's posting. I did not try to install since as i understand, i need to do it in the server that hosted our portal which i'm afraid of doing it. I'm not an advanced user of sharepoint so i'm very careful of doing changes or enhancement to our portal.
    Jack

  • Custom Metadata is not in Search Result result set

    Hello. I have created a custom metadata xDAMAuthor. I have used it in a rule for check-in profile. Also have check-in a content by filling this field. Now the search form has this metadata as one of its field and I can search by using this field, also the search result returns the aforesaid content which I have checked-in. When I am looking into the SOAP format of the GET_SEARCH_RESULTS then that metadata is not there in the row of the SearchResults resultset. But if I see the SOAP format of the DOC_INFO of that content the DOC_INFO resultset contains that metadata. How can I solve the problem?
    Note: In the Admin Applet->Configuration Manager->Information Fields, Enable for Search Index is checked for this metadata.
    Thanks.

    the search result returns the aforesaid content which I have checked-in
    And do you see you metadata in the results? I guess you don't. Unless you followed http://docs.oracle.com/cd/E23943_01/doc.1111/e10797/c03_finding_files.htm#CIHEFHAI and created a custom search result template.
    I am sure that GET_SEARCH_RESULTS have all the metadata from returned items somewhere (probably in a result set), but I'm not sure what's returned - it could be very well the row as you see in the browser. Therefore, you might tried to use your custom search result template in your call (in fact, I think for a user always the default one is used).
    Should be easy to give it a try.

  • Use Sharepoint Item Title on Search Results

    Hello,
    I'm trying to use the property Title of files on a Document Library as the Title of search results. It seems that I have to map the crawled property "TermTitle" to the managed property "Title". 
    Notwithstanding, the crawled property "TermTitle" is not available on the list. I'm using Sharepoint Online, after-upgrade.
    Any tips?
    Thanks!

    Hello, Mr. Mahfoud, Thank you for your assistance! I looked for the crawled properties "Title of item in the list" and TermTitle but neither are available, take a look:
    cant post the link to the img directly, but you can see it here - http://social.msdn.microsoft.com/Forums/getfile/510784
    Maybe the name has changed?

  • Get the Version history of a sharepoint 2013 Custom List item

    Hi All,
    I am having doubt to retrieve the field version information with the comments.
    For this field i am done like this
    1.Creating a custom list
    2.And enable versioning for the list
    3.And add a field with field type 'Multiple Lines of Text' and in the Addition Column Settings section 'select yes radio button option in 'Append changes to the Existing text'.
    4.If we done like this the changes to the list item are available outside of field control.
    Can any one help me regarding this field to get the all the versions of list item along with modified data.

    hi Asatish,
    Thanks for posting your issue, Kindly browse the below mentioned URLs to know about the fixes of this issue
    http://berg-henry.blogspot.in/2010/11/custom-list-form-with-version-history.html
    http://somnathmatere.blogspot.in/2013/10/sharepoint-2010-custom-display-form.html
    http://blog.qumsieh.ca/2009/01/29/understanding-the-append-changes-to-existing-text-option/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • OIM 11g r1 custom field in simple user search result

    Good morning,
    i need to visualize a custom field in the OIM simple user search result table. At the moment, when a simple user search is performed, the returned attribute is only the "Display Name".
    For the advanced user search result table, is possible to add other fields modifying the Search Results table configuration in Advanced->User configuration->Search Configuration.
    How can i do the same the for simple user search result?
    Thank you.

    Yes, i tried to add my custom attribute to both Simple and Adv search result table, but without luck. Only Display Name column attribute is shown when a simple search is performed.

  • Exclude deleted items from the search results

    My users state that documents that they deleted days ago are still showing in the search results; how do I exclude all the items in all of the farm's Recycling Bins from being displayed in the search results?
    Also, I have heard complaints that the search is displaying results that match their query, but they don't have permissions to the files; how can I exclude items that the user doesn't have permissions for?

    Take a look at the following article.  There are several policies that cover how long items remain in the index if they are missing from an individual crawl.  By default they tend to be set fairly high (I think 30 days is about the average).  YOu
    can change these values to modify the policies to remove content more quickly.  Just remember missing from a crawl isn't always due to an item being deleted.  So if you decrease these policies you run the risk or removing existing content along with
    deleted content.
    http://geekswithblogs.net/simonh/archive/2013/12/09/search-crawl-deletion-policies-sharepoint-2013.aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Bring Audio Preview to Artist/Album pages and search results!

    Note: This idea references features from the new Discover tab which may not have reached all users yet! If you have any feedback about discover, please head over to this ideas topic. 
    Summary
    One of the most useful features of the new discover tab is the ability to "Preview" recommendations.
    I think this feature would be very useful if rolled out to other pages, such as Artist/Album pages, as well as search results so you can easily preview content without interrupting what you are already listening to. Music discovery for me goes far beyond what the Discover tab suggests!
    Implementation
    The behind the scenes work to make this happen might stretch further than I am imagining, although it the new web based pages such as discover and artist pages run on the same platform, how hard can it be to migrate a feature! :) 
    Good news for the Spotify UI team is implementing this would require only minor changes, since it can be easily worked into the already available elements, just like on Discover. 
    For anyone who does know, here is what audio preview looks like in Discover:
    This could easily be added to other pages:
    Artist Pages
    Search Results
    And with a minor change, a track preview button would be epic!:
    Excuse my paint skills! 
    Conclusion
    This feature being rolled out would greatly add to my Spotify experience! Add your kudos if you agree! :) 
    Peter
    I do not work for, or am anway professionally connected to Spotify

    Updated: 2015-07-27Hello!
    Your idea has been submitted a while ago but unfortunately hasn't gathered enough kudos (25 per year). In order to keep an overview of the active ideas in this forum, we will close this idea for now. However this does not mean that your idea has been declined by Spotify.
    If you still feel strongly about your request, we encourage you to post your idea in a little different form again! Maybe now is the right time to receive the support of our community for your suggestion! ;)
    Do you have any further questions on how the idea exchange is managed? Just click here!

Maybe you are looking for