Content Search webpart- Build you query page is blank

Hi,
We have a SharePoint Online site, in which Content Search web part is not working properly. By clicking on "Change Query" button, it opens a blank page with the title "Build Query". Nothing is loaded on the page except the title..
Can you please let me know how to resolve this issue.
Thanks in advance!!
- Anjani

CHeck if we get error in ULS Logs. Use below to do si
http://www.vrdmn.com/2014/03/view-tenant-uls-logs-in-sharepoint.html
Apparently you can do it using Windows PowerShell for SharePoint Online cmdlets
http://technet.microsoft.com/en-us/library/fp161379.aspx
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • Choose display template based on result type - Content search webpart

    Hi 
    Is it possible to choose display template based on result type in content search webpart same like search results web part? If not available can it be achieved programmatically?
    The content search web part is queried against document content type. Based on the document type, the document has to be seen in the hover template.
    Please advise.

    Hi,
    From your description, my understanding is that you want to choose display template based on result type as search result Webpart in Content Search Webpart.
    You could customize your display template for Content Search Web Part, please refer to this article:
    http://www.benprins.net/2014/05/21/sharepoint-2013-custom-display-template-for-content-by-search-web-part/
    Best Regards,
    Vincent Han
    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]

  • Building Query for SharePoint content Search Webpart

    Hi,
    There is a content search webpart being used for displaying the Related Items from a Page library. Whenever a new item/Page is added into the Page library, there is a column that accepts multiple values.
    Now my requirement is, when a new page is added (which would be a part of custom page layout which has Search webpart) with a Column named say for Ex: 'Status' values as New, Old, Newer and when this page is opened, I want the search web part to display
    all other items/pages whose 'Status' column values would have one among these.
    As I do not have any idea on building the query with this webpart, any help/suggestions would be greatly appreciated.

    Dipti,
    How about replacing you line as below (with content class)
    var newQuery = 'ContentTypeId:0x0102*'+ ' ' +'EndDate'+ '>=' + date;
    with
    var newQuery = 'contentclass:STS_ListItem_Events'+ ' ' +'EndDate'+ '>=' + date;
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Content Search Webpart Query (urltoken to list metadata column)

    Im developing a internet site using Cross site publishing.
    In the publishing site collection, on a category page, Im trying to query the relevant contents
    on a catalog list using urltoken to metadata column on a list using Content search webpart.
    I have created list of departments in the metadata and same is used as part of managed navigation.
    Metadata term : New department
    friendly url : New-department
    When I query the Catalog's metadata column (department column) using the urltoken.1 (new-department) it is not fetching the results
    since the value is New department (space between two words)
    Any help on how to query correctly.

    Hi Ramamor,
    Thanks for posting your issue, Kindly browse below mentioned URLs to configure the query in a content search web part for content Metadata step by step
    http://blogs.technet.com/b/tothesharepoint/archive/2013/03/07/stage-5-connect-your-publishing-site-to-a-catalog.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/05/23/stage-10-configure-the-query-in-a-content-search-web-part-on-a-catalog-item-page.aspx
    http://sp2013.blogspot.in/2012/08/content-search-and-metadata-driven.html
    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

  • Content search webpart query

    Hi ,
    I am to trying to add a property filter to a content search webpart.I have to query the property with the page title of the current page.So assuming my page url ends with "/Pages/b1.aspx".I want to query by b1. I see that there is "value of
    a token from url" option available in the drop down but I cannot make out how I can parse out the page title("b1" in the example).
    Thanks in advance,

    Hi  ,
    When you select Value of a token from URL,   the query text will add {URLToken.1} by default.  {URLToken.1} represents a value from the URL of the current page.  The integer, in this case
    1, represents the value in the URL as counted from right to left. So, for example, the current page URL where the content  search web part is added in : http://www.contoso.com/SitePages/Home.aspx, the query variable {URLToken.1} represents the value Home.aspx.
    For query variable {URLToken.2}, it represents the value SitePages .
    This means  only if the current page where the content search web part is added in  is  bi.aspx, you can add {URLToken.1} and filter all results whose URL contains bi.aspx in the last.
    For achieving your demand, you can create a new content source with the URLs you want .
    http://technet.microsoft.com/en-us/library/jj219808(v=office.15).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to display Column of a particular list to page using Content Search Webpart?

    Hi,
    I am having two columns 'Column1 & Column2' in a list names Demo. I need to display the items of both the columns into a page with the help of Content Search Webpart. I am using SharePoint 2013 Platform.
    Expecting some useful comments on the same...!!
    Warm Regards,
    Tony Joy.

    Hi,
    If you just want to display two columns of a list, Content Query Web Part will be more appropriate:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/05/10/how-to-use-the-content-query-web-part-to-rollup-data-in-sharepoint-2013.aspx
    To display multiple columns, here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/1484df2b-0fb9-4b58-b833-a75019db88c7/content-query-display-multiple-columns
    Best regards
    Patrick Liang
    TechNet Community Support

  • Content search webpart query is not rendering result as per the expectation !!

    Hello,
    I have 5 Content search web part on same page with different display templates.
    1) Search Aggregated Result - This display search results for announcements,discussion and wiki as per the current user.
    2) My websites - Thsi displays site links as per the current user.
    3) My Tasks - This display task items as per the current user
    4) Daily calendar - This display the results as per the date selection in calendar control.
    For Daily calendar - I have specified calendar control in custom display template to filter search results based on date selection which is working as below:
    I have got the reference from following link that changing the query dynamically to filter search result data - 
    http://sharepointificate.blogspot.in/2014/08/content-search-webpart-dynamic-filtering.html
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(ctx,function(){
    $('<div id="trCalendar" class=""></div>').insertBefore('#idCalender')
    $(document).ready(function () {
    $("#trCalendar").datepicker( {
    onSelect: function(date) {
    var groups = Srch.ScriptApplicationManager.get_current().queryGroups;
    $.each(groups, function () {
    // Look for query groups associated with a CSWP
    if (this.displays != null && this.displays.length > 0) {
    if (this.displays[0] instanceof Srch.Result) {
    // Update and execute query
    var newQuery = 'ContentTypeId:0x0102*'+ ' ' +'EndDate'+ '>=' + date;
    this.dataProvider.set_queryTemplate(newQuery);
    this.dataProvider.issueQuery();
    selectWeek: true,
    However, this date query is being applied for every search result web part mentioned in page.
    How can I make it work only for the Daily Calendar web part ?
    Your answer will be much appreciated.
    Thanks and Regards,
    Dipti Chhatrapati

    Dipti,
    How about replacing you line as below (with content class)
    var newQuery = 'ContentTypeId:0x0102*'+ ' ' +'EndDate'+ '>=' + date;
    with
    var newQuery = 'contentclass:STS_ListItem_Events'+ ' ' +'EndDate'+ '>=' + date;
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Opening documents in Content Search Webpart

    Hi, 
    I have configured Office Web app server with my SharePoint farm. It is working fine with document libraries. I have added the content search web part on home page. Office web app is not opening documents from CSWP. If i click in the document in CSWP, it
    always prompts me to download the document.
    Is this behavior is by design or i am missing some configuration in CSWP?
    I have found article about same problem in Content Search Web Part. 
    http://jeroenvanree.wordpress.com/2012/10/18/sharepoint-2010-content-query-web-part-open-office-documents-in-office-web-app/
    Same work around for CSWP in SharePoint 2013? Any help?

    I see it a default behavior
    Try below as workaround
    http://jeroenvanree.wordpress.com/2012/10/18/sharepoint-2010-content-query-web-part-open-office-documents-in-office-web-app/
    First I added a couple of templates to get the File and Site Paths I needed to build the URL
    ContentQueryMain.xsl
    Template:
    <xsl:template name=”OuterTemplate.StripLast”>
    <xsl:param name=”pText”/>
    <xsl:param name=”pDelim” select=”‘/’”/>
    <xsl:if test=”contains($pText, $pDelim)”>
    <xsl:value-of select=”substring-before($pText, $pDelim)”/>
    <xsl:if test=”contains(substring-after($pText, $pDelim), $pDelim)”>
    <xsl:value-of select=”$pDelim”/>
    </xsl:if>
    <xsl:call-template name=”OuterTemplate.StripLast”>
    <xsl:with-param name=”pText” select=”substring-after($pText, $pDelim)”/>
    <xsl:with-param name=”pDelim” select=”$pDelim”/>
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    This template gets the Site Path out of the FilePathRef value of the file
    ItemStyle.xsl
    Call the template
    <xsl:variable name=”SitePath“>
    <xsl:variable name=”p” select=”@Description“/>
    <xsl:call-template name=”OuterTemplate.StripLast”>
    <xsl:with-param name=”pText” select=”$p”/>
    </xsl:call-template>
    </xsl:variable>
    In this case the Description field out of the content query webpart properties is used to fill the
    FileRefPath
    The next thing is to use this variable in the build of the string:
    <a href=”/{$SitePath}/_layouts/WordViewer.aspx?id={$SafeLinkUrl}” title=”{@LinkToolTip}”>
    <xsl:if test=”$ItemsHaveStreams = ‘True’”>
    <xsl:attribute name=”onclick”>
    <xsl:value-of select=”@OnClickForWebRendering”/>
    </xsl:attribute>
    </xsl:if>
    <xsl:if test=”$ItemsHaveStreams != ‘True’ and @OpenInNewWindow = ‘True’”>
    <xsl:attribute name=”onclick”>
    <xsl:value-of disable-output-escaping=”yes” select=”$OnClickTargetAttribute”/>
    </xsl:attribute>
    </xsl:if>
    <xsl:value-of select=”$DisplayTitle”/>
    </a>
    If this helped you resolve your issue, please mark it Answered

  • Hide / Remove Content Search Webpart when no results returned

    Hi SharePoint friends
    I'm looking to find a way to hide the whole Content Search webpart (including the webpart title and border area) if there are no results coming back from the query.
    What I tried
    1. There is this property: "ShouldHideControlWhenEmpty" but it doesn't do anything when there are no results. The webpart is still visible. Webpart has a the Title and the Border around it so when
    there are no results the title and the border show up with no results. Like I said I want to hide the whole thing in that case.
    2. Wrote a jQuery script that searches for the text "There are no results" message (which comes from the webpart when there are no results) and hides the webpart. However, there is a short flicker once the page loads because the webpart first gets
    rendered for a split second and then disappears by virtue of my jQuery script - which is not great UI experience.
    3. So I thought I could extend the OOTB ContentBySearchWebPart and get a hold of some kind property that would get me the result count. If the results count is 0 simply I would hide the webpart server side. I looked
    at the documentation online - nothing I could find that I could leverage.
    Help? Thanks!

    Hi,
    To hide the whole Content Search Web Part when there is no result returned, a workaround can be like this:
    In the “Web Part Properties” panel, set checked the “Don't show anything when there are no results”, set the Chrome Type as “None”:
    By doing this, the whole web part will disappear when there is no result returned.
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • Content Search Webpart Property Filter

    Hi,
     I have two pages. In first page i added custom webpart with one textbox and search button. In second page i have content search webpart that should filter the result based on the property value we enter in the text box.
    I added the property filter PropertyNameOWSTEXT:{QueryString.MyParameter1} to the query. I am passing the value on click of button through query string to second page. I have results matching the query in my list but Content Serach Webpart not showing any
    results.
    Can anybody help???
    Thanks

    Hi,
    I am looking for solution to filter data on content search web part ( SP 2013)  by using  URL.
    For example:
    My URL is: http://SiteCollName/Sitename/Pages/PageName.aspx?MyParameter1=XXXX
    Result : Display results that field "My field" contains XXXX.
    nikita

  • Limit Content Search Webpart to a specific list

    Im am getting my feet wet with the Content search webpart, but I am stumbling over something that I believe should actually be easy, but I can't do it nevertheless.
    I want to display only items with a certain column entry from a docstore within another sitecollection. I thought of doing this with the Content search web part.
    1. In the advanced tab, I can limit the source of the query to a specific site, but not a specific docstore/List either through URL or ID. I simply get 0 results whereas leaving the ListID/ListUrl Parameter out, I get nicely all the relevant docs in the
    site
    path:"https://domain/sites/am/pm" AND ListID={5329496C-7D13-4417-ABD3-97E6629A32B2} (FileExtension:xls OR FileExtension:xlsx) (IsDocument:"True" OR contentclass:"STS_ListItem")
    or another version
    path:"https://domain/sites/am/pm" AND ListUrl=https://domain/sites/am/pm/Test_Musterportfolio/ (FileExtension:xls OR FileExtension:xlsx) (IsDocument:"True" OR contentclass:"STS_ListItem")
    2. Certain Column entry: I will attempt to do this through creating a list column as a managed property and then take if from there. Found a
    nice article in this Forum regarding that that Looks promising.
    Any help is appreciated.
    Raoul

    Hi Raoul,
    According to your description, my understanding is that there was 0 result when you search a library with Content Search web part in SharePoint 2013.
    Whether you did a crawl when you used content search web part.
    Please go to Central Administration, and do a full crawl for the content source. After crawling the content source , test the query in Content Search Web part, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • What are the possibilities and limitation of using Out of the box content search webpart on SharePoint Online 2013/O365 ?

    Hi All,
    We are migrating from on-premise SharPoint 2010 to SharePoint online 2013.
    I have few questions below: 
    What are the possibilities and limitations of using Out of the box content search webpart?
    Also, how the cross site publishing will work in SharePoint online something with managed navigations and product catalog apporach? if it is not supported, then what are the alternatives to acheive the same?
    Appriciate any commnets/clarifications.Thanks in advance.
    Thanks,
    Dhananjay.

    Here are the possibilities of Content search webparts
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/when-to-use-the-content-query-web-part-or-the-content-search-web-part-in-sharepoint-HA104206662.aspx
    Compare the strengths and limitations of the Web Parts
    It’s important that you understand the strengths and limitations of the two Web Parts because if you choose the wrong one, your site could run into performance problems. You can use both Web Parts to show content that is based on a query. In a simplified
    world, here’s how you can decide between the two:
    Use the CQWP when you have a limited amount of content, your query is simple, and you don’t expect your content to grow much in the future.
    Use the CSWP in all other scenarios when you want to show content that is based on a query.
    The table below gives a comparison of the two Web Parts:
    Web Part behavior
    Content Query Web Part
    Content Search Web Part
    Query configuration
    Easy
    You’ll need to know about certain search features such as
    managed properties.
    Query across large amounts of content
    Limited
    Yes
    Handle complex queries
    Limited
    Yes
    Scale to handle future content growth
    Limited
    Yes
    Display content from other site collections
    No
    Yes (see
    section below)
    Design of query results can be customized
    Yes, by using XSLT.
    Yes, by using HTML.
    Maintenance cost in a complex site architecture
    High
    Small (see
    section below)
    Narrow down the query results that are displayed in the Web Part
    No
    Yes, in combination with the
    Refinement Web Part.
    It was not there previously but then it was added to Office 365
    http://blogs.office.com/2013/10/29/search-innovations-for-site-and-portal-design-in-sharepoint-online/
    If this helped you resolve your issue, please mark it Answered

  • Create document preview in sharepoint 2013 content search webpart slideshow

    I want to show preview of documents(word,excel,ppt or videos) in the content search webpart slideshow view. By default we can show images from picture library in the content search webpart slide show view. But i need to show preview of documents(like search
    results document preview) in the help me to content search webpart slider. 
    Please help me to solve this issue!
    Thanks in advance!
    SangeethaAjith

    Hi, Thanks for your reply. Actually m working with Sharepoint Online 2013. I need to show the doc preview
    in content search webpart slideshow. If u have any idea pls let me know.
    The content search webpart is fetching documents using query and we didnt know what results are going to come. For the result documents i need to show the preview.

  • How to show catalog items with Approval Status:Pending in a Content Search Webpart

    How to show catalog items with Approval Status:Pending in a Content Search Webpart using cross site publishing. Thanks in advance.

    I don't think you're going to be able to. Usually Approval Status is used in conjunction with Major/Minor versioning and while Approval Status is pending the item is usually a draft.
    As a result the search crawler should not be able to see the draft items as it would not have the necessary rights to do so. (Good practice ensures that the Search Crawler has only read access and is not an elevated account for this reason)
    Paul.
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • Use Navigation Node Title of Term Store in a Content Search webpart

    Hi,
    Do you have an idea on how to use the Navigation Node Title of a Term in Term Store to a Content Search webpart? I can now get the value of the Term itself, but I need is the Navigation Node Title of that term. I'm using managed properties. Thanks in advance. 
    Regards,
    Napster

    Take a look at this article that explains all the variables available while writitng search queries.  There is a whole section on managed metadata navigation terms.
    http://technet.microsoft.com/en-us/library/jj683123(v=office.15).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.

Maybe you are looking for

  • Data in the report

    hi, I have the following data in the table Account_Num     Payment_type TEST0001                       Credit Card TEST0001                    Auto Debit TEST0001      EFT TEST0001                     Credit Card TEST0001                     Cash TES

  • How to refresh LOV

    I have an application that uses dynamic taskflows. In one task flow, taskflowA, an enduser can create new roles for users. In another task flow, taskflowB, the enduser can assign roles to users. The roles that can be assigned to users are provided us

  • Need help with Adobe Flash Player

    Youtube and several other websites can still identify that my flash player is up to date. Although, many websites including CNN, Aplia, and Southparkstudios do not recognize my flash player. I tried trouble shooting, reseting my axtiveX filter, updat

  • Redrawing a logo for LOW resolution

    Greeting, can someone send me some tutorials about how can I redraw or how should I think if I'm making a logo design for low resoltuion use, or for small dimensions. ex: for spoons, small badges, etc

  • Using a single quarantine on 2 c-series?

    The knowledgebase article #529 explains how to configure 2 c-series appliance to use a single quarantine (ie on the secondary appliance). However it prefaces this by saying "Note: This approach will not work if using Centralized Management. " Why is