Try our conversational search powered by Generative AI!

Grzegorz Wiecheć
Oct 8, 2023
  1218
(8 votes)

Redesign of Admin Mode Content Types

Recently, in EPiServer.CMS.UI 12.23.0, we’ve updated designs for the content types edit view in Admin Mode.

It's important to mention, that no functionality has been removed, and there are no breaking changes as a result of these updates, functionally everything is working in the same way. We have just reorganized the layout to be more user friendly and consistent with other modules.

Content types have a lot functionality to configure. We grouped them into a few clear sections: Properties, Details, Default Values, Child Content Types, Permissions and Settings. I will describe them one by one.

Properties

The properties section displays a list of properties that belongs to the edited content type. It allows to search and filter properties. From the list, Administrator can create and edit properties.

Details

The "details" section contains basic, non-editable information about the content type, like GUID, created date and model type name. This section allows you to check database related fields and helps with troubleshooting.

Default values

The "Default Values" section allows you to configure default settings for pages, like sort order or publishing rules. This section is available only for Page Types.

Child content types

The Child content types section allows you to define which content type instances can be created as children of the content type.

Permissions

The Permission section allows you to configure access rights to the content type for specific groups and users.

Settings

The Settings section allows you to configure basic content type properties. Some properties cannot be set when they were localized.

In this section, Administrators can also reset the content type (for content types created from code) or Delete the content type (for content types creted from Admin mode).

Additional functionality

As I mentioned at the beginning, no functionality was removed, but a few small features related to editing properties were added.

List properties

Since some time, creating list properties was available from code (you can read more about list properties here). Now it's also available from Admin mode. To create a list property, an Administrator has to enable the "List" checkbox.

Reordering properties

In the previous version, reordering properties was done with the "Sort index" input field on property details form. Administrator can still use this functionality, but now properties can be reordered in easier way by using drag & drop. Additionally, this functionality allows to change the group of the property.

Type selection

Before, the property definition type selector was a long list of types. Now, in the current version, types are grouped with additional dropdown. For example for Text group we can select Long string, String or XHTML.

Settings

On the properties edit form, we now allow to configure some of the custom property settings.

Allowed types

For property types related with ContentReference type, like ContentArea, Content Item etc., an administrator can configure allowed and restricted types.

Dropdown lists

We changed the layout for dropdown lists to be more user friendly. There are no nested dialogs anymore and items can be configured directly from property edit form.

Numbers

For number property types (Integer and Floats), an Administrator can configure value range by setting minimum and maximum values. Range can be also configured for date properties.

String

For String property types, an Administrator can configure a maximum length as well as input regular expression validation rules.

Oct 08, 2023

Comments

Petri Isola
Petri Isola Oct 9, 2023 07:48 AM

I am digging this. A lot!

Eric
Eric Oct 28, 2023 10:17 PM

Really nice update. Will be interesting to know if we are going back to the old way of defining properties only in db and no longer use models in code to create types? Regardless of this it feels nice that the old and forgotten admin interface now updates frequently :)  Some feedback though on the edit interface is that we would like to have some more contrast and or color in the interface. It is a bit hard to actually find what is in focus with only diffrent shades of gray.

Grzegorz Wiecheć
Grzegorz Wiecheć Oct 30, 2023 08:26 AM

Thank you for your feedback Eric. As you mention, from time to time we will be upgrading Admin Mode layout.

The code first approach is valid and there are no plans to remove it. We updated the Ux for the Admin Mode and did not remove existing functionality.

Praful Jangid
Praful Jangid Feb 26, 2024 05:08 AM

Quick guide for the beginners.

Thanks.

Please login to comment.
Latest blogs
Why C# Developers Should Embrace Node.js

Explore why C# developers should embrace Node.js especially with Optimizely's SaaS CMS on the horizon. Understand the shift towards agile web...

Andy Blyth | May 2, 2024 | Syndicated blog

Is Optimizely CMS PaaS the Preferred Choice?

As always, it depends. With it's comprehensive and proven support for complex business needs across various deployment scenarios, it fits very well...

Andy Blyth | May 2, 2024 | Syndicated blog

Adding market segment for Customized Commerce 14

Since v.14 of commerce, the old solution  for adding market segment to the url is not working anymore due to techinal changes of .NET Core. There i...

Oskar Zetterberg | May 2, 2024

Blazor components in Optimizely CMS admin/edit interface

Lab: Integrating Blazor Components into Various Aspects of Optimizely CMS admin/edit interface

Ove Lartelius | May 2, 2024 | Syndicated blog

Anonymous Tracking Across Devices with Optimizely ODP

An article by Lead Integration Developer, Daniel Copping In this article, I’ll describe how you can use the Optimizely Data Platform (ODP) to...

Daniel Copping | Apr 30, 2024 | Syndicated blog

Optimizely Forms - How to add extra data automatically into submission

Some words about Optimizely Forms Optimizely Forms is a built-in add-on by Optimizely development team that enables to create forms dynamically via...

Binh Nguyen Thi | Apr 29, 2024