{"id":548,"date":"2016-07-04T13:16:48","date_gmt":"2016-07-04T13:16:48","guid":{"rendered":"https:\/\/www.sharepoint13.org\/?p=548"},"modified":"2016-07-04T13:43:52","modified_gmt":"2016-07-04T13:43:52","slug":"o365-content-search-to-display-subsites","status":"publish","type":"post","link":"https:\/\/www.sharepoint13.org\/?p=548","title":{"rendered":"O365 -Use Content Search to display Subsites"},"content":{"rendered":"<p>Navigation is often a problem in O365, I like to add the Content Search Web Part to display Subsites. HowTo: Just add the Content Search Web-part on the top site\/ site collection. Edit it and switch to advanced mode and select the \u201cLocal SharePoint Results (System)\u201d. Query text: path:\u201dhttps:\/\/youroffice365tenant\/sites\/\u201d ContentClass:STS_Web<\/p>\n<p><a href=\"https:\/\/www.sharepoint13.org\/wp-content\/uploads\/2016\/07\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/www.sharepoint13.org\/wp-content\/uploads\/2016\/07\/image_thumb.png\" width=\"492\" height=\"339\" \/><\/a><\/p>\n<p>That\u2019s it, you can try different display templates in the web part config, here you see it with a list and two lines, no styling. Works fine for me <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-smile\" style=\"border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none\" alt=\"Smilefjes\" src=\"https:\/\/www.sharepoint13.org\/wp-content\/uploads\/2016\/07\/wlEmoticon-smile.png\" \/><\/p>\n<p><a href=\"https:\/\/www.sharepoint13.org\/wp-content\/uploads\/2016\/07\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/www.sharepoint13.org\/wp-content\/uploads\/2016\/07\/image_thumb-1.png\" width=\"492\" height=\"171\" \/><\/a><\/p>\n<p>Happy Navigation! <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-openmouthedsmile\" style=\"border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none\" alt=\"Smilefjes med \u00e5pen munn\" src=\"https:\/\/www.sharepoint13.org\/wp-content\/uploads\/2016\/07\/wlEmoticon-openmouthedsmile.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Navigation is often a problem in O365, I like to add the Content Search Web Part to display Subsites. HowTo: Just add the Content Search Web-part on the top site\/ site collection. Edit it and<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,6],"tags":[17],"class_list":["post-548","post","type-post","status-publish","format-standard","hentry","category-office365","category-tip","tag-office-365"],"_links":{"self":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=548"}],"version-history":[{"count":3,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions"}],"predecessor-version":[{"id":553,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions\/553"}],"wp:attachment":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}