Posts

Showing posts from October, 2018

SXA Data folder behavior

Image
Let me start of with a general clarification for those of you who have little to no experience with SXA. With Sitecore Experience Accelerator, data sources can still be stored in multiple places. And by default, your page's datasources will be stored either under a site-wide data folder node or the data folder located underneath your actual page. Meaning that everything related and uniquely linked to a page is simply nested underneath that page and those blocks of content that allow further re-use are found on a higher data-repository level. When adding a new component you are presented with the following option to select or create a new piece of associated content: However, from time to time some unexpected behavior might pop up. Sitecore, by default, will use the Sitecore GUID as reference point for the datasource location in your presentation properties. However, with SXA, the relative path of your datasource is used instead SXA chose this approach to make the