ABB Ability™ History UI SDK - Client API Reference
    Preparing search index...

    Interface IContextItem

    Specifies a single context item in the context object

    interface IContextItem {
        Class?: string;
        Connection?: string | IMiaClient;
        DataItem?: IDataItemConfiguration;
        Id?: unknown;
        ItemType: ContextItemType;
        Key?: string;
        Name?: string;
        Property?: string;
        Type?: cPropertyType;
        Unique?: IUniqueDbProperty;
        Value?: unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Class?: string

    [ItemType.DbClassInstance] Data Class Name

    Connection?: string | IMiaClient

    [ItemType.DbClassInstance] Connection object

    [ItemType.DbClassInstance, ItemType.DataItem] Additional data item configuration.

    Id?: unknown

    [ItemType.DbClassInstance] Data Class Instance Id

    ItemType: ContextItemType

    Context item type

    Key?: string

    A context key, if defined can be used in mapping the context to receiving components.

    Name?: string

    [ItemType.DbClassInstance] Data Class Instance Name

    Property?: string

    [ItemType.DbClassInstance] Data Class Property

    [ItemType.Value] Value type

    [ItemType.DbClassInstance] Data Class Unique Property values to use if Id does not exist.

    Value?: unknown

    [ItemType.Value] Value