Constellation.Foundation.Datasources 9.1.2.23267

There is a newer version of this package available.
See the version list below for details.
dotnet add package Constellation.Foundation.Datasources --version 9.1.2.23267
NuGet\Install-Package Constellation.Foundation.Datasources -Version 9.1.2.23267
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Constellation.Foundation.Datasources" Version="9.1.2.23267" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Constellation.Foundation.Datasources --version 9.1.2.23267
#r "nuget: Constellation.Foundation.Datasources, 9.1.2.23267"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Constellation.Foundation.Datasources as a Cake Addin
#addin nuget:?package=Constellation.Foundation.Datasources&version=9.1.2.23267

// Install Constellation.Foundation.Datasources as a Cake Tool
#tool nuget:?package=Constellation.Foundation.Datasources&version=9.1.2.23267

VERSION 9.1 is compiled for Sitecore 9.1 use and will not work on earlier versions.
Requires Sitecore 9.1
Requires .NET 4.7.1

Constellation is a collection of utilities for .NET CMS implementers.
The Foundation.Datasources library is an opinionated information architecture for Sitecore. It includes "base" templates and Item
information rules to enforce the architecture.

Core Architecture Concept:
Web Site Items are one of the following types:

Context Datasource: A "page" Item in Sitecore, has a URL, has presentation, loads a Layout and has placeholders for additional Renderings.

Subcontent: A "page fragment" Item in Sitecore, specifically an Item designed to be used as the DataSource for a Rendering. It is required
for the Rendering to render. Subcontent is optional page content, but is unique to the page it appears on.

Widget: Also a "page fragment" Item in Sitecore, specifically an Item designed to be used as the DataSource for a Rendering. It is required for the Rendering to render. Widgets are optional page content, but are designed to be shared by multiple pages.


The primary information architecture for this design involves the storage of SubContent vs Widgets. All Pages on a site should get a _subcontent folder beneath them which is where Items of type Subcontent should be stored. This allows for Renderings to specify their Datasource location as "./_subcontent"

Widgets should be stored beneath the /tenant/site node (using Helix methodology) typically in a /widgets folder, possibly broken up by widget type or marketing intentions.

You can use the following Rule Conditions to enforce this Information Architecture:
* ItemIsContextDatasource
* Item IsSubcontentDatasource
* ItemIsWidgetDatasource
* ItemSupportsSubcontent (in some cases Pages should not support subcontent, for example, wildcard pages or pages imported from an external system)

You can use the following Rule Actions to enforce this Information Architecture:
* CreateSubcontentFolder

In general you need a rule like this:

On Item Saved, if the Item Supports Subcontent, Create a Subcontent Folder (if none exists) An example is provided in the attached package.

After setting up this rule, ensure that your Renderings are organized into Widgets and Subcontent with appropriate Datasources established.


Installation:
Add this NuGet package to a Web Application project. After building and deploying, this library will automatically install the Sitecore package containing the necessary rules and templates to support this architecture.

Product Compatible and additional computed target framework versions.
.NET Framework net471 is compatible.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.3.0.24773 1,231 6/16/2023
10.2.0.29844 2,698 11/12/2021
10.1.0.29113 2,489 3/4/2021
10.0.2.24036 2,155 11/20/2020
10.0.1.23767 1,335 8/5/2020
10.0.0.23079 1,296 8/4/2020
9.3.0.28349 1,456 6/4/2020
9.1.2.23267 1,783 4/11/2019
9.1.1.23243 1,450 3/6/2019
9.1.0.29542 1,738 12/6/2018
9.1.0.28422 1,470 12/6/2018
9.0.8.25396 1,592 10/21/2018
9.0.7.24650 1,571 10/4/2018
9.0.6.22275 1,590 10/4/2018
9.0.5.20388 1,690 7/23/2018
9.0.4.18797 1,738 6/7/2018
9.0.3.26539 1,750 5/25/2018
9.0.2.20527 1,916 2/12/2018
9.0.2.17869 1,632 2/12/2018
9.0.1.25283 1,870 12/16/2017
9.0.0.26790 1,712 11/24/2017
9.0.0.21676 1,691 11/22/2017
9.0.0.17844 1,659 11/24/2017
9.0.0.17054 1,703 11/24/2017

Updated to support Sitecore 9.1.1