Search results webpart

Hi,
I am looking to configure "Search Results webpart" to display items that are currently checked out by the current logged in user. I want the results to be shown from the current site.
Can you please list steps to configure the result sources and property filters to achieve the same.
techie

Hi techie,
This behavior can be altered in Document Library Settings ->
Versioning Settings -> Draft Item Security
Select the option Any user who can read items.
This will allow all users to see draft items including the crawling account.
Reference:
https://support.microsoft.com/kb/2304855?wa=wsignin1.0
Thanks,
Eric
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]
Eric Tao
TechNet Community Support

Similar Messages

  • Cannot see managed properties values in search result webpart- Sharepoint online

    Hi,
    Cannot see custom managed properties at site collection level in ResultScriptWebPart for SharePoint online. where as it is visible when i create managed properties @SSA (Search Service Application) level.
    Below are the steps which I followed:
    1) I have added few custom managed properties at Search Site collection level in SharePoint online.
    2) Mapped those properties to user profile crawled properties
    3) We are using those custom managed properties in ResultScriptWebPart(People Search Core Results) by using ItemTemplate
    I cannot see those managed properties in search result.When I debug it in browser it comes as null.
    But when I add these managed properties @SSA (Search Service Application) level I can see the value in search result webpart.
      What is the reason value doesn't get populated  at Site Collection level?
    Thanks,
    Prashant A

    Hi Prashant,
    Based on your description, the site collection managed property cannot work in SharePoint Online.
    For troubleshooting this issue, I recommend to verify the things below:
    Please make sure that the full crawl has been run after creating the managed property.
    Please check if the managed property is set to be searchable.
    Please search with this managed property to see if the results can be returned.
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • Modify xsl such a way that search core results is similar to style of peopel search results webpart

    Hi
    We have a custom Contacts list where all the fields are single line of text columns.
    A new scope has been created for the above Contacts list.
    Now, the Search core results webpart should be able to get the search results for a given search criteria across all the columns. As of now, it is fetching only for column.
    I'm using the xslt tabular view to dsiplay the search results.
    Please provide me inputs to achieve the above functionality.

    Hi Kusuma,
    Here is an article about showing the contact list item in people search results web part with modifying the search scope rules and managed properties mapping, you can take a look.
    http://johnliu.net/blog/2012/9/25/sharepoint-showing-contacts-in-people-search-results.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • Error opening PDF files from search results webpart on anonymous SharePoint 2013SP1 site with IE

    Clicking search results, in the strict sense pdf files, using IE on an anonymous SharePint 2013SP1 site, I received the error: There was an error opening this document. The filename, directory name, or volume label syntax is incorrect.
    I would like to solve this problem on the server side.
    Starting position:
    SharePoint 2013 SP1
    Web Application:
    based on template 'Publishing Portal'
    Anonymous Access enabled
    Claims based authentication: Integrated Windows Authentication NTLM
    Client Integration disabled
    Site Collection:
    Anonymous Access enabled for 'Entire Web site' => group 'Anonymous Users' was created
    added permission to open items: $Web.AnonymousPermMask64 = "ViewListItems, ViewVersions, ViewFormPages, Open, ViewPages, UseClientIntegration, OpenItems"
    Client side solutions:
    c1) Open Link with “Open in new tab” or “Open in new window” => OK
    c2) Disable IE Add-on “Adobe Acrobat Sharepoint OpenDocuments Component” => OK
    c3) Set bDisableSharePointFeatures to 1 in regetit => OK
    Server side solutions:
    S1) Turn off Client Integration => didn't work, still same error
    S2) Modify DOCICON.XML => didn't work, still same error
    I gave these two options a chance:
    first: <Mapping Key="pdf" Value="icpdf.png" OpenControl="SharePoint.OpenDocuments"/>
    then: <Mapping Key="pdf" Value="icpdf.png" OpenControl="AdobeAcrobat.OpenDocuments"/>
    I modified DOCICON.XML on both hives 14 and 15.
    Remarks:
    - After changingparameters I allways did an IISreset.
    - As far as I understood I can only change bDisableSharePointFeatures on Client Side.
    Any help, suggestion, idea wellcome!
    Thanks!

    Hi folks, here's the reason for my problem. I used the oob search result web part. The result items (PDF items) are rendered by the template Item_PDF.html/Item_PDF.js. This template holds a code snippet that assigns a certain OpenControl to the PDF item - that's hard coded. So, no matter what you configure in DOCICON.XML, the PDF item will be opened with the control "PdfFile.OpenDocuments". Solution is e.g. just to leave the OpenControl blank.   
    template:
    /_catalogs/masterpage/Display Templates/Search/Item_PDF.html
    /_catalogs/masterpage/Display Templates/Search/Item_PDF.js
    code before:
    ctx.CurrentItem.csr_OpenControl = "PdfFile.OpenDocuments";
    code after:
    ctx.CurrentItem.csr_OpenControl = "";
    Enjoy
    Harry

  • Search Result Page Error

    Hi All,
       We have a trouble in SharePoint search result. we have custom page where we have search result webpart in it. Here, the site is anonymous and extended for it.
       The search webpart and pagination is working fine for authenticate users. When anonymous users search the result shows and we we click on the next page we are getting sorry something went wrong. Below are the exceptions we are getting
    Entering monitored scope (Request (POST:http:0/en/_vti_bin/client.svc/ProcessQuery)). Parent No  
    12/04/2014 10:56:19.60  w3wp.exe (0x5914)                        0x4C98 SharePoint Foundation          Logging Correlation Data       xmnv Medium  
    Name=Request (POST:http://80/en/_vti_bin/client.svc/ProcessQuery) e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:19.60  w3wp.exe (0x5914)                        0x4C98 SharePoint Foundation          Authentication Authorization   agb9s Medium   Non-OAuth
    request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0 e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Asp Runtime                
       aj1kl High     [Forced due to logging gap, cached @ 12/04/2014 10:56:19.60, Original Level: Verbose] SPRequestModule.PreRequestExecuteAppHandler e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Monitoring                
        aeap2 High     [Forced due to logging gap, Original Level: Verbose] Set diagnostics context correlationid {0}, trace level {1}, isDevdashboardenabled {2} e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          CSOM                  
            agw10 Medium   Begin CSOM Request ManagedThreadId=111, NativeThreadId=16640 e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Logging Correlation Data       xmnv Medium  
    Site=/ e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.02  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          CSOM                  
            ai3c0 Medium   Do not Check SPBasePermissions.UseRemoteAPIs permission. Site.ClientObjectModelRequiresUseRemoteAPIsPermission=False, IisSettings.ClientObjectModelRequiresUseRemoteAPIsPermission=True e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.02  w3wp.exe (0x5914)                        0x4100 SharePoint Portal Server       Microfeeds                  
      aizmk High     serviceHost_RequestExecuting e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.05  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          General                
           xxpk Medium   Unable to open Lookup list '{d7966e0d-e36c-40c2-a2fe-adea5b11239b}'.[Error was 0x81020026] e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.05  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          General                
           xxpk Medium   Unable to open Lookup list '{030c1db3-ae0c-4049-81f4-f8fccb68d7b2}'.[Error was 0x81020026] e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                
          fa42 Monitorable A large block of literal text was sent to sql (length 44546).  This can result in blocking in sql and excessive memory use on the front end.  Verify that no binary parameters are being passed as literals, and
    consider breaking up batches into smaller components.  If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields. Call stack:    at Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand
    command, SqlQueryData monitoringData)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean
    retryfordeadlock)     at Microsoft.SharePoint.SPSqlC... e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
        fa42 Monitorable ...lient.ExecuteQuery(Boolean retryfordeadlock)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName,
    String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback,
    Boolean& pbMaximalView)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags,
    ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallbac... e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
        fa42 Monitorable ...k, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient
    pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback,
    ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.SPList.GetItemById(Str... e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
        fa42 Monitorable
    Please help me out
    Thanks in advance 

    Hi Moorthy,
    can you please enable below setting to get search result for anonymous access.
    To get rid of it please do the following.
    Under the SharePoint Site go to Site Settings.  Search Administration -> Search and offline availability -> Indexing ASPX Page Content, Enable the option "Always index all
    Web Parts on this site"
    Under Search Service Application, do a Full Crawl for the content source to resolve this issue.
    see below link for more details
    http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-search-not-showing-any-results-for-anonymous-users.aspx
    Hope this will help you.
    Regards
    Soni K

  • 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

  • Search results web part error, missing tabs.

    Hello,
    I have a custom master page built from an html on Sharepoint Online.
    I want to add a Search Results webpart on my page, but when I do it, I see that this webparts has missing options. I only have the first two, and are not even complete, I cannot swith between basic and advance query and I don't have the refinement, sorting,
    test tabs..
    Opening the developer tools for the popup, I see the following error.
    Uncaught TypeError: Cannot read property 'add_resultRendered' of undefined on Search.configuration.js on line number 1.
    The point is, that if I quit my masterpage and I put the seattle, the webparts works perfect. So I know that there is something missing on my masterpage, but I don't have a idea about what can be.
    Any thoughts?
    Many thanks,

    Hi arcanedevice,
    According to your description, my understanding is that the Search Result Web Part was not showing data for Anonymous Users.
    The cause of this issues was due to security trimming. For resolving this issue, please do the followings:
    Under the SharePoint Site go to Site Settings.  Search -> Search and offline availability -> Indexing ASPX Page Content, Enable the option "Always index all Web Parts on this site"
    Under Search Service Application, do a Full Crawl for the content source
    More information, please refer to the link:
    http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-search-not-showing-any-results-for-anonymous-users.aspx
    After the above, compare the result. If this issue still exists, please run the following PowerShell Script:
    $web = get-spweb "http://yoursiteurl/subweb/subsubweb"
    $list = $web.Lists["ListName"]
    $list.BreakRoleInheritance($true)
    $list.AnonymousPermMask = $list.AnonymousPermMask -bor ([int][Microsoft.SharePoint.SPBasePermissions]::ViewFormPages) #binary or adding the permissions
    $list.Update()
    More information, How to Make List Items Visible to Anonymous Users (in Search)
    http://soerennielsen.wordpress.com/2012/05/29/how-to-make-list-items-visible-to-anonymous-users-in-search/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Search Results Web Part, Managed Navigation and Paging

    I am using managed navigation and have a search results web part that uses the Term.IdWithChildren as the query to filter the results by the selected navigation term. This works nicely until you need to us the paging. As soon as you go to the next page there are
    no results.
    It would appear that as soon as the URL has the #k=#s=11 added it looses the navigation term. This is a core part of the Sharepoint solution that I'm delivering and I cannot progress this any further and I'm going round in circles. I have another results
    page that has the search results webpart on but doesn't use the navigation term filtering and the paging works fine.
    As an alternative I was looking at writing my own search results web part, can I do this and render the sharepoint display templates somehow?
    Any help would be appreciated.
    Stuart

    Hi Stuart, 
    i suppose you may need to check your design regarding this custom coding, 
    as i know, when i tried previously, i didn't take any attention on the query result, so that it appear as no result. 
    please have a check this links, it helped me once, 
    http://technet.microsoft.com/en-us/library/gg549981.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/59e6e258-294d-44b2-996a-547e4e9f519d/customize-search-statistics-and-search-paging-web-parts
    http://kamilmka.wordpress.com/2012/04/14/customize-sharepoint-search-results-paging/http://blogs.msdn.com/b/sanjaynarang/archive/2009/02/20/handling-paging-and-total-results-count-in-sharepoint-custom-results-page.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to filter list items by current system time in search result wp or result source SharePoint 2013

    I want to display Items with PressDate less than or equal
    to current time in my search result webpart in SharePoint 2013.
    It is working fine for current date but not considering current time.
    {searchTerms} ContentType="ABC" PressDateTime<{Today+1}
    Above query not supporting for Now(), due to that it
    is showing items which are less than or equal to current (today's) date.
    How can I compare time with current system Time?..Thanks in advance.
    Regards, --NP

    You can achieve the same by using a Current Date Offset in a CAML Query to Filter List Items.
    Have below links for your reference.
    Sharepoint Tips And Tricks
    CAML Query to Date prior to 30 days from today
    Thanks.

  • Add "Save" button to search results

    Hi,
    a customer would like to add a &#034;Save&#034; button to search results to enable users to download documents in KD instead of opening them.
    Results can be for instance from a crawled file system.
    How can I do it?
    Thanks.
    Jacopo

    As long as your list is bring crawled, which it must be, your custom columns should get mapped to managed properties. You can now update your Search Results Web Part's Item Display Template to retrieve this additional particular managed property,
    and then display it if there is a value.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield
    The library is being crawled and I added the column to "Managed Properties" on the search settings on O365 and mapped it to the actual column. Now I don't know how to add it on the "Search Result" Webpart to include the Column Property before
    displaying the name of the document
    AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TY

  • WebPart: Display the search result in an spgridview with filter and sort

    hi,
    For explain more in details.
    I need the search result in a table displaying some meta common in the different library.
    I've to have the possibility to filter and sort the grid.
    i'm trying to extend Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart
    i can have the result from the textbox search with: SharedQueryManager.GetInstance(this.Page).QueryManager
    My queryManager is populate in the method: CreateChildControls
    I put the sample code i use. and in the populateData method, my querymanager is null while in the createChildContriol, it's correctly populate with : this.queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
    using System;
    using System.ComponentModel;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    using Microsoft.SharePoint.Search.Internal.WebControls;
    using Microsoft.Office.Server.Search.Query;
    using Microsoft.Office.Server.Search.WebControls;
    using System.Data;
    using System.Xml;
    namespace CustomSearchResultWebPart.CustomCoreResultWebPart
    [ToolboxItemAttribute(false)]
    public class CustomCoreResultWebPart : Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart
    private ObjectDataSource objDS;
    private const string ObjectDataSourceID = "gridViewDataSource";
    private QueryManager queryManager;
    private SPGridView gridView = new SPGridView();
    protected override void CreateChildControls()
    //here is correctly populate
    this.queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
    try
    LoadSearchGrid();
    catch (Exception ex)
    Page.Response.Write(ex.Message + " - " + ex.StackTrace);
    //base.CreateChildControls();
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    protected override void OnPreRender(EventArgs e)
    //gridView.DataBind();
    base.OnPreRender(e);
    protected override void Render(HtmlTextWriter writer)
    base.Render(writer);
    public DataTable populateData()
    DataSet dtSet = null;
    DataTable dtTable = null;
    //here is my query manager is null
    if (queryManager != null && queryManager.Count > 0)
    XmlDocument xdoc = new XmlDocument(); //We are using XmlDocument
    xdoc = queryManager.GetResults(queryManager[0]);//xml returned by search
    if (xdoc != null)
    XmlReader xmlReader = new XmlNodeReader(xdoc);
    dtSet = new DataSet();
    dtSet.ReadXml(xmlReader);
    if (dtSet.Tables.Count > 1)
    dtTable = dtSet.Tables["Result"];
    return dtTable;
    private void LoadSearchGrid()
    this.objDS = new ObjectDataSource();
    this.objDS.ID = ObjectDataSourceID;
    this.objDS.SelectMethod = "populateData";
    this.objDS.TypeName = this.GetType().AssemblyQualifiedName;
    this.objDS.ObjectCreating += new ObjectDataSourceObjectEventHandler(objDS_ObjectCreating);
    this.Controls.Add(objDS);
    gridView.ID = "_gridView";
    gridView.AutoGenerateColumns = false;
    gridView.Width = new Unit(100, UnitType.Pixel);
    gridView.EnableViewState = false;
    gridView.AllowPaging = true;
    gridView.PageSize = 5;
    gridView.DataSourceID = ObjectDataSourceID;
    this.Controls.Add(gridView);
    void objDS_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
    //e.ObjectInstance = objDS;
    protected void gridView_RowDataBound(object sender, GridViewRowEventArgs e)
    //throw new NotImplementedException();
    Do you have a sample that i can use or some tutorial?
    thanks for your help

    I added this in my class
    public class CustomResultsDatasource : CoreResultsDatasource
    public CustomResultsDatasource(Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart parentWebPart)
    : base(parentWebPart)
    View = new CustomResultsDatasourceView(this, GetType().Name);
    public class CustomResultsDatasourceView : CoreResultsDatasourceView
    public CustomResultsDatasourceView(SearchResultsBaseDatasource dataSourceOwner, string viewName)
    : base(dataSourceOwner, viewName)
    //make sure we have a value for the datasource
    if (DataSourceOwner == null)
    throw new ArgumentNullException("DataSourceOwner");
    CustomResultsDatasource datasource = this.DataSourceOwner as CustomResultsDatasource;
    this.QueryManager = SharedQueryManager.GetInstance(datasource.ParentWebpart.Page).QueryManager;
    And this in my customSearchResultWebPart
    protected override void CreateDataSource()
    //base.CreateDataSource();
    this.DataSource = new CustomResultsDatasource(this);
    How can i use queryManager in populateData?
    thanks for your help

  • Display Search Results of Content Search WebPart in a Calendar Style

    Hi,
    I have currently the requirement to gather events from calendars (event list) that are spread among dozens of site collections. Calendar rollup or overlay only works within a sitecollection (right?). 
    I thought that I might be able to use the Content Search WebPart for this task. Is it possible to create displaytemplates that transform the search results into a calendar like view?
    Thanks
    Sven

    Hi Sven,
    As I tested, I can overlay SharePoint calendars across site collections in the same web application. However, by design it doesn't work across web applications.
    I'd like to confirm if you are overlaying calendars across site collections or web applications. If your situation is the former, did you recieve any error message?
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • 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

  • 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

  • Using "Restrict by app" in change query causes issues with Search Results

    Hello!
    I am hoping some experienced SP admin can help me out. I am having issues with the relevance ranking for my search results web part.
    I created a Wiki (OOTB) within a site collection and on the home page of the Wiki I was looking to apply a Search Box and Search Results web part for easy searching. I wanted to ensure the search results were restricted to the scope of the pages within the
    wiki. I did the following after adding the 2 web parts:
    Entered edit mode for the page
    Started to edit the Search Results web part
    Under Properties for Search Results clicked on "Change Query"
    Navigated to BASICS and clicked "Switch to Quick Mode"
    For Select Query, picked "Wiki (System)" option
    For Restrict by app, picked "Specify a URL" and input the wiki URL "http://webapp.com/sites/sitecollection/wiki"
    Click OK
    The web part has 6 automatic results when I hit the page. These are the only 6 pages in my wiki. When I search a word or title of a page, they are not ranked in order or relevance. The ordering is static to what was being shown before the search, but the
    keywords I'm searching are bold. With out the taking the steps above, I can easily search these pages and have them ranked appropriately so I'm not too sure what I'm doing wrong. 
    Other Details
    The pages have been crawled and can be searched from anywhere else in SP.
    I am only a site collection admin for this specific site collection.
    I other than the steps above, I have not made any changes or customization to the search web parts; they are both out of the box SP.
    The SP Farm admin we unable to pin point what the root cause is either.

    Hi Mikael,
    Sorry for the wait, I was unable to post pictures, which i felt would better describe my issue.
    Could you output the query template you are ending up with?
    If you can tell me how to accomplish this, then I can provide it. Please keep in mind that I am only a site collection admin.
    Also, is the ranking/sorting for your webpart set to ranking?
    When looking at the web part settings, I didn't see an option to modify the ranking. Unfortunately, some sites in my intranet are down now so I can't even double check. Once it's back up, I will verify this as well.
    And how do you know they are ranked incorrectly?
    I wanted to display an image showing what I meant by this. As the wiki is down, I'll do my best with words. When I visit the wiki home page, I already have the search and search results web parts there. Without searching anything, the search results
    web part displays 6 pages that are available in the wiki. When I search, I expect to see the most relevant result at the top. similar to the following: 
    *Search result from another section of the intranet site.*
    What I receive instead is the same list of wiki pages, in the same order. The most relevant result
    is not moved to the top like in the image above, but I can see that the word "rush" is highlighted in bold. I hope this helps.
    If you need more of a description, please let me know.
    Thank you

Maybe you are looking for

  • How to create a dynamic view

    I have 5 tables of which one table is transaction table which stores all the trasanctions it has near about 30 colms from which i need create a dynamic view... where user have to passed 5, 6 parameters and get the result . how can i create a precompi

  • Error of method not found in C# class in VS 2013 on win7

    I am changing a C# code in a solution (it has many files and projets) from VS 2013 on win 7. I added some properties in class1. It was built well. But, it has run-time error: Method not found : class1.set_p1(system.string) The code logic is as follow

  • Imported images appear too small in iphoto

    Posted first in Leopard System forum. Assumed, can have something to do with import. (that's how I posted it there): First wanted to post this in the iPhoto thread. But it has to have to do something with the import or permissions. Images of 164 KB a

  • Weird duplicates

    Hello I have a large(ish) Aperture with masters referenced to an external drive.  At one time I tried putting masters to a NAS but found it too slow, so moved most back to external drive.  Somewhere along the way, I ended up with multiple instances o

  • What is a saved search query? And can I delete it?

    I was making some back up disk and created a Saved Search Query. Can the file that's on my desktop be trash? What exactly is this, and what is it's purpose. Greg