Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeCompositionRequestModelBase

    Serves as the base class for models used in content type composition requests within the Umbraco CMS Management API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.ViewModels.ContentType
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public abstract class ContentTypeCompositionRequestModelBase

    Constructors

    View Source

    ContentTypeCompositionRequestModelBase()

    Declaration
    protected ContentTypeCompositionRequestModelBase()

    Properties

    View Source

    CurrentCompositeIds

    Gets or sets the keys of the currently selected content types for composition (also direct inheritance).

    Declaration
    public IEnumerable<Guid> CurrentCompositeIds { get; set; }
    Property Value
    Type Description
    IEnumerable<Guid>
    Remarks

    Any content types containing those aliases will be filtered out along with any content types that have matching property types that are included in the specified ones.

    View Source

    CurrentPropertyAliases

    Gets or sets the currently selected property aliases.

    Declaration
    public IEnumerable<string> CurrentPropertyAliases { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    Remarks

    This is required because when creating/modifying a content type, new properties being added to it are not yet persisted so cannot be looked up via the db, they need to be passed in.

    View Source

    Id

    Gets or sets the content type key.

    Declaration
    public Guid? Id { get; set; }
    Property Value
    Type Description
    Guid?
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX