Skip to content

Repository files navigation

Sitecore.Utilities

Sitecore.Utilities is a set of small modules for Sitecore.

Modules

CacheViewer

Prerequisites

  • Sitecore PowerShell Extensions

Description

View what is currently inside Sitecore caches. You can also remove selected entries or clean whole content.

Demo

cacheviewer

Links

ISEPlugins

Prerequisites

  • Sitecore PowerShell Extensions

Description

Custom plugins for PowerShell ISE. Current version consists of:

  • Open in CE - opens context script in Content Editor
  • Serialize - serializes context script

Demo

iseplugins

Links

TemplateCodeGenerator

Prerequisites

  • Sitecore PowerShell Extensions

Description

Generate C# code representation of Template items using SPE

Demo

templatecodegenerator

Links

UnicornPackaging

Prerequisites

  • Sitecore PowerShell Extensions
  • Unicorn

Description

Create Sitecore packages out of Unicorn configuration

Demo

unicornpackaging

Links

UnicornDependencyGraphGenerator

Prerequisites

  • Sitecore PowerShell Extensions
  • Unicorn

Description

Generates dependency graph for Unicorn configuration

Demo

UnicornDependencyGraphGenerator

Links


Packaging with Sitecore CLI

Resource packages (.dat files) can be generated using the Sitecore CLI and two scripts in the ps/ folder.

Prerequisites

  • .NET SDK
  • Sitecore CLI local tool (restored via dotnet tool restore)

Setup (first time)

dotnet tool restore

Scripts

ps/Generate-Modules.ps1

Scans all Unicorn serialization configs under src/Feature and src/Foundation and generates a *.module.json file per configuration into modules/Feature/ and modules/Foundation/.

.\ps\Generate-Modules.ps1

ps/Generate-Dat.ps1

Reads every *.module.json under modules/ and produces one .dat resource package per module into the _out/ folder using dotnet sitecore res-pkg create.

.\ps\Generate-Dat.ps1

Full workflow

dotnet tool restore          # once, or after cloning
.\ps\Generate-Modules.ps1   # regenerate module definitions from Unicorn configs
.\ps\Generate-Dat.ps1       # build .dat packages into _out/

About

Set of small modules for Sitecore.

Topics

Resources

Stars

9 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages