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 Feature.ItemSorting library solves the frequently occurring problem of managing a collection of Items that users will not organize themselves, but which they
expect to be organized. Examples include Events in an Event Calendar, Press Releases, and Employee Bios. Users want them sorted by date and dictionary order, but
Sitecore offers little help beyond Subitems Sorting. Additionally, after a few dozen Items, users expect these entries to be grouped into folders. Enter this library!

This library features two simple Rule Actions:
- MoveToAlphabeticalFolder
- MoveToDateFolder

Included in /Installation-Packages/ is a Sitecore Package with the appropriate Rule definitions. The package should self-install after being deployed to your environment.

Rule Actions:
Move Item to Alphabetical Folder - Allows you to specify the template of the folder to use for creating the alphabetical folders.
Move Item to Date Folder - Allows you to specify the template of the folder to use for creating the date folders. Requires you to specify the Field on the Item being
processed that should be used for categorization. Requires you to specify the depth of the associated folder tree. Options are /Year/, /Year/Month/, /Year/Month/Day/

In all cases, the "root" of the classification folders is the first encountered Ancestor that is not of the specified folder type.

Usage Details
1. Create your "list" page that will serve as the root of the classification. In our example we'll use "News"
2. For the Insert Options of your "list" page, include the ability to insert an Item of the type that requires classification. In our example, we'll use "Press Release"
(Note that Press Release must have a date field to use for classification. In our example we'll use the custom field "Release Date". You can use "__Updated" or "__Created" too.)
3. Create a new Item Saved rule that specifies when an Item is of Template "Press Release" it should be moved to a Date Folder. Set the appropriate parameters.
4. Enjoy!

Install-Package Constellation.Feature.ItemSorting -Version
dotnet add package Constellation.Feature.ItemSorting --version
<PackageReference Include="Constellation.Feature.ItemSorting" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Constellation.Feature.ItemSorting --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Covered an unusual case where the name of the Item to be sorted started with the year that it was to be sorted by.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 195 6/21/2019 215 4/11/2019 98 4/11/2019 171 3/6/2019 318 12/7/2018 223 10/21/2018 203 10/4/2018 338 7/3/2018 246 5/30/2018 221 5/25/2018 415 2/12/2018 324 12/18/2017