vendredi 30 janvier 2015

Content Search Webpart - Return Sites - Customer Template



What property filter should I use in the content search webpart to return sites created using my customer site template?


Here is what I use now which returns all subsites under current site:



path:{Site} contentclass:STS_Web Site<>{Site.URL} UrlDepth<4


I used JSOM and got the Site Title and Site Name using get_title() and get_id() function and hence I know the title and Id of my custom site template. I tried the these values in SiteTemplate, SiteTemplateId, WebId properties in the search webpart using contains and equals conditions but I do not get any results when I use this condition.


Any suggestions?








0 commentaires:

Enregistrer un commentaire