Content Search Web Part Has No Results

Hello,
I have been working on a site for a few weeks now and have been trying to make a simple Image Slider. I have found many tutorials and all are helpful -- except I get stuck at the same part every time. I am trying to use a Content Search Web Part in order
to pull images from a library/list and display them. I go through almost the same instructions every time but my query never shows any results.
I have went in to 'Change Query' and set the following:
Select a query: Pictures (System)
Restrict By App: Specify a URL --> Then changed to mysite/myimagelibrary
I have tried a few things. I have changed the Result Source to multiple different things, including the default 'Recently Changed Items.' I have also tried to put the images in a list rather than a Picture Library. I have also tried MANY different ways of
putting in the 'specific URL.'
I don't know why I can't seem to get results from my query. Any help or suggestions would be appreciated. Thank you.

Hi,According to your post, my understanding is that you used a Content Search Web part to search images from a library/list , it didn’t display any
Results.
Please check which content type you used for these images . Maybe its content type is document rather than picture. Please make sure your images’ content type is picture.
You can go in to 'Change Query' and set the following:
Select a query: Items matching a content type(System)
Restrict by App: Current site
Restrict by content type: Picture
As you have mentioned in your description “Specify a URL --> Then changed to mysite/myimagelibrary”.
Here is a similar issue, you can use as a reference:
http://social.technet.microsoft.com/forums/sharepoint/en-US/4a683be5-354d-4497-88da-672dd6335358/content-by-search-web-part-shows-no-results
If the issue still exists, please feel free to let me know.
Best Regards,
Lisa Chen

