Contents
How do I add content to Web part?
, select Edit page. In the Zone where you want to add the Web Part, select Add a Web Part. In the Categories list, select Content Rollup. In the Parts list, select Content Search > Add.
Navigate to a SharePoint page. Click on the Page tab and then click on the Edit button in the ribbon interface. Click on the Insert tab and then click on the Web Part button in the ribbon interface. Click on the Content Rollup category, select Content Search and then click on the Add button.
How do I highlight files in a folder?
Other tips
- Click the first file or folder you want to select.
- Hold down the Shift key, select the last file or folder, and then let go of the Shift key.
- Hold down the Ctrl key and click any other file(s) or folder(s) you would like to add to those already selected.
How to add the highlighted content web part?
Add the Highlighted content web part: Start with adding the web part to your page. Choose content: Choose the source location (such as a site or document library) and type of content to show (such as documents, pages, news, videos, images, etc.).
Highlighted content is a modern SharePoint web part, that we can use to display documents dynamically from a document library, a particular site or site collection, from various site collections, or from All sites in SharePoint Online. It will be available in SharePoint Online modern experience.
How to use CAML for highlighted content in SharePoint?
This is how we can use CAML in SharePoint Online highlighted content custom query web part to filter documents. If you are new to CAML, you can check out CAML syntax in this MSDN article. As of now, highlighted content web part does not have the option to display items from a particular folder from a document library.
This is how we can use SharePoint online highlighted content kql filter option. As a part of SharePoint online highlighted content custom query, we can also use CAML to filter documents from a document library and display those documents. If you want to use CAML, then the data source should be either Document library or Pages library on this site.