Constellation.Feature.ItemSorting
10.3.0.25288
dotnet add package Constellation.Feature.ItemSorting --version 10.3.0.25288
NuGet\Install-Package Constellation.Feature.ItemSorting -Version 10.3.0.25288
<PackageReference Include="Constellation.Feature.ItemSorting" Version="10.3.0.25288" />
paket add Constellation.Feature.ItemSorting --version 10.3.0.25288
#r "nuget: Constellation.Feature.ItemSorting, 10.3.0.25288"
// Install Constellation.Feature.ItemSorting as a Cake Addin #addin nuget:?package=Constellation.Feature.ItemSorting&version=10.3.0.25288 // Install Constellation.Feature.ItemSorting as a Cake Tool #tool nuget:?package=Constellation.Feature.ItemSorting&version=10.3.0.25288
Requires Sitecore 10.3
Requires .NET Framework 4.8
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!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
-
- Constellation.Foundation.Data (>= 10.3.0.23123)
- Constellation.Foundation.PackageVerification (>= 10.3.0.23221)
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.25288 | 1,710 | 6/16/2023 |
10.2.0.22163 | 2,624 | 11/15/2021 |
10.1.0.17276 | 3,447 | 3/5/2021 |
10.0.2.24709 | 1,946 | 11/20/2020 |
10.0.1.28446 | 1,120 | 8/5/2020 |
10.0.0.23540 | 1,038 | 8/4/2020 |
9.3.0.18725 | 1,108 | 7/27/2020 |
9.1.3.28240 | 1,681 | 6/21/2019 |
9.1.2.28385 | 1,329 | 4/11/2019 |
9.1.2.28321 | 1,121 | 4/11/2019 |
9.1.1.27831 | 1,311 | 3/6/2019 |
9.1.0.20972 | 1,473 | 12/7/2018 |
9.0.5.18858 | 1,411 | 10/21/2018 |
9.0.4.25196 | 1,389 | 10/4/2018 |
9.0.3.27934 | 1,645 | 7/3/2018 |
9.0.2.27056 | 1,573 | 5/30/2018 |
9.0.2.26690 | 1,556 | 5/25/2018 |
9.0.1.20779 | 1,700 | 2/12/2018 |
9.0.0.27711 | 1,641 | 12/18/2017 |
Updated Sitecore minimum reference to 10.3