Posts

Showing posts from August, 2020

How to use snippets in SXA project

Image
  Snippets in SXA Snippets enable content editors to work more efficiently by reusing predefined sets of renderings on site pages. You can specify the behavior of snippets reuse in the Content Editor. For example, whether you allow content editors to duplicate and change the snippet locally. Data Source Configuration A unique feature of the snippet, is that the usage can take a couple of paths depending on intent of usage. Through the Content Editor there are three setting options for a snippet item regarding how to handle the data sources of applied to any renderings placed within the snippet. Do not copy  – The default setting. The snippet uses a globally assigned data source. The source of the content is in the site data folder. When you reuse this snippet on different pages and then change it, all instances of the snippet on all pages are updated automatically. Copy global data source to local context upon selection  – A copy of the snippet, its configuration, and con...

Search Page in Sitecore SXA

Image
                              There are three parts of this page : 1. Search Box 2. Search Results  3. Filters 1. Set up Search Box : To enable your visitors to search your site, you can add a search box to your pages. By default, the Search Box rendering adds the search text box to the page. You can customize the search box by configuring the item and changing the properties. To add a search box to your page: From the Toolbox, drag the Search Box rendering to the page. In the Select the Associated Content dialog box, for the search box, select the Default item. 3. In the Select the Associated Content dialog box, for the search box, select the Default item. Search results signature – enter the unique signature of a specific Search Results rendering to limit the search results. This can be convenient when you have more than one search result rendering on the page. Search scope – select a scope to limit the se...