Module: Custom modules: custom settings

1 of 9 Pages

Introduction

A custom module is a common requirement in digital experience projects. It allows developers to empower certain users to configure the site in new ways that are not available out-of-the-box.

This is the start of a series that shows how to create a basic custom settings module. To start with, the module will hold custom settings keys and values. Administrators and editors with sufficient permissions in the UI will be able to create and adjust the values of these settings, which you can access from your code.

The custom settings we’ll create initially will be global and not associated with any specific channel. We will create custom channel-specific settings later in the series.

Some of the materials here are not exclusive, and may look familiar if you’ve already completed other modules.

Before you start

This series requires the following:

Code samples

You can find a project with completed, working versions of code samples from this series and others in the finished branch of the Training guides repository.

The main branch of the repository provides a starting point to code along with our guides and learning modules.

The code samples in this series are for .NET 8 only.

They come from a project that uses implicit using directives. You may need to add additional using directives to your code if your project does not use this feature.

1 of 9