TOP
EN EL
Extending Member Types in Umbraco
15 September 2024 Published by Aristotelis Pitaridis
Tools used for this tutorial
Microsoft Visual Studio Community 2022 17.10.5
Umbraco 14.2.0
Bootstrap 5.0.2
SHARE

Introduction

Umbraco is a powerful and flexible open-source CMS that allows developers to create custom solutions tailored to their needs. One of the key features of Umbraco is its ability to manage members, which can be extended to include custom properties. In this article, we will explore how to extend the member type to add extra properties.

Prerequisites

Before you begin, ensure that your system meets the following requirements:

  • An Umbraco project.
  • Development Environment: Visual Studio or any other C# IDE.
  • Database: SQL Server, SQLite, or any supported database.

Adding member properties

In this article we will see how we can add properties to the member type so that we can store the members first and last name.

  • In the “Member Types” section, select the “Member” type.
  • Click on “Add Property” and create a property for “First Name”:
    • Name: First Name
    • Alias: firstName
    • Type: Textstring
  • Repeat the process to create a property for “Last Name”:
    • Name: Last Name
    • Alias: lastName
    • Type: Textstring
  • Click on Save button.

In the next articles in the series we'll see how we can use the member type in conjunction with the properties we've create in order to generate screens like the member registration and member login.

Summary

In this article, we covered how to extend the member type in Umbraco to add custom properties. By following these steps, you can enhance the functionality of your Umbraco site and provide a more personalized experience for your members.