Edit dynamic content types and their hierarchy

Once you created a content type, you can edit its properties, fields, and the hierarchy between content types.

If your module has more than one content type, you can have either a flat structure – all content types are on one level, or you can have hierarchy, some content types are parents of other content types. You choose the parent of a content type when you create it, but you can change this parent when you edit the content type.

To edit a content type, create a new content, or change the hierarchy of your content types, perform the following:

  1. Click Administration » Module builder.
  2. Click the module whose content type you want to edit.
    The module’s detailed page appears.
  3. Under This module contains..., click the content type.
    • To edit the content type:
      1. Edit the properties and the fields of the content type.
        For more information, see Create a dynamic content type.

        NOTE: If you want to change the identifier of the module, you must also update the grid, displaying the content items. For more information, see Change the identifier of a content type

      2. To change the hierarchy, you must select a new parent in Parent content type dropdown box.
      3. Click Finish.
    • To delete the content type:
      1. In the lower-right corner, click Delete.
      2. Confirm the deletion.
        The content type and all content items create with it are permanently deleted.

Hierarchical changes

If you have changed the parent type of a content type, the system cannot map all the items of this type with respective parent items of the new parent type. You have to make this mapping manually. For this purpose, the system automatically creates an item in the parent content type, named Moved items. This item, by default becomes a parent item of all items of the content type that you have moved. 

EXAMPLE: If you have two content types – Blogs and Blog posts, which are both at top level. You have created a couple of blogs and some blog posts. Later, you decide that you want to make Blog posts a child content type of Blogs, meaning each blog will have its own blog posts. You open Blog posts content type for editing and you select as parent Blogs. The system moves all created blog posts under the Blogs content type, but it does not know which blog post will belong to which blog. Therefore, the Moved items item is created and it becomes a parent of all blog posts. If you open the Moved items item, you can see all blog posts and you can edit each blog post and assign it to a particular blog, by changing its parent.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?