Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDashboard

    Represents a dashboard.

    Namespace: Umbraco.Cms.Core.Dashboards
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDashboard : IDashboardSlim

    Properties

    View Source

    AccessRules

    Gets the access rule determining the visibility of the dashboard.

    Declaration
    [DataMember(Name = "access")]
    IAccessRule[] AccessRules { get; }
    Property Value
    Type Description
    IAccessRule[]
    Remarks

    This field is not needed by the UI and therefore we want to exclude it from serialization, but it is deserialized as part of the manifest, therefore we cannot plainly ignore it.

    So, it has to remain a data member, plus we use our special JsonDontSerialize attribute (see attribute for more details).

    View Source

    Sections

    Gets the aliases of sections/applications where this dashboard appears.

    Declaration
    [DataMember(Name = "sections")]
    string[] Sections { get; }
    Property Value
    Type Description
    System.String[]
    Remarks

    This field is not needed by the UI and therefore we want to exclude it from serialization, but it is deserialized as part of the manifest, therefore we cannot plainly ignore it.

    So, it has to remain a data member, plus we use our special JsonDontSerialize attribute (see attribute for more details).

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • AccessRules
      • Sections
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX