Info
Version: | 10.3.0.23221 |
Author(s): | Richard J. Cabral. |
Last Update: | Friday, June 16, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://constellation4sitecore.com/foundation/package-verification/ |
NuGet Url: | https://www.nuget.org/packages/Constellation.Foundation.PackageVerification |
Install
Install-Package Constellation.Foundation.PackageVerification
dotnet add package Constellation.Foundation.PackageVerification
paket add Constellation.Foundation.PackageVerification
Constellation.Foundation.PackageVerification Download (Unzip the "nupkg" after downloading)
Dependencies
- Sitecore.Kernel(>= 10.0.0)
Tags
Requires .NET 4.8
Constellation is a collection of utilities for .NET CMS implementers.
The Foundation.PackageVerification library can be used to create NuGet packages that "self install" Items in Sitecore
during the Sitecore initialization process.
This can be very handy if your library requires a few "traffic control"
Items or some Core/Sheer/SPEAK Items in order to run. It can also be used to prevent users from breaking your install.
To use, install this NuGet package and review the provided example configuration file. for each Package you want to
"verify," supply the name of the package (must be in the /packages folder) and the ID and database of Items you can use
to determine if the package was previously installed. If these Items are not located, the package provided will be
installed.
Results are logged.
It is possible to create your own package processor if your verification needs are more substantial. See the provided
configuration example for where to override package processing on a package-by-package basis.