Similar Messages

  • Content Search Web Part displaying wrong Results for anonymous Users.

    HI Forum Group,
    I am getting Wrong results for my content search web part. The requirement is to show the News Description for the selected news item.
    I have a catalog site which stores News like 
    News1
    News2
    News3
    as Items. and i have connected this catalog in publishing site which is anonymous. In the publishing site created one page "News.aspx"added search results webpart which shows all the news item. Added one page "Description.aspx" to show
    description to show the selected news item.
    When ever user selects any news from news.aspx page it will redirected to description.aspx with the selected item ID
    The "Description.aspx" the search results page gets the data based on the URL by QueryString parameter as shown below
    The problem is, if i multiple items to open in tabs all the items are showing the data same as the first selected item, though the article ID is different.
    Thanks
    Sithender

    Hi,
    Thank you for your feedback on how you were successful in resolving this issue.
    Your solution will benefit many other users, and we really value having you as a Microsoft customer.
    Have a nice day!
    Best Regards,
    Lisa Chen
    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]

  • Content Search Web Part - Result Preview Says "Invalid Request"

    This behavior seems to be occurring in both our test and production farms.
    ULS logs indicate the following entry:
    Exception occured in scope Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries. Exception=Microsoft.SharePoint.Client.InvalidClientQueryException: Invalid request.
    at Microsoft.SharePoint.Client.DataConverter.GetObject[T](XmlNode node, ProxyContext proxyContext)
    at Microsoft.SharePoint.Client.DataConverter.GetObjectArray[T](XmlNode node, ProxyContext proxyContext)
    at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)
    at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
    I have used very simple queries, to see if it's KQL error on our part, such as ContentType:"CType Name"
    When we use developer dashboard I can see the XML for the search request which the CSOM is dispatching however, I believe this to be completely out of the box.
    Do you have any suggestions as to why the request may be considered invalid and what diagnostics could be run to better isolate why this OOB feature is not working?
    We are using Enterprise SP2013 On Prem.
    thanks

    Aries,
    Here is a description of what I see.
    1) This is the out of the box (non-customized) CSWP
    2) Upon clicking the "Change Query" button on the toolpart the dialog window opens.  The Search Result Preview says "This query returned no results" but as per the JSON response above, it appears that there is "ResultTables" present in the response.
    Occasionally, a preview-result does show up but this is not consistent.  The JSON response seems to be identical.
    Initial response - shows "Query returned no results" however, I see results in the JSON below. I have replaced our hostname w/ intranet.contoso.com
    "SchemaVersion":"15.0.0.0","LibraryVersion":"15.0.4505.1001","ErrorInfo":null,"TraceCorrelationId":"24f57a9c-28de-4074-debb-1340df16b8ab"
    },1,{
    "IsNull":false
    },4,{
    "IsNull":false
    },12,{
    "IsNull":false
    },16,{
    "IsNull":false
    },24,{
    "IsNull":false
    },38,{
    "IsNull":false
    },43,{
    "c856bd07-9a44-4bf4-a32c-e049d1d03390Default":{
    "_ObjectType_":"Microsoft.SharePoint.Client.Search.Query.ResultTableCollection","ElapsedTime":62,"Properties":{
    "RowLimit":10,"SourceId":"\/Guid(8413cd39-2156-4e00-b54d-11efd9abdb89)\/","EnableStacking":true,"piPageImpression":"327337_1754_1033","SerializedQuery":"<Query Culture=\"en-US\" EnableStemming=\"True\" EnablePhonetic=\"False\" EnableNicknames=\"False\" IgnoreAllNoiseQuery=\"True\" SummaryLength=\"180\" MaxSnippetLength=\"180\" DesiredSnippetLength=\"90\" KeywordInclusion=\"0\" QueryText=\"\" QueryTemplate=\"ContentType:&quot;Custom Announcement&quot; path:&quot;http:\u002f\u002fintranet.contoso.com\u002fnews&quot;\" TrimDuplicates=\"False\" Site=\"566718d5-1e74-453c-ac54-6e636def6f91\" Web=\"83df59b4-8cac-48f4-81b3-c3b95cfacc0b\" KeywordType=\"True\" HiddenConstraints=\"\" \u002f>"
    },"QueryErrors":null,"QueryId":"1060b39a-2f92-4313-b192-4c9badd15812","SpellingSuggestion":"","TriggeredRules":[
    ],"ResultTables":[
    "_ObjectType_":"Microsoft.SharePoint.Client.Search.Query.ResultTable","GroupTemplateId":null,"ItemTemplateId":null,"Properties":{
    "GenerationId":9223372036854775806,"ExecutionTimeMs":31,"QueryModification":"ContentType:\"Custom Announcement\" path:\"http:\u002f\u002fintranet.contoso.com\u002fnews\" -ContentClass=urn:content-class:SPSPeople","RenderTemplateId":"~sitecollection\u002f_catalogs\u002fmasterpage\u002fDisplay Templates\u002fSearch\u002fGroup_Default.js","StartRecord":0,"piPageImpressionBlockType":2
    },"QueryId":"1060b39a-2f92-4313-b192-4c9badd15812","QueryRuleId":"00000000-0000-0000-0000-000000000000","ResultRows":[
    "Rank":0,"DocId":1348,"Path":"http:\u002f\u002fintranet.contoso.com\u002fnews\u002fPages\u002fU-S--employees.aspx","Title":"U.S. employees: March 15th deadline for 2013 Health Care Flexible Spending Account (FSA)","OriginalPath":"http:\u002f\u002fintranet.contoso.com\u002fnews\u002fPages\u002fU-S--employees.aspx","FileType":"html","SecondaryFileExtension":"aspx","Author":"Dennis Lanthier","Size":100366,"Description":null,"EditorOWSUSER":"[email protected] | Dennis Lanthier | 693A30232E777C7463706C5C64656E6E69735F6C616E7468696572 i:0#.w|tcpl\\dennis_lanthier","LastModifiedTime":"\/Date(1394039237000)\/","CollapsingStatus":0,"HitHighlightedSummary":null,"HitHighlightedProperties":null,"FileExtension":"aspx","ViewsLifeTime":null,"ParentLink":"http:\u002f\u002fintranet.contoso.com\u002fnews\u002fPages\u002fForms\u002fAllItems.aspx","ViewsRecent":null,"IsContainer":false,"DisplayAuthor":"Dennis Lanthier","docaclmeta":null,"ResultTypeIdList":"16","PartitionId":"\/Guid(0c37852b-34d0-418e-91c6-2ac25af4be5b)\/","UrlZone":0,"AAMEnabledManagedProperties":"AttachmentURI;deeplinks;DefaultEncodingURL;ExternalMediaURL;HierarchyUrl;OrgParentUrls;OrgUrls;OriginalPath;ParentLink;Path;PictureThumbnailURL;PictureURL;PublishingImage;recommendedfor;ServerRedirectedEmbedURL;ServerRedirectedPreviewURL;ServerRedirectedURL;SiteLogo;SitePath;SPSiteURL;UserEncodingURL","ResultTypeId":16,"RenderTemplateId":"~sitecollection\u002f_catalogs\u002fmasterpage\u002fDisplay Templates\u002fSearch\u002fItem_WebPage.js","piSearchResultId":"0_1","QueryRuleId":"\/Guid(00000000-0000-0000-0000-000000000000)\/"
    "Rank":0,"DocId":1392,"Path":"http:\u002f\u002fintranet.contoso.com\u002fnews\u002fPages\u002fCelebrate-International-Women\u2019s-Day-on-Thurs--Mar--6.aspx","Title":"Celebrate International Women\u2019s Day on Thursday, March 6th ","OriginalPath":"http:\u002f\u002fintranet.contoso.com\u002fnews\u002fPages\u002fCelebrate-International-Women\u2019s-Day-on-Thurs--Mar--6.aspx","FileType":"html","SecondaryFileExtension":"aspx","Author":"Cassie Dubetz;Jennifer Torres","Size":103770,"Description":null,"EditorOWSUSER":"[email protected] | Jennifer Torres | 693A30232E777C7463706C5C6A656E6E696665725F746F72726573 i:0#.w|tcpl\\jennifer_torres","LastModifiedTime":"\/Date(1394070849000)\/","CollapsingStatus":0,"HitHighlightedSummary":null,"HitHighlightedProperties":null,"FileExtension":"aspx","ViewsLifeTime":null,"ParentLink":"http:\u002f\u002fintranet.contoso.com\u002fnews\u002fPages\u002fForms\u002fAllItems.aspx","ViewsRecent":null,"IsContainer":false,"DisplayAuthor":"Cassie Dubetz;Jennifer Torres","docaclmeta":null,"ResultTypeIdList":"16","PartitionId":"\/Guid(0c37852b-34d0-418e-91c6-2ac25af4be5b)\/","UrlZone":0,"AAMEnabledManagedProperties":"AttachmentURI;deeplinks;DefaultEncodingURL;ExternalMediaURL;HierarchyUrl;OrgParentUrls;OrgUrls;OriginalPath;ParentLink;Path;PictureThumbnailURL;PictureURL;PublishingImage;recommendedfor;ServerRedirectedEmbedURL;ServerRedirectedPreviewURL;ServerRedirectedURL;SiteLogo;SitePath;SPSiteURL;UserEncodingURL","ResultTypeId":16,"RenderTemplateId":"~sitecollection\u002f_catalogs\u002fmasterpage\u002fDisplay Templates\u002fSearch\u002fItem_WebPage.js","piSearchResultId":"1_1","QueryRuleId":"\/Guid(00000000-0000-0000-0000-000000000000)\/"
    ContentType:"Custom Announcement" path:"http://intranet.contoso.com/news"
    This is the  KQL. (above)
    Next, we immediately click "Test query" without modifying the KQL. We send an XML request using the web part however, in that case, the XML variables are replaced with the $-syntax, this occurred within the web part through no effort of ours.  The behavior
    shows "Invalid Request"
    Can you explain what you mean by "There is customization in the web part"?  We have used the out of the box web part.
    Any subsequent query modification in the query-builder dialog-window causes the $-syntax.  When i illustrated the comparisons of the XML-request above the only difference in between the two requests is that the left-side is created by the initial-load
    of the QueryBuilder dialog and the right-side is created when we click "Test query" (immediately after) in the Advanced Mode screen.
    We do have a custom master page and I will try to revert back as close as possible to vanilla SharePoint and test.  But to address your earlier point, no customization to the Content By Search Web part has been used.
    Here is the full initial valid request
    <Request xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009" SchemaVersion="15.0.0.0" LibraryVersion="15.0.0.0" ApplicationName="Javascript Library">
    <Actions>
    <ObjectPath Id="1" ObjectPathId="0" />
    <SetProperty Id="2" ObjectPathId="0" Name="QueryTemplate">
    <Parameter Type="String">ContentType:"Custom Announcement" path:"http://intranet.contoso.com/news"</Parameter>
    </SetProperty>
    <ObjectPath Id="4" ObjectPathId="3" />
    <Method Name="Add" Id="5" ObjectPathId="3">
    <Parameters>
    <Parameter Type="String">NewsPublishingDate</Parameter>
    <Parameter Type="Number">1</Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="6" ObjectPathId="0" Name="RowsPerPage">
    <Parameter Type="Number">10</Parameter>
    </SetProperty>
    <SetProperty Id="7" ObjectPathId="0" Name="RowLimit">
    <Parameter Type="Number">10</Parameter>
    </SetProperty>
    <SetProperty Id="8" ObjectPathId="0" Name="TotalRowsExactMinimum">
    <Parameter Type="Number">11</Parameter>
    </SetProperty>
    <SetProperty Id="9" ObjectPathId="0" Name="SourceId">
    <Parameter Type="Guid">{8413cd39-2156-4e00-b54d-11efd9abdb89}</Parameter>
    </SetProperty>
    <SetProperty Id="10" ObjectPathId="0" Name="Refiners">
    <Parameter Type="String">BaseOfficeLocation(filter=7/0/*),CombinedUserProfileNames(filter=7/0/*),companies(filter=7/0/*),contentclass(filter=7/0/*),ContentType(filter=7/0/*),ContentTypeId(filter=7/0/*),Department(filter=7/0/*),DisplayAuthor(filter=7/0/*),DMSDocAuthor(filter=7/0/*),FileExtension(filter=7/0/*),FileType(filter=7/0/*),HostingPartition(filter=7/0/*),JobTitle(filter=7/0/*),languages(filter=7/0/*),Location(filter=7/0/*),ManagedProperties(filter=7/0/*),NewsExternalNewsSource(filter=7/0/*),owsmetadatafacetinfo(filter=7/0/*),owstaxidmetadataalltagsinfo(filter=7/0/*),owstaxIdProductCatalogItemCategory(filter=7/0/L*),People(filter=7/0/*),PeopleInMedia(filter=7/0/*),PeopleKeywords(filter=7/0/*),PostAuthor(filter=7/0/*),RefinableString00(filter=7/0/*),RefinableString01(filter=7/0/*),RefinableString02(filter=7/0/*),RefinableString03(filter=7/0/*),RefinableString04(filter=7/0/*),RefinableString05(filter=7/0/*),RefinableString06(filter=7/0/*),RefinableString07(filter=7/0/*),RefinableString08(filter=7/0/*),RefinableString09(filter=7/0/*),RefinableString10(filter=7/0/*),RefinableString11(filter=7/0/*),RefinableString12(filter=7/0/*),RefinableString13(filter=7/0/*),RefinableString14(filter=7/0/*),RefinableString15(filter=7/0/*),RefinableString16(filter=7/0/*),RefinableString17(filter=7/0/*),RefinableString18(filter=7/0/*),RefinableString19(filter=7/0/*),RefinableString20(filter=7/0/*),RefinableString21(filter=7/0/*),RefinableString22(filter=7/0/*),RefinableString23(filter=7/0/*),RefinableString24(filter=7/0/*),RefinableString25(filter=7/0/*),RefinableString26(filter=7/0/*),RefinableString27(filter=7/0/*),RefinableString28(filter=7/0/*),RefinableString29(filter=7/0/*),RefinableString30(filter=7/0/*),RefinableString31(filter=7/0/*),RefinableString32(filter=7/0/*),RefinableString33(filter=7/0/*),RefinableString34(filter=7/0/*),RefinableString35(filter=7/0/*),RefinableString36(filter=7/0/*),RefinableString37(filter=7/0/*),RefinableString38(filter=7/0/*),RefinableString39(filter=7/0/*),RefinableString40(filter=7/0/*),RefinableString41(filter=7/0/*),RefinableString42(filter=7/0/*),RefinableString43(filter=7/0/*),RefinableString44(filter=7/0/*),RefinableString45(filter=7/0/*),RefinableString46(filter=7/0/*),RefinableString47(filter=7/0/*),RefinableString48(filter=7/0/*),RefinableString49(filter=7/0/*),RefinableString50(filter=7/0/*),RefinableString51(filter=7/0/*),RefinableString52(filter=7/0/*),RefinableString53(filter=7/0/*),RefinableString54(filter=7/0/*),RefinableString55(filter=7/0/*),RefinableString56(filter=7/0/*),RefinableString57(filter=7/0/*),RefinableString58(filter=7/0/*),RefinableString59(filter=7/0/*),RefinableString60(filter=7/0/*),RefinableString61(filter=7/0/*),RefinableString62(filter=7/0/*),RefinableString63(filter=7/0/*),RefinableString64(filter=7/0/*),RefinableString65(filter=7/0/*),RefinableString66(filter=7/0/*),RefinableString67(filter=7/0/*),RefinableString68(filter=7/0/*),RefinableString69(filter=7/0/*),RefinableString70(filter=7/0/*),RefinableString71(filter=7/0/*),RefinableString72(filter=7/0/*),RefinableString73(filter=7/0/*),RefinableString74(filter=7/0/*),RefinableString75(filter=7/0/*),RefinableString76(filter=7/0/*),RefinableString77(filter=7/0/*),RefinableString78(filter=7/0/*),RefinableString79(filter=7/0/*),RefinableString80(filter=7/0/*),RefinableString81(filter=7/0/*),RefinableString82(filter=7/0/*),RefinableString83(filter=7/0/*),RefinableString84(filter=7/0/*),RefinableString85(filter=7/0/*),RefinableString86(filter=7/0/*),RefinableString87(filter=7/0/*),RefinableString88(filter=7/0/*),RefinableString89(filter=7/0/*),RefinableString90(filter=7/0/*),RefinableString91(filter=7/0/*),RefinableString92(filter=7/0/*),RefinableString93(filter=7/0/*),RefinableString94(filter=7/0/*),RefinableString95(filter=7/0/*),RefinableString96(filter=7/0/*),RefinableString97(filter=7/0/*),RefinableString98(filter=7/0/*),RefinableString99(filter=7/0/*),Responsibilities(filter=7/0/*),SharedWithInternal(filter=7/0/*),Site(filter=7/0/*),SPContentType(filter=7/0/*),SPSiteURL(filter=7/0/*),Tags(filter=7/0/*),UsageEventItemId(filter=7/0/*),WebTemplate(filter=7/0/*),WordCustomRefiner1(filter=7/0/*),WordCustomRefiner2(filter=7/0/*),WordCustomRefiner3(filter=7/0/*),WordCustomRefiner4(filter=7/0/*),WordCustomRefiner5(filter=7/0/*),WordExactCustomRefiner(filter=7/0/*),WordPartCustomRefiner1(filter=7/0/*),WordPartCustomRefiner2(filter=7/0/*),WordPartCustomRefiner3(filter=7/0/*),WordPartCustomRefiner4(filter=7/0/*),WordPartCustomRefiner5(filter=7/0/*),WordPartExactCustomRefiner(filter=7/0/*)</Parameter>
    </SetProperty>
    <ObjectPath Id="12" ObjectPathId="11" />
    <Method Name="Add" Id="13" ObjectPathId="11">
    <Parameters>
    <Parameter Type="String">Path</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="14" ObjectPathId="11">
    <Parameters>
    <Parameter Type="String">Title</Parameter>
    </Parameters>
    </Method>
    <ObjectPath Id="16" ObjectPathId="15" />
    <Method Name="Add" Id="17" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">Title</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="18" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">Path</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="19" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">Author</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="20" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">SectionNames</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="21" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">SiteDescription</Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="22" ObjectPathId="0" Name="TrimDuplicates">
    <Parameter Type="Boolean">false</Parameter>
    </SetProperty>
    <ObjectPath Id="24" ObjectPathId="23" />
    <Method Name="SetQueryPropertyValue" Id="25" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">FillIn</Parameter>
    <Parameter TypeId="{b25ba502-71d7-4ae4-a701-4ca2fb1223be}">
    <Property Name="BoolVal" Type="Boolean">false</Property>
    <Property Name="IntVal" Type="Number">0</Property>
    <Property Name="QueryPropertyValueTypeIndex" Type="Number">1</Property>
    <Property Name="StrArray" Type="Null" />
    <Property Name="StrVal" Type="String">false</Property>
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="26" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">EnableStacking</Parameter>
    <Parameter TypeId="{b25ba502-71d7-4ae4-a701-4ca2fb1223be}">
    <Property Name="BoolVal" Type="Boolean">true</Property>
    <Property Name="IntVal" Type="Number">0</Property>
    <Property Name="QueryPropertyValueTypeIndex" Type="Number">3</Property>
    <Property Name="StrArray" Type="Null" />
    <Property Name="StrVal" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="27" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">TryCache</Parameter>
    <Parameter TypeId="{b25ba502-71d7-4ae4-a701-4ca2fb1223be}">
    <Property Name="BoolVal" Type="Boolean">true</Property>
    <Property Name="IntVal" Type="Number">0</Property>
    <Property Name="QueryPropertyValueTypeIndex" Type="Number">3</Property>
    <Property Name="StrArray" Type="Null" />
    <Property Name="StrVal" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="28" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">ListId</Parameter>
    <Parameter TypeId="{b25ba502-71d7-4ae4-a701-4ca2fb1223be}">
    <Property Name="BoolVal" Type="Boolean">false</Property>
    <Property Name="IntVal" Type="Number">0</Property>
    <Property Name="QueryPropertyValueTypeIndex" Type="Number">1</Property>
    <Property Name="StrArray" Type="Null" />
    <Property Name="StrVal" Type="String">b9b9c3b8-92d8-4850-a3b3-fc2544b9c6c0</Property>
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="29" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">ListItemId</Parameter>
    <Parameter TypeId="{b25ba502-71d7-4ae4-a701-4ca2fb1223be}">
    <Property Name="BoolVal" Type="Boolean">false</Property>
    <Property Name="IntVal" Type="Number">27</Property>
    <Property Name="QueryPropertyValueTypeIndex" Type="Number">2</Property>
    <Property Name="StrArray" Type="Null" />
    <Property Name="StrVal" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="30" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">OverrideExpandedTokens</Parameter>
    <Parameter TypeId="{b25ba502-71d7-4ae4-a701-4ca2fb1223be}">
    <Property Name="BoolVal" Type="Boolean">true</Property>
    <Property Name="IntVal" Type="Number">0</Property>
    <Property Name="QueryPropertyValueTypeIndex" Type="Number">3</Property>
    <Property Name="StrArray" Type="Null" />
    <Property Name="StrVal" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="31" ObjectPathId="0" Name="ResultsUrl">
    <Parameter Type="String">/news/Pages/Announcements.aspx</Parameter>
    </SetProperty>
    <SetProperty Id="32" ObjectPathId="0" Name="ClientType">
    <Parameter Type="String">SearchWebPartConfiguration</Parameter>
    </SetProperty>
    <SetProperty Id="33" ObjectPathId="0" Name="EnableInterleaving">
    <Parameter Type="Boolean">false</Parameter>
    </SetProperty>
    <Method Name="SetQueryPropertyValue" Id="34" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">QuerySession</Parameter>
    <Parameter TypeId="{b25ba502-71d7-4ae4-a701-4ca2fb1223be}">
    <Property Name="BoolVal" Type="Boolean">false</Property>
    <Property Name="IntVal" Type="Number">0</Property>
    <Property Name="QueryPropertyValueTypeIndex" Type="Number">1</Property>
    <Property Name="StrArray" Type="Null" />
    <Property Name="StrVal" Type="String">a5fa2e59-91c1-472e-a63d-d99d2fbf8fd0</Property>
    </Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="35" ObjectPathId="0" Name="SafeQueryPropertiesTemplateUrl">
    <Parameter Type="String">sitesearch://webroot</Parameter>
    </SetProperty>
    <SetProperty Id="36" ObjectPathId="0" Name="IgnoreSafeQueryPropertiesTemplateUrl">
    <Parameter Type="Boolean">false</Parameter>
    </SetProperty>
    <ObjectPath Id="38" ObjectPathId="37" />
    <ExceptionHandlingScope Id="39">
    <TryScope Id="41">
    <Method Name="ExecuteQueries" Id="43" ObjectPathId="37">
    <Parameters>
    <Parameter Type="Array">
    <Object Type="String">ca9bfc32-2337-47bb-b973-800509d8efecDefault</Object>
    </Parameter>
    <Parameter Type="Array">
    <Object ObjectPathId="0" />
    </Parameter>
    <Parameter Type="Boolean">true</Parameter>
    </Parameters>
    </Method>
    </TryScope>
    <CatchScope Id="45" />
    </ExceptionHandlingScope>
    </Actions>
    <ObjectPaths>
    <Constructor Id="0" TypeId="{80173281-fffd-47b6-9a49-312e06ff8428}" />
    <Property Id="3" ParentId="0" Name="SortList" />
    <Property Id="11" ParentId="0" Name="SelectProperties" />
    <Property Id="15" ParentId="0" Name="HitHighlightedProperties" />
    <Property Id="23" ParentId="0" Name="Properties" />
    <Constructor Id="37" TypeId="{8d2ac302-db2f-46fe-9015-872b35f15098}" />
    </ObjectPaths>
    </Request>
    Here is the full invalid-request which is created with the TestQuery button
    <Request xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009" SchemaVersion="15.0.0.0" LibraryVersion="15.0.0.0" ApplicationName="Javascript Library">
    <Actions>
    <ObjectPath Id="1" ObjectPathId="0" />
    <SetProperty Id="2" ObjectPathId="0" Name="QueryTemplate">
    <Parameter Type="String">ContentType:"Custom Announcement" path:"http://intranet.contoso.com/news"</Parameter>
    </SetProperty>
    <ObjectPath Id="4" ObjectPathId="3" />
    <Method Name="Add" Id="5" ObjectPathId="3">
    <Parameters>
    <Parameter Type="String">NewsPublishingDate</Parameter>
    <Parameter Type="Number">1</Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="6" ObjectPathId="0" Name="RowsPerPage">
    <Parameter Type="Number">10</Parameter>
    </SetProperty>
    <SetProperty Id="7" ObjectPathId="0" Name="RowLimit">
    <Parameter Type="Number">10</Parameter>
    </SetProperty>
    <SetProperty Id="8" ObjectPathId="0" Name="TotalRowsExactMinimum">
    <Parameter Type="Number">11</Parameter>
    </SetProperty>
    <SetProperty Id="9" ObjectPathId="0" Name="SourceId">
    <Parameter Type="Guid">{8413cd39-2156-4e00-b54d-11efd9abdb89}</Parameter>
    </SetProperty>
    <SetProperty Id="10" ObjectPathId="0" Name="Refiners">
    <Parameter Type="String">BaseOfficeLocation(filter=7/0/*),CombinedUserProfileNames(filter=7/0/*),companies(filter=7/0/*),contentclass(filter=7/0/*),ContentType(filter=7/0/*),ContentTypeId(filter=7/0/*),Department(filter=7/0/*),DisplayAuthor(filter=7/0/*),DMSDocAuthor(filter=7/0/*),FileExtension(filter=7/0/*),FileType(filter=7/0/*),HostingPartition(filter=7/0/*),JobTitle(filter=7/0/*),languages(filter=7/0/*),Location(filter=7/0/*),ManagedProperties(filter=7/0/*),NewsExternalNewsSource(filter=7/0/*),owsmetadatafacetinfo(filter=7/0/*),owstaxidmetadataalltagsinfo(filter=7/0/*),owstaxIdProductCatalogItemCategory(filter=7/0/L*),People(filter=7/0/*),PeopleInMedia(filter=7/0/*),PeopleKeywords(filter=7/0/*),PostAuthor(filter=7/0/*),RefinableString00(filter=7/0/*),RefinableString01(filter=7/0/*),RefinableString02(filter=7/0/*),RefinableString03(filter=7/0/*),RefinableString04(filter=7/0/*),RefinableString05(filter=7/0/*),RefinableString06(filter=7/0/*),RefinableString07(filter=7/0/*),RefinableString08(filter=7/0/*),RefinableString09(filter=7/0/*),RefinableString10(filter=7/0/*),RefinableString11(filter=7/0/*),RefinableString12(filter=7/0/*),RefinableString13(filter=7/0/*),RefinableString14(filter=7/0/*),RefinableString15(filter=7/0/*),RefinableString16(filter=7/0/*),RefinableString17(filter=7/0/*),RefinableString18(filter=7/0/*),RefinableString19(filter=7/0/*),RefinableString20(filter=7/0/*),RefinableString21(filter=7/0/*),RefinableString22(filter=7/0/*),RefinableString23(filter=7/0/*),RefinableString24(filter=7/0/*),RefinableString25(filter=7/0/*),RefinableString26(filter=7/0/*),RefinableString27(filter=7/0/*),RefinableString28(filter=7/0/*),RefinableString29(filter=7/0/*),RefinableString30(filter=7/0/*),RefinableString31(filter=7/0/*),RefinableString32(filter=7/0/*),RefinableString33(filter=7/0/*),RefinableString34(filter=7/0/*),RefinableString35(filter=7/0/*),RefinableString36(filter=7/0/*),RefinableString37(filter=7/0/*),RefinableString38(filter=7/0/*),RefinableString39(filter=7/0/*),RefinableString40(filter=7/0/*),RefinableString41(filter=7/0/*),RefinableString42(filter=7/0/*),RefinableString43(filter=7/0/*),RefinableString44(filter=7/0/*),RefinableString45(filter=7/0/*),RefinableString46(filter=7/0/*),RefinableString47(filter=7/0/*),RefinableString48(filter=7/0/*),RefinableString49(filter=7/0/*),RefinableString50(filter=7/0/*),RefinableString51(filter=7/0/*),RefinableString52(filter=7/0/*),RefinableString53(filter=7/0/*),RefinableString54(filter=7/0/*),RefinableString55(filter=7/0/*),RefinableString56(filter=7/0/*),RefinableString57(filter=7/0/*),RefinableString58(filter=7/0/*),RefinableString59(filter=7/0/*),RefinableString60(filter=7/0/*),RefinableString61(filter=7/0/*),RefinableString62(filter=7/0/*),RefinableString63(filter=7/0/*),RefinableString64(filter=7/0/*),RefinableString65(filter=7/0/*),RefinableString66(filter=7/0/*),RefinableString67(filter=7/0/*),RefinableString68(filter=7/0/*),RefinableString69(filter=7/0/*),RefinableString70(filter=7/0/*),RefinableString71(filter=7/0/*),RefinableString72(filter=7/0/*),RefinableString73(filter=7/0/*),RefinableString74(filter=7/0/*),RefinableString75(filter=7/0/*),RefinableString76(filter=7/0/*),RefinableString77(filter=7/0/*),RefinableString78(filter=7/0/*),RefinableString79(filter=7/0/*),RefinableString80(filter=7/0/*),RefinableString81(filter=7/0/*),RefinableString82(filter=7/0/*),RefinableString83(filter=7/0/*),RefinableString84(filter=7/0/*),RefinableString85(filter=7/0/*),RefinableString86(filter=7/0/*),RefinableString87(filter=7/0/*),RefinableString88(filter=7/0/*),RefinableString89(filter=7/0/*),RefinableString90(filter=7/0/*),RefinableString91(filter=7/0/*),RefinableString92(filter=7/0/*),RefinableString93(filter=7/0/*),RefinableString94(filter=7/0/*),RefinableString95(filter=7/0/*),RefinableString96(filter=7/0/*),RefinableString97(filter=7/0/*),RefinableString98(filter=7/0/*),RefinableString99(filter=7/0/*),Responsibilities(filter=7/0/*),SharedWithInternal(filter=7/0/*),Site(filter=7/0/*),SPContentType(filter=7/0/*),SPSiteURL(filter=7/0/*),Tags(filter=7/0/*),UsageEventItemId(filter=7/0/*),WebTemplate(filter=7/0/*),WordCustomRefiner1(filter=7/0/*),WordCustomRefiner2(filter=7/0/*),WordCustomRefiner3(filter=7/0/*),WordCustomRefiner4(filter=7/0/*),WordCustomRefiner5(filter=7/0/*),WordExactCustomRefiner(filter=7/0/*),WordPartCustomRefiner1(filter=7/0/*),WordPartCustomRefiner2(filter=7/0/*),WordPartCustomRefiner3(filter=7/0/*),WordPartCustomRefiner4(filter=7/0/*),WordPartCustomRefiner5(filter=7/0/*),WordPartExactCustomRefiner(filter=7/0/*)</Parameter>
    </SetProperty>
    <ObjectPath Id="12" ObjectPathId="11" />
    <Method Name="Add" Id="13" ObjectPathId="11">
    <Parameters>
    <Parameter Type="String">Path</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="14" ObjectPathId="11">
    <Parameters>
    <Parameter Type="String">Title</Parameter>
    </Parameters>
    </Method>
    <ObjectPath Id="16" ObjectPathId="15" />
    <Method Name="Add" Id="17" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">Title</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="18" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">Path</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="19" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">Author</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="20" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">SectionNames</Parameter>
    </Parameters>
    </Method>
    <Method Name="Add" Id="21" ObjectPathId="15">
    <Parameters>
    <Parameter Type="String">SiteDescription</Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="22" ObjectPathId="0" Name="TrimDuplicates">
    <Parameter Type="Boolean">false</Parameter>
    </SetProperty>
    <ObjectPath Id="24" ObjectPathId="23" />
    <Method Name="SetQueryPropertyValue" Id="25" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">FillIn</Parameter>
    <Parameter Type="Dictionary">
    <Property Name="$4_1" Type="String">false</Property>
    <Property Name="$0_1" Type="Number">1</Property>
    <Property Name="$1_1" Type="Boolean">false</Property>
    <Property Name="$2_1" Type="Number">0</Property>
    <Property Name="$3_1" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="26" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">EnableStacking</Parameter>
    <Parameter Type="Dictionary">
    <Property Name="$1_1" Type="Boolean">true</Property>
    <Property Name="$0_1" Type="Number">3</Property>
    <Property Name="$2_1" Type="Number">0</Property>
    <Property Name="$3_1" Type="Null" />
    <Property Name="$4_1" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="27" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">TryCache</Parameter>
    <Parameter Type="Dictionary">
    <Property Name="$1_1" Type="Boolean">true</Property>
    <Property Name="$0_1" Type="Number">3</Property>
    <Property Name="$2_1" Type="Number">0</Property>
    <Property Name="$3_1" Type="Null" />
    <Property Name="$4_1" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="28" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">ListId</Parameter>
    <Parameter Type="Dictionary">
    <Property Name="$4_1" Type="String">b9b9c3b8-92d8-4850-a3b3-fc2544b9c6c0</Property>
    <Property Name="$0_1" Type="Number">1</Property>
    <Property Name="$1_1" Type="Boolean">false</Property>
    <Property Name="$2_1" Type="Number">0</Property>
    <Property Name="$3_1" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="29" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">ListItemId</Parameter>
    <Parameter Type="Dictionary">
    <Property Name="$2_1" Type="Number">27</Property>
    <Property Name="$0_1" Type="Number">2</Property>
    <Property Name="$1_1" Type="Boolean">false</Property>
    <Property Name="$3_1" Type="Null" />
    <Property Name="$4_1" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <Method Name="SetQueryPropertyValue" Id="30" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">OverrideExpandedTokens</Parameter>
    <Parameter Type="Dictionary">
    <Property Name="$1_1" Type="Boolean">true</Property>
    <Property Name="$0_1" Type="Number">3</Property>
    <Property Name="$2_1" Type="Number">0</Property>
    <Property Name="$3_1" Type="Null" />
    <Property Name="$4_1" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="31" ObjectPathId="0" Name="ResultsUrl">
    <Parameter Type="String">/news/Pages/Announcements.aspx</Parameter>
    </SetProperty>
    <SetProperty Id="32" ObjectPathId="0" Name="ClientType">
    <Parameter Type="String">SearchWebPartConfiguration</Parameter>
    </SetProperty>
    <SetProperty Id="33" ObjectPathId="0" Name="EnableInterleaving">
    <Parameter Type="Boolean">false</Parameter>
    </SetProperty>
    <Method Name="SetQueryPropertyValue" Id="34" ObjectPathId="23">
    <Parameters>
    <Parameter Type="String">QuerySession</Parameter>
    <Parameter Type="Dictionary">
    <Property Name="$4_1" Type="String">a5fa2e59-91c1-472e-a63d-d99d2fbf8fd0</Property>
    <Property Name="$0_1" Type="Number">1</Property>
    <Property Name="$1_1" Type="Boolean">false</Property>
    <Property Name="$2_1" Type="Number">0</Property>
    <Property Name="$3_1" Type="Null" />
    </Parameter>
    </Parameters>
    </Method>
    <SetProperty Id="35" ObjectPathId="0" Name="SafeQueryPropertiesTemplateUrl">
    <Parameter Type="String">sitesearch://webroot</Parameter>
    </SetProperty>
    <SetProperty Id="36" ObjectPathId="0" Name="IgnoreSafeQueryPropertiesTemplateUrl">
    <Parameter Type="Boolean">false</Parameter>
    </SetProperty>
    <ObjectPath Id="38" ObjectPathId="37" />
    <ExceptionHandlingScope Id="39">
    <TryScope Id="41">
    <Method Name="ExecuteQueries" Id="43" ObjectPathId="37">
    <Parameters>
    <Parameter Type="Array">
    <Object Type="String">4c78ef1c-cad2-417c-9027-9c961143713cDefault</Object>
    </Parameter>
    <Parameter Type="Array">
    <Object Type="Dictionary">
    <Property Name="$R_0" Type="Null" />
    <Property Name="$2P_0" Type="Boolean">false</Property>
    </Object>
    </Parameter>
    <Parameter Type="Boolean">true</Parameter>
    </Parameters>
    </Method>
    </TryScope>
    <CatchScope Id="45" />
    </ExceptionHandlingScope>
    </Actions>
    <ObjectPaths>
    <Constructor Id="0" TypeId="{80173281-fffd-47b6-9a49-312e06ff8428}" />
    <Property Id="3" ParentId="0" Name="SortList" />
    <Property Id="11" ParentId="0" Name="SelectProperties" />
    <Property Id="15" ParentId="0" Name="HitHighlightedProperties" />
    <Property Id="23" ParentId="0" Name="Properties" />
    <Constructor Id="37" TypeId="{8d2ac302-db2f-46fe-9015-872b35f15098}" />
    </ObjectPaths>
    </Request>
    Many thanks for your review.

  • Content Search web part query

    HI,
    I am struggling to apply filters for one of my query scenario
    1. I have multiple Site Collections http://RootWeb/Sites/Jobs,
    http://RootWeb/Sites/Job1 Etc
        Each site collection has a list with data. One of the column in those lists is Division (Values may be Division 1, Division 2 Etc)
    2. I have another Site Collection http://RootWeb/Sites/Division1
        I am adding a content search web part to display information related to all Job's from Job's list based on Division Site I aam browsing.
    My Issue is I have another application with similar structure.
    How to filter my data so it returnes results data only from my current web app site collection and not another web app site collection?
    kesari suresh

    Hi kesari,
    According to your description, my understanding is that you want to display data only from one site collection in Content Search web part.
    For your issue, you can create a Result Source for the site collection using the query "Path:<URL of the site collection>". The result source only query the date from the site collection. Then you can use the Result Source in the
    Content Search web part, and apply some queries.
    About creating a Result Source, please refer to the link:
    http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
    Best Regards,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • Content Search Web Part Error / Control_list.js not found

    Hello,
    I am trying to use the Content Search Web Part but I receive an error:
    Display Error: The display template had an error. You can correct it by fixin the template or by changing the display template used in either the Web Part properties or Result Types;
    Template '~sitecollection/_catalog/masterpage/Display Templates/Content Web Parts/Control_List.js not found or has syntax errors. (Load Template;)
    I am working on a fresh installation (out of the box) Sharepoint 2013 SP1 on which I have applied the latest CU.
    I have checked the folder and I only have one file 'Group_Content.js'. I searched over the web and I found out that I am missing a lot of file in that folder.
    Anybody can help me solve this without re-installation of SP?
    Thank you!

    Yep you are missing a lot of display templates if you only have the one.
    Is this the root site collection or a new site-collection under /sites? If it's the root site collection, then I would suggest creating a new web application and site collection and seeing if the problem exists in that. If it does, then you may need to repair/rebuild
    your SharePoint installation.
    If it's a sub-site-collection and the root site doesn't have that problem, try creating a new site-collection and testing in that. Also ensure that you have publishing features enabled in the site collection.
    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.

  • Does the Target Audiences setting work for Content Search Web Part Snippets?

    I am attempting to create a page layout in SharePoint 2013 that contains a Content Search Web Part snippet. 
    I only want the CS Web Part to appear for certain users in a defined SP Group. 
    I set the Target Audience property during the generation of the snippet. 
    Unfortunately, the target audience property does not affect the appearance of the web part. 
    It appears all the time, even when the current user is not a member of the named SP group.
    Here is my snippet, the group I am targeting in called "US Region":
    <!--CS: Start Content Search Snippet--><!--SPM:<%@Register Tagprefix="spsswc" 
    Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>--><!--SPM:<%@Register Tagprefix="a2e8ead9d" 
    Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>--><!--MS:<spsswc:ContentBySearchWebPart runat="server"
    AlwaysRenderOnServer="False" ResultType="" DataProviderJSON="{&quot;QueryGroupName&quot;:&quot;Default&quot;,&quot;QueryPropertiesTemplateUrl&quot;:&quot;sitesearch://webroot&quot;,&quot;IgnoreQueryPropertiesTemplateUrl&quot;:false,&quot;SourceID&quot;:&quot;8413cd39-2156-4e00-b54d-11efd9abdb89&quot;,&quot;SourceName&quot;:&quot;Local
    SharePoint Results&quot;,&quot;SourceLevel&quot;:&quot;Ssa&quot;,&quot;CollapseSpecification&quot;:&quot;&quot;,&quot;QueryTemplate&quot;:&quot;(contentclass:sts_listitem OR IsDocument:True) SPSiteUrl:http://spvm2/sites/ProductCatalog
    ListId:1380cfe0-d69d-4d7a-b616-c70469a46e9c owstaxIdProductGroup:{URLToken.1} owstaxIdWorldRegion:US&quot;,&quot;FallbackSort&quot;:[],&quot;FallbackSortJson&quot;:&quot;[]&quot;,&quot;RankRules&quot;:[],&quot;RankRulesJson&quot;:&quot;[]&quot;,&quot;AsynchronousResultRetrieval&quot;:false,&quot;SendContentBeforeQuery&quot;:true,&quot;BatchClientQuery&quot;:true,&quot;FallbackLanguage&quot;:-1,&quot;FallbackRankingModelID&quot;:&quot;&quot;,&quot;EnableStemming&quot;:true,&quot;EnablePhonetic&quot;:false,&quot;EnableNicknames&quot;:false,&quot;EnableInterleaving&quot;:false,&quot;EnableQueryRules&quot;:true,&quot;EnableOrderingHitHighlightedProperty&quot;:false,&quot;HitHighlightedMultivaluePropertyLimit&quot;:-1,&quot;IgnoreContextualScope&quot;:true,&quot;ScopeResultsToCurrentSite&quot;:false,&quot;TrimDuplicates&quot;:false,&quot;Properties&quot;:{&quot;TryCache&quot;:true,&quot;Scope&quot;:&quot;{Site.URL}&quot;,&quot;ListId&quot;:&quot;00000000-0000-0000-0000-000000000000&quot;,&quot;UpdateLinksForCatalogItems&quot;:true,&quot;EnableStacking&quot;:true},&quot;PropertiesJson&quot;:&quot;{\&quot;TryCache\&quot;:true,\&quot;Scope\&quot;:\&quot;{Site.URL}\&quot;,\&quot;ListId\&quot;:\&quot;00000000-0000-0000-0000-000000000000\&quot;,\&quot;UpdateLinksForCatalogItems\&quot;:true,\&quot;EnableStacking\&quot;:true}&quot;,&quot;ClientType&quot;:&quot;ContentSearchRegular&quot;,&quot;UpdateAjaxNavigate&quot;:true,&quot;SummaryLength&quot;:180,&quot;DesiredSnippetLength&quot;:90,&quot;PersonalizedQuery&quot;:false,&quot;FallbackRefinementFilters&quot;:null,&quot;IgnoreStaleServerQuery&quot;:false,&quot;RenderTemplateId&quot;:&quot;DefaultDataProvider&quot;,&quot;AlternateErrorMessage&quot;:null,&quot;Title&quot;:&quot;&quot;}"
    BypassResultTypes="True" ItemTemplateId="~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/Item_MediumPicture.js" GroupTemplateId="~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/Group_Content.js"
    ResultsPerPage="3" SelectedPropertiesJson="[&quot;PublishingImage&quot;,&quot;PictureURL&quot;,&quot;PictureThumbnailURL&quot;,&quot;Path&quot;,&quot;Title&quot;,&quot;Description&quot;,&quot;SecondaryFileExtension&quot;,&quot;ContentTypeId&quot;]"
    HitHighlightedPropertiesJson="[&quot;Title&quot;,&quot;Path&quot;,&quot;Author&quot;,&quot;SectionNames&quot;,&quot;SiteDescription&quot;]" AvailableSortsJson="null" ShowBestBets="False"
    ShowPersonalFavorites="False" ShowDefinitions="False" ShowDidYouMean="False" PreloadedItemTemplateIdsJson="null" ShowAlertMe="False" QueryGroupName="Default" RenderTemplateId="~sitecollection/_catalogs/masterpage/Display
    Templates/Content Web Parts/Control_ListWithPaging.js" StatesJson="{}" ServerIncludeScriptsJson="null" Title="United States" FrameType="TitleBarOnly" SuppressWebPartChrome="False" Description="&lt;%$Resources:Microsoft.Office.Server.Search,CBS_Description;%&gt;"
    IsIncluded="True" ZoneID="ImportedPartZone" PartOrder="0" FrameState="Normal" AllowRemove="True" AllowZoneChange="True" AllowMinimize="True" AllowConnect="True" AllowEdit="True"
    AllowHide="True" IsVisible="True" DetailLink="" HelpLink="" HelpMode="Modeless" Dir="Default" PartImageSmall="" MissingAssembly="&lt;%$Resources:core,ImportErrorMessage;%&gt;"
    ImportErrorMessage="&lt;%$Resources:core,ImportErrorMessage;%&gt;" PartImageLarge="" IsIncludedFilter=";;;;US Region" AuthorizationFilter=";;;;US Region" ExportControlledProperties="True" ConnectionID="00000000-0000-0000-0000-000000000000"
    ID="g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75" ChromeType="TitleOnly" ExportMode="All" Preview="&lt;div ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth &quot;&gt; 
    &lt;div id=&quot;WebPartwpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ChromeTitle&quot;&gt;  
    &lt;span title=&quot;United States - $Resources:Microsoft.Office.Server.Search,CBS_Description;&quot; id=&quot;WebPartTitlewpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75&quot; States&lt;/span&gt;&lt;span id=&quot;WebPartCaptionwpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75&quot;&gt;&lt;/span&gt;&lt;/nobr&gt;&lt;/div&gt;&lt;/span&gt; 
    &lt;/div&gt;&lt;div WebPartID=&quot;00000000-0000-0000-0000-000000000000&quot; HasPers=&quot;true&quot; id=&quot;WebPartwpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75&quot; width=&quot;100%&quot; noindex ms-wpContentDivSpace
    &quot; allowDelete=&quot;false&quot; style=&quot;&quot; &gt;&lt;div id=&quot;WebPartContent&quot;&gt;  
    &lt;div componentid=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_csr&quot; id=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_csr&quot;&gt;&lt;/div&gt;&lt;noscript&gt;&lt;div id=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_noscript&quot;&gt;It
    looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.&lt;/div&gt;&lt;/noscript&gt;&lt;div id=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75&quot;&gt; 
    &lt;div ms-webpart-chrome-fullWidth &quot;&gt;  
    &lt;div id=&quot;WebPart_ChromeTitle&quot;&gt;   
    &lt;span title=&quot;&quot; id=&quot;WebPartTitle&quot; style=&quot;text-align:justify;&quot; id=&quot;WebPartCaption&quot;&gt;&lt;/span&gt;&lt;/nobr&gt;&lt;/h2&gt;&lt;/span&gt;  
    &lt;/div&gt;&lt;div WebPartID=&quot;00000000-0000-0000-0000-000000000000&quot; HasPers=&quot;true&quot; id=&quot;WebPart&quot; width=&quot;100%&quot; ms-WPBorder noindex ms-wpContentDivSpace &quot; OnlyForMePart=&quot;true&quot;
    allowDelete=&quot;false&quot; style=&quot;&quot; &gt;&lt;div componentid=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00_csr&quot; id=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00_csr&quot;&gt;&lt;/div&gt;&lt;noscript&gt;&lt;div
    id=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00_noscript&quot;&gt;It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.&lt;/div&gt;&lt;/noscript&gt;&lt;div id=&quot;wpz43_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00&quot;&gt;   
    &lt;/div&gt;&lt;div>  &lt;/div&gt; &lt;/div&gt; 
    &lt;/div&gt;&lt;div &lt;/div&gt;" __MarkupType="vsattributemarkup" __WebPartId="{2d49bab8-c61e-44b3-91c2-c1c44a4cea75}" WebPart="true" Height="" Width="">--><!--ME:</spsswc:ContentBySearchWebPart>--><!--PS:
    Start of READ-ONLY PREVIEW (do not modify)-->
    <div ms-webpart-chrome-fullWidth ">
    <div id="WebPartWPQ1_ChromeTitle">
    <span title="United States - $Resources:Microsoft.Office.Server.Search,CBS_Description;" id="WebPartTitleWPQ1"><h2 style="text-align: justify;"><nobr><span>United States</span><span id="WebPartCaptionWPQ1"></span></nobr></h2></span>
    </div><div noindex ms-wpContentDivSpace " id="WebPartWPQ1" allowdelete="false" onlyformepart="true" width="100%" haspers="true" webpartid="00000000-0000-0000-0000-000000000000"><div
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_csr" componentid="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_csr"></div><noscript>&lt;div
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_noscript"&gt;It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.&lt;/div&gt;</noscript><div
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75">
    <div>
    <div id="WebPartWPQ2_ChromeTitle">
    <span title="" id="WebPartTitleWPQ2"><h2 style="text-align: justify;"><nobr><span></span><span id="WebPartCaptionWPQ2"></span></nobr></h2></span>
    </div><div ms-WPBorder noindex ms-wpContentDivSpace " id="WebPartWPQ2" allowdelete="false" onlyformepart="true" width="100%" haspers="true" webpartid="00000000-0000-0000-0000-000000000000"><div
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00_csr" componentid="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00_csr"></div><noscript>&lt;div
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00_noscript"&gt;It looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.&lt;/div&gt;</noscript><div
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_2d49bab8_c61e_44b3_91c2_c1c44a4cea75_ctl00">
    </div><div></div></div>
    </div>
    </div><div></div></div>
    </div><!--PE: End of READ-ONLY PREVIEW--><!--CE: End Content Search Snippet-->       

    I am having the same issue.  Did you ever resolve it?

  • Office 365 - content search web part

    Hi,
    I have an office 365 site, and in one of the page, i had added 4 Content search web parts each of it having its own custom display templates.
    Now, the problem is when the page is browsed (intermittent) or edited (always), the CSWP's throwing error as 'Sorry, something went wrong'. And I found that, the corresponding .js files are not getting loaded, including the language script, because of which
    we are getting this error.
    Please assist.
    Thanks
    Senthu

    Hi Senthu,
    This error occurs may be due to the display template has not been published as a major version.
    Please go to the Master pages and page layouts in site settings > Display Templates > Content Web Parts > find the html file of the display templates used in your content search web part and then click the triangle and select Publish a Major Version.
    Reference:
    http://blogs.msdn.com/b/kaushalendra/archive/2013/08/16/sorry-something-went-wrong-in-content-by-search-web-part-for-some-users.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Using Content search web part to retrieve items from another site collection

    I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:-
    -http://applicationname/teamsite
    -http://applicationname/enterprisewiki
    Now I need to display the latest 10 wiki pages from the enterprise wiki site collection(according to the modified date) inside the team site. So I read that using Content search web part allow for cross-site content query. Currently I added a new content
    search web part , inside my team site, and I click on “change query” button. But I am not sure how I can reference the enterprise wiki site collection's wiki page library and to specify that I need to get the latest 10 wiki pages , inside the following dialog:-
    Basically this setting partially worked for me, I provide the following settings inside the “Build Your Query” dialog:-
    From the “Select a Query” I defined the following:- “items matching content type(system).”
    Restrict by app : “Do not restrict results by app”
    Restrict by content type “Enterprise Wiki Page”.
    This showed all the sites, lists and even pages are based on the “Enterprise Wiki Page” content type. But I am facing these three problems:-
    1. The above setting showed only the sites,lists and pages matching the “Enterprise Wiki Page” content type, that exists on another web application, and not that exists inside the current web application.
    2. To test the web part , I got the following results, But I was not able to add additional info for the items such as created by, modified by ,etc.
    3.  Also there is no way to sort the wiki pages by the modified date, as in the Sorting tab inside the “Build Your query” dialog I cannot find the “modified” inside the Soft by list
    So can anyone advice how to fix these three problems

    Hi,
    1. In "Build Your Query" dialog, we can select "Specify a URL" in
    Restrict by app and enter another site URL.
    2. If you want to add more information for the items, we need customize the display template, the following link for your reference:
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/01/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-1.aspx
    3. In the Sorting tab, we can use "LastModifiedTime" to instead of "Modified".
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • Search by tag not working in content search web part

    Hi,
    I am trying to configure content search web part that only pull result with a specific tags. I have created a document library and assign tags on some document, also configured Managed Meta data service and search service application. Schedule search continuous
    crawl.
    If i am not specify any tag content search web part shows results but when I restrict result with specific tag like (#HomePage) it doesn't pull any result, i have also run crawl after tagging documents in document library.
    Kindly help me out.

    Lets suppose you have your "managed metadata property" added to your list/library with name "MetadataColumn". Crawled property is created  with name ows_MetadataColumn (I guess). Then You need to create a new managed property in
    search settings and map it to your crawled property (ows_...).
    Nothing else, use your Managed property in content search webpart and filter your results.
    MVS RAVI KUMAR

  • Content search web part in shar Point 2013

    how to write query in which parameters will comes from end user and depend on which result will come

    Hi,
    You can add the query parameter in the content search web part as shown in the below screenshot.  "MyParameter1" is the parameter you will be passing from the URL.
    Please mark it answered, if your problem resolved.

  • Content Search Web Part over HTTPS for a Host Named Site Collection

    Hello
    I have a host named site collection http://media.contoso.com which is a media portal that stores videos and pictures. On my parent site collection http://site.contoso.com homepage I have a Content Search Web Part that displays videos from the media portal.
    Both sites work over https.
    When I edit the content search web part and enter the URL http://media.contoso.com in the 'Change Query' box, search returns the results as expected but when I enter the URL as
    https://media.contoso.com no results are returned.
    I have removed the binding in IIS to point to http://media.contoso.com.
    I need it to be https so that I don't see "HTTPS security is compromised by http://media.contoso.com" on my site collection homepage.
    Any idea why this is happening?
    Thanks
    Yoshi

    http://technet.microsoft.com/en-us/library/ee792873%28v=office.15%29.aspx
    In the Search SSL Settings dialog box, do one of the following:
    If you do not want the crawler to crawl a site when there is an SSL certificate warning, make sure that the
    Ignore SSL certificate name warnings check box is cleared. For security reasons, the check box is cleared by default.
    If you want the crawler to crawl a site even if there is an SSL certificate warning, make sure that the
    Ignore SSL certificate name warnings check box is selected.
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://freeit-support.com/

  • Content Search Web Part and Managed Property

    Do I have to have cross-site collection publishing feature turned on for the Content Search Web Part to show a managed property?
    I have a list and a column in that list called Colors. I created a managed property out of the crawled property for Colors column. On a page within the same site-collection, I added a content search web part (displays items from the earlier list) and
    trying to display the managed property for Colors to show up for each of the items. For some reason, Colors value is not being displayed for the items.
    Any ideas?

    Thanks, Peter, appreciated. Here is my problem:
    I created a site column and added it to the list. Added an item that has a value for this site column. System automatically generated a crawled property for the site column and also a managed property. Do I still have to perform step # 5 from above?
    Now when I go into the content search web part and change the query to use this managed property as a refiner, it does not work.
    I will try the debugging as you suggested.
    In the meanwhile, Please let me know if you know of anything wrong I am doing.
    UPDATE: I debugged it using IE Dev. Toolbar and the value for that managed property is being returned as null. What could be going wrong? How can I further troubleshoot this problem?

  • Content Search Web Part with Hover Panel - Problem with positioning with css

    Hi guys!
    I´m having trouble with positioning the hover panel for the Content Search Web Part.
    I used
    this article to help me with luck as far as to the positioning. I´ve tried some inline styling but maybe my knowledge in css is no good enough here.
    Here´s a screenshot from how this looks like. The hover panel generates a gap between the result items, the same height as the hover panel:

    Hi Victoria!
    No the gap comes without any inline css added from me. I´ve tried some inline styling, like z-index and position.
    So, any ideas are welcome.
    Here´s how my Display Template looks like:
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>RC Customer Documents</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Link URL&#39;{Link URL}:&#39;Path&#39;,&#39;Line 1&#39;{Line 1}:&#39;Title&#39;,&#39;Line 2&#39;{Line 2}:&#39;&#39;,&#39;FileExtension&#39;,&#39;SecondaryFileExtension&#39;</mso:ManagedPropertyMapping>
    <mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a preview and properties for Record Center Customer Documents</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchResults;#Content Web Parts;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/RC_CustomerDocuments.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
    <mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
    <!--
    Warning: Do not try to add HTML to this section. Only the contents of the first <div>
    inside the <body> tag will be used while executing Display Template code. Any HTML that
    you add to this section will NOT become part of your Display Template.
    -->
    <script>
    $includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
    </script>
    <!--
    Use the div below to author your Display Template. Here are some things to keep in mind:
    * Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
    inside a comment.
    * Use the values assigned to your variables using an "underscore pound equals"
    (_#= ... =#_) token.
    -->
    <div id="RC_CustomerDocuments">
    <!--#_
    var id = ctx.ClientControl.get_nextUniqueId();
    var itemId = id + Srch.U.Ids.item;
    var hoverId = id + Srch.U.Ids.hover;
    var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.js";
    $setResultItem(itemId, ctx.CurrentItem);
    ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
    ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
    var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_2lines_");
    var linkURL = $getItemValue(ctx, "Link URL");
    linkURL.overrideValueRenderer($urlHtmlEncode);
    var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
    var line1 = $getItemValue(ctx, "Line 1");
    var line2 = $getItemValue(ctx, "Line 2");
    line1.overrideValueRenderer($contentLineText);
    line2.overrideValueRenderer($contentLineText);
    var containerId = encodedId + "container";
    var pictureLinkId = encodedId + "pictureLink";
    var pictureId = encodedId + "picture";
    var dataContainerId = encodedId + "dataContainer";
    var line1LinkId = encodedId + "line1Link";
    var line1Id = encodedId + "line1";
    var line2Id = encodedId + "line2";
    _#-->
    <div class="cbs-Item" name="Item" id="_#= $htmlEncode(itemId) =#_" data-displaytemplate="RC_CustomerDocuments" onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
    <div id="wrapper">
    <div id="_#= $htmlEncode(hoverId) =#_" ></div>
    </div>
    <a class="cbs-ItemLink" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureLinkId =#_">
    <img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_" alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />
    </a>
    <div class="cbs-Detail" id="_#= dataContainerId =#_">
    <a class="cbs-Line1Link ms-noWrap ms-displayBlock" href="_#= linkURL =#_" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= line1LinkId =#_">_#= line1 =#_</a>
    <!--#_
    if(!line2.isEmpty)
    _#-->
    <div class="cbs-Line2 ms-noWrap" title="_#= $htmlEncode(line2.defaultValueRenderer(line2)) =#_" id="_#= line2Id =#_">_#= line2 =#_</div>
    <!--#_
    _#-->
    </div>
    </div>
    </div>
    </body>
    </html>
    And here´s the hover panel:
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>RC Customer Documents Hover Panel</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:MasterPageDescription msdt:dt="string">Displays a result hover panel tailored for a Portable Document Format (PDF) document.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchHoverPanel;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Title&#39;:&#39;Title&#39;,&#39;Path&#39;:&#39;Path&#39;,&#39;Description&#39;:&#39;Description&#39;,&#39;EditorOWSUSER&#39;:&#39;EditorOWSUSER&#39;,&#39;LastModifiedTime&#39;:&#39;LastModifiedTime&#39;,&#39;CollapsingStatus&#39;:&#39;CollapsingStatus&#39;,&#39;DocId&#39;:&#39;DocId&#39;,&#39;HitHighlightedSummary&#39;:&#39;HitHighlightedSummary&#39;,&#39;HitHighlightedProperties&#39;:&#39;HitHighlightedProperties&#39;,&#39;FileExtension&#39;:&#39;FileExtension&#39;,&#39;ViewsLifeTime&#39;:&#39;ViewsLifeTime&#39;,&#39;ParentLink&#39;:&#39;ParentLink&#39;,&#39;FileType&#39;:&#39;FileType&#39;,&#39;IsContainer&#39;:&#39;IsContainer&#39;,&#39;SecondaryFileExtension&#39;:&#39;SecondaryFileExtension&#39;,&#39;DisplayAuthor&#39;:&#39;DisplayAuthor&#39;,&#39;ServerRedirectedURL&#39;:&#39;ServerRedirectedURL&#39;</mso:ManagedPropertyMapping>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display%20Templates/Content%20Web%20Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
    <mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
    <div id="Item_RC_CustomerDocuments_HoverPanel">
    <!--#_
    var i = 0;
    var id = ctx.CurrentItem.csr_id;
    ctx.CurrentItem.csr_ShowFollowLink = true;
    ctx.CurrentItem.csr_ShowViewLibrary = true;
    ctx.currentItem_ShowChangedBySnippet = true;
    _#-->
    <div class="ms-srch-hover-innerContainer ms-srch-hover-standardSize" id="_#= $htmlEncode(id + HP.ids.inner) =#_">
    <div class="ms-srch-hover-arrowBorder" id="_#= $htmlEncode(id + HP.ids.arrowBorder) =#_"></div>
    <div class="ms-srch-hover-arrow" id="_#= $htmlEncode(id + HP.ids.arrow) =#_"></div>
    <div class="ms-srch-hover-content" id="_#= $htmlEncode(id + HP.ids.content) =#_" data-displaytemplate="RCCustomerDocumentsHoverPanel">
    <div id="_#= $htmlEncode(id + HP.ids.header) =#_" class="ms-srch-hover-header">
    _#= ctx.RenderHeader(ctx) =#_
    </div>
    <div id="_#= $htmlEncode(id + HP.ids.body) =#_" class="ms-srch-hover-body">
    _#= ctx.RenderBody(ctx) =#_
    </div>
    <div id="_#= $htmlEncode(id + HP.ids.actions) =#_" class="ms-srch-hover-actions">
    _#= ctx.RenderFooter(ctx) =#_
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>
    Thnx :)

  • {Today} variable in content search web part

    Hello,
    I am having issues with the {today} variable in the SharePoint 2013 Content Search Web Part. I’m trying to get all list items that have a Start date greater or equal to Today.
    I created a Search Managed Property called “NewsPublishingStartDate” (Date and Time type) and set the Content Search Web Part’s query to NewsPublishingStartDate>={Today}.
    The problem is that list items are being displayed in the web part 4 hours before the Start date. As an example: items that have a Start date of April 18 will start appearing in the Content Search web part April 17 at 8PM.
    Time zone for my web app was not set at first: I’ve set it to Eastern Time (US & Canada) and did a full crawl but I got the same wrong results.
    What I am missing?
    Thanks for your suggestions!

    Hi,
    As SharePoint stores all the DatetTme values in UTC time in the database, so the date value displays as UTC time zone in the search core results web part.
    If you need to change the time in the search results web part, you can export the web part and then edit the code for converting the time to the time zone you want.
    Here are some links for you to refer:
    http://itblog.wolthaus.net/2011/09/sharepoint-stores-dates-in-utc-time/
    http://stevemannspath.blogspot.jp/2013/01/sharepoint-200720102013-dynamic-time.html
    Best regards,
    Lisa Chen
    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]

  • Using term set as refiner in content search web part does not show all used terms

    When you create a terms set (12 terms with +/- 10-20 child terms) , attach it to a site column and allow multiple values to be selected the search service does not find all used values in the REFINERS tab of the content search web part.
    Example:
    Field ‘Tags’ is the term set which can be refined. We want to do this in the REFINERS tab of the content search web part.
    Tags is containing following fields:
    •Course document
    •Poster
    •ALS
    •Before
    •During
    •CPR/AED I
    In all libraries we used +/- 15 different tags already.
    Example of a tag field in the library:   "Poster;ALS;Belgium"
    The problem is we can’t see all of the used tags in the refiners tab when you open it for the first time.  (You can see Belgium or Cyprus is not in the list of tags.)
    When you select one tag and add it as a refiner, the others eventually do show up. But never all of them together.   It’s like he is only showing the most used (and maybe first selected?) tags first. I also think he might be having some trouble
    with multi value selections in the tag field.
     Does anyone else have the same issue as we do? And is there a solution already?

    Hi Sasha,
    According to your description, my understanding is that all the used terms cannot display in the Refiners in Content Search web part.
    If the results display in the Search Result Preview, then the terms used in these results can be displayed in the Refiners tab.
    I tested the same scenario per your post, and when I first opened it I can view all the terms which were used in the search results listed under owsmetadatafacetinfo.
    I recommend to do a full crawl and then you can view all the terms used in the search results are displayed under owsmetadatafacetinfo.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for