Advanced search web part issue

hi,
 i am implementing a  advanced search web part , and in that  property restrictions, i have added  2  doument library columns [ not the site columns ]
from my subsite in my site collection.
but when i give some search keywords and perform   search, i am not able to get the search results in terms of documents/content.
any extra settings do i need to do for performing advanced search
1) Do i really need site columns to be created under the site collection , in order to be  searchable ?
if i create a  simple document library column and cant i get it in the crawled properties section
in the  central admin's search serv appln's  search schema section?
pls advice

As per my understanding you can crawl DL columns
Can you get that document in search results page? Please check to see if the site which contains the library is included in content source.
Could you please check site settings->Site Administration->Searchable columns, maybe the column is excluded?
http://social.technet.microsoft.com/Forums/sharepoint/en-US/b97a43b1-c727-4daa-a0d9-a18e53e09dd9/list-and-document-library-title-column-crawled-properties?forum=sharepointadminprevious
Go to your Search Service Application in Central Administration.
    Click on Metadata Properties in the left navigation.
    Click on the Crawled Properties link.
    Click on the Categories link then select the SharePoint category
    Navigate the pages (next page arrow link) until you see ows_Title. Click on ows_Title.
    In the "Mappings to Metadata Properties" area of this page, ensure that the "Include values for this property in the search index" checkbox is checked, then Click OK. This checkbox is not checked by default.
    Repeat the same procedure above for your ows_Description crawled property to confirm that it is included in the index - which it should be by default.
    Start a Full Crawl 
This will now include these crawled properties in the index and should now be available in the Managed Property which exposes them for Search.
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • Issue in performing search using advanced search web part with any of these keywords.

    Hi,
    I am implementing advanced search web part, and i have added few columns [  these columns are doc lib columns and NOT site columns ],property restrictions dropdown.
    and when i  try to search for the documents,  contents from the subsites with the applied item from the property restrictions dropdown and with  "contains" keyword , and  filled-in the "any of these keywords"
    textbox,
    the search results  are not displayed , though there are multiple documents which has the keywords.
    am i missing any steps  here.? i have ensured that managed properties  were created and added in the properties.xml file in the adv.search web part's properties.

    hi Steve,
    thnx for the reply.
    here is my xml file details:
    <PropertyDef Name="DocComments" DataType="text" DisplayName="Comments"/>
        <PropertyDef Name="CreatedBy" DataType="text" DisplayName="Created By"/>
        <PropertyDef Name="ModifiedBy" DataType="text" DisplayName="Last Modified By"/>
        <PropertyDef Name="WellOWSTEXT" DataType="text" DisplayName="Well Name"/>
        <PropertyDef Name="BlockOWSTEXT" DataType="text" DisplayName="Block Name"/>
        <PropertyDef Name="ProjectOWSTEXT" DataType="text" DisplayName="Project Name"/>
        <PropertyDef Name="LocationOWSTEXT" DataType="text" DisplayName="Location"/>
        <PropertyDef Name="DisciplineOWSTEXT" DataType="text" DisplayName="Discipline"/>
      </PropertyDefs>
      <ResultTypes>
        <ResultType DisplayName="All Results" Name="default">
          <KeywordQuery/>
          <PropertyRef Name="Author" />
          <PropertyRef Name="Description" />
          <PropertyRef Name="FileName" />
          <PropertyRef Name="Size" />
          <PropertyRef Name="Path" />
          <PropertyRef Name="Write" />
          <PropertyRef Name="CreatedBy" />
          <PropertyRef Name="ModifiedBy" />
          <PropertyRef Name="WellOWSTEXT" />
          <PropertyRef Name="BlockOWSTEXT" />
          <PropertyRef Name="ProjectOWSTEXT" />
          <PropertyRef Name="LocationOWSTEXT" />
          <PropertyRef Name="DisciplineOWSTEXT" />
        </ResultType>
      </ResultTypes>
    </root>
    am using the managedproperties without spaces. the problem is that, when i give  the word/words
    in the "any of these words" textbox and  if i give a value with the "contains" dropdown 
    its not allwoing me give proper results.
    After adding these property restrictions i have done the full crawl again.
    @Steven Adnrews: i have done the full crawl, multiple times. Though these columns are NOT created as site columns, it came as managed properties in my Srch Serv.Appln, search schema page.
    @Fabian: i am not getting your point.Can you pls tell,where will I see the xsl. i  think, the xsl editor and xsl configuration has been replaced by html display templates in SP 2013 Search.

  • Add custom property restrictions in advanced search web part

    hi,
     I am having the default advanced search box web part in my ent.search center site collec. but as per my requirement i need to a  few items in the property restrictions dropdown in my advanced search web part.
    is this possible in sp 2013 e.t serach center  site collection?
    any help is  highly appreciated!

    Hi,
    Check this
    http://technet.microsoft.com/en-us/library/ff621097.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c25d418d-d4a2-47a3-9abe-c27656764843/how-to-add-custom-property-in-advanced-search-page?forum=sharepointgeneralprevious

  • In Advanced Search Web Part , more than 5 properties filter cannot be added

    In SharePoint 2013  Advanced Search Web Part, Under Add Property restrictions, Maximum number of search filter (AND / OR)  is allowed is 5. How can I increase this count ?

    Hi,
    As I understand, you would like to have more than 5 property filter in Advanced Search web part.
    According to this article, it is one of the limitation in OOTB Advanced Search web part: "The property search doesn’t allow the users to specify more than 5 property filters." As workaround, "Reuse the OOTB Advanced Search UI’s hidden controls
    that determines the search attributes (ASB_PS_…)". Please refer more information via:
    http://blogs.msdn.com/b/senthilkumarmani/archive/2010/06/05/custom-advanced-search-metadata-values-pre-populated-for-user-selection.aspx
    Also, I find two articles about customizing the advanced search Webpart adding custom properties in case you need:
    http://vuppalasanthosh.blogspot.com/2013/03/customizing-advanced-search-webpart.html
    https://waelmohamed.wordpress.com/2011/05/31/add-custom-search-properties-in-your-advanced-search-sharepoint-2010/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Advanced Search Web Part in SharePoint 2013

    I would like to know more about advance search web part in SharePoint 2013. How it looks and implementation ?

    Hi,
    Please go through below video/links for more details on SharePoint 2013 Search and associated feature.
    http://www.youtube.com/watch?v=T1J_pMD7V_4
    https://social.technet.microsoft.com/forums/sharepoint/en-US/99e6d5f2-76da-4fdd-8464-24159f12cee1/advanced-search-box-web-part-is-missing
    Hope this helps you.
    Regards
    Soni K

  • Advanced Search Web Part

    Hi Everyone,
    Does anyone know where I can find the Advanced Search web part in 2013? I have used this web part many times in SharePoint 2007 and 2010 but can't seem to find it in 2013. Did Microsoft remove or rename it? Any help would be greatly appreciated.
    Thanks,
    Dan
    Dan Marth

    Hi,
    According to your description, you could not find advanced search web part in SharePoint 2013.
    For SharePoint 2010, the advanced search web part is in the default page of Search Center.
    For SharePoint 2013, the advanced search web part is at the bottom of the search result page.
    You may need to search something firstly and then you can see the Advanced Search Option at the bottom of the page.
    Feel free to reply if there are still any questions.
    Best regards
    Wendy Li
    TechNet Community Support

  • Setting scope in Search core result web part issue

    Hi All,
     I don't know if it is default behavior of search, But I am facing below issue.
    I created new scope which is targeted to one web app url in my server. Now when i set this scope in Search core result web part edit properties and search from default.aspx page it works fine.
    (And one more thing Location is set to Local FAST Search Results)
    But if I type new search keyword on search result.aspx page its passing extra url parameter as &u= with another site and I am not getting any result for my keyword.
    (if i remove & u= from my url it again works)
    Any idea about this? Am i missing any setting?
    Regards,
    Satish
    Thanks, Satish

    On the search results page, there is a search web part
    you need to make setting to that search webpart so that it redirects to same page without and extra quote. 
    It will mainly a trial and test for you
    If this helped you resolve your issue, please mark it Answered

  • Content By Search web part causing issue for ajax post back implementation in Anonymous page

    We have recently migrated from SharePoint 2010 to 2013. In our site we have the registration control with ajax update panel which is working fine in all the pages other than home. After analysis, I found that this issue is happening only if the content
    by search web part exists (with loading behaviour as Sync. We tried with Async, ajax postback implementation working fine but search web part need some permission to execute the query in anonymous page).
    We got this link
    http://msdn.microsoft.com/en-us/library/ff650218.aspx which tell to include
    Microsoft.Practices.SPG.AJAXSupport.dll but we can't find this dll for VS 2012. Let us know where we can download the link.

    Hi,
    Here is a similar thread for you to take a look at:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/eb0df77b-6daf-4c63-9f0e-20bd0caae53c/referencing-microsoftpracticesspgajaxsupportdll?forum=sharepointdevelopmentprevious
    If you want to use Microsoft.Practices.SPG.AJAXSupport.dll. We can download the SharePointGuidance-August 2009.exe and install it, then we can find the project in the Source folder.
    Download:
    http://www.microsoft.com/en-us/download/confirmation.aspx?id=13284
    Thanks,
    Dennis Guo
    TechNet Community 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]
    Dennis Guo
    TechNet Community Support

  • Content Search web Part on Variations label ?

    Hello Experts, 
    I have set up Variations in SharePoint 2013 and its working fine. As of now I have only one Label and in Variations Settings I have selected to "Update web part changes to target web pages when Variations source page is updated". 
    On Source Label , I added a Content Search Web Part (CSW) to pull the items from a list that is on the top level ( root of the site collection so that query will remain same on all labels), working fine , Now i go to my target site and sync with source and
    it is synced successfully. I can see the CSW was also update on the target page but it says "sorry something went wrong". when I edit CSW on the target site , search query from source is also present and it works fine in edit mode when I click on
    Test query button ,  but when I save it or publish target site web part shows same error again" sorry something went wrong" .
    Is there some settings missing?
    Can someone please confirm if CSW works with variations on labels ? 
    Thanks in advance for any help. 

    Resolution : Issue was resolved after creating folder in "Language files" library as mentioned in the link below.
    http://richardstk.com/2014/11/18/sharepoint-2013-content-search-web-part-one-or-more-of-the-following-resource-files-failed-to-load/ 
    Still trying to figure out why this happens , every time I create a new label I have to go and create folder manually and paste "CustomStrings.js" file in it. any body knows ?? 
    Thanks. 

  • Query anonymous using Content Search Web Part

    I'm using the Content Serach Web Part in a template with public access, trying to query list data. It works fine when logged in, but as an anonymous user I get an error with correlation-id 000000000000-0000-0000-0000-000000000000. I do have anonymous
    access to the list data I query. Also I have added ViewFormPages to the AnonymousPermMask property as suggested, but with no luck.
    Anyone know how to search anonymous using the Content Serach Web Part, please share! Thanks in advance.

    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/09a40222-36a4-472d-a9b8-28436ff3b78d/content-by-search-web-part-not-working-properly-for-anonymous-user?forum=sharepointdevelopment
    Please try to break inheritance permission for the anonymous users, and add ‘View Application Pages’ permission for them, it seems that the permission for anonymous users is moved by the lockdown feature, you can use the following PowerShell Script to change
    this:
    $web = get-spweb "http://yoursiteurl/subweb/subsubweb"
    $list = $web.Lists["ListName"]
    $list.BreakRoleInheritance($true)
    $list.AnonymousPermMask = $list.AnonymousPermMask -bor ([int][Microsoft.SharePoint.SPBasePermissions]::ViewFormPages) #binary or adding the permissions
    $list.Update()
    More information, How to Make List Items Visible to Anonymous Users (in Search):
    http://soerennielsen.wordpress.com/2012/05/29/how-to-make-list-items-visible-to-anonymous-users-in-search/
    http://www.mavention.com/blog/anonymous-search-results-cache-sharepoint-2013-public-websites
    <a:KeyValueOfstringanyType>
      <a:Key>TryCache</a:Key>
      <a:Value i:type="b:boolean"
    xmlns:b="http://www.w3.org/2001/XMLSchema">true</a:Value>
    </a:KeyValueOfstringanyType>
    http://magenic.com/BlogArchive/SharePoint2013ContentSearchWebPartsCatalogs
    http://blog.mastykarz.nl/inconvenient-anonymous-search-results-cache-user-segments/
    If this helped you resolve your issue, please mark it Answered

  • Control the query of Content By Search web part or a Catalog-Item Reuse web part from JavaScript

    Is it possible/supported to intercept and change the query before it gets issued by a Content By Search or Catalog-Item Reuse webpart?
    I am writing a multilingual site utilizing cross-site publishing mechanism, and the out-of-box (OOB) web parts would perfectly work if not for the following requirement that I've got: I need to serve location-specific content to the end user. I have several
    versions of each content page for each geographical location, and I have tagged the pages accordingly with managed metadata keywords. I also can deduce the user's location from her browser's IP address and store it in a JavaScript variable. It is here
    where I am getting stuck: I am trying to change on the fly the queries the web parts issue in order to attach the information about the user's geographical location, unsuccessfully so far.
    I cannot rely on server-side code unless it is a cloud-hosted app code. I am about to give up and consider a custom solution alternative instead, which would be relying on Search REST API and custom client-side scripted widgets in place
    of the OOB search web parts. This seems like an expensive alternative as the entire site could have been built using the OOB web parts, if not for the location requirement.
    I would appreciate any suggestions.
    Thanks in advance,
    Ivan.

    hi
    I would check several directions:
    - in query transformation you may add keyword filter "Value of a field on the page". Documentation doesn't clearly says what "field" means here: is it only for site columns, or also may work for UI controls on the page. In second case it would solve your
    problem (it would be possible to add hidden field on the page and set value via javascript). But chances that it works like this are not high;
    - in the query settings of the Content by search web part there is setting "Loading behavior": Choose whether this query is issued on the server while the page is loading, which is better for your main content, or from the browser after the page appears.
    I.e. if you will choose 2nd option there will be a chance to intercept the query on the client side in theory. All of this requires experimenting of course;
    - by default Content by search web part sends query to /_vti_bin/client.svc/ProcessQuery with http post from client side (you may check it in fiddler). You may try to find the exact javascript function which performs the call and override it by adding additional
    conditions to the query (fortunately it is not complicated in javascript).
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • 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?

  • Content Search web part

    Hi
    Is it possible to filter the CSWP by "Value available in documents".
    We are trying to get all excel document which contains text "C:\Documents and Settings".
    Thanks in advance,
    Hazeq.

    Hi,
    You can add the following query text in the Content Search web part which will show all Excel files with
    phrase "Documents and Settings".
    (FileExtension:xls OR FileExtension:xlsx) (IsDocument:"True" OR contentclass:"STS_ListItem") "Documents and Settings"
    The reason why we cannot use "C:\Documents and Settings" is because by default most punctuation marks will be ignored when the content get indexed by
    Word Breaker. Therefore, there is not a phrase named "C:\Documents and Settings" existed in index file. A workaround is to use "Documents and Settings" phrase.
    Miles LI TechNet Community Support

  • 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

Maybe you are looking for

  • Can Xcelsius dashboard open in Lotus Notes?

    Does anyone has experience using Xcelsius dashboard in Lotus Notes?

  • Internet Explorer 9 and any Flash version 11.4 and higher does not function

    Hello, I am the network admin for a small business of about 300 user and computers.  Recently after the release of Flash 11.4 and above I have noticed that any user on my domain has had issues with Flash unless they are a local or domain administrato

  • Video capture with Yahoo Messenger?

    using Yahoo Messenger version 3 beta, is there a way to capture video from the other party? thanks!

  • "Wobbly" page when scrolling in safari with iPad 3

    I've noticed a very strange "issue" with the scrolling on my iPad 3, It looks a little "wobbly" with quick up and down scrolling on a web page. It's like the left side is slightly lagging behind the right. Anyone else have this "issue"? I haven't hea

  • Kappy, thanks for your help

    So my last question to Kappy which he answered so expertly was "how to transfer from one time capsule to the other the saved info". Great job.. I am taking the plunge, what do I do with the old time capsule? Do I use it as a back up? if so, can I kil