@servicenow/sdk - v4.7.0
    Preparing search index...
    interface Record<T extends TableName = TableName> {
        $id: string | number | ExplicitKey<string>;
        $meta?: { installMethod?: "first install" | "demo" | "once" };
        data: Data<T>;
        table: T;
    }

    Type Parameters

    Index

    Properties

    Properties

    $id: string | number | ExplicitKey<string>
    $meta?: { installMethod?: "first install" | "demo" | "once" }

    Type Declaration

    • OptionalinstallMethod?: "first install" | "demo" | "once"

      Map a record to an output folder that loads only in specific circumstances. 'first install' -> 'unload' (only loaded when plugin is first registered), 'demo' -> 'unload.demo' (only loaded when demo data is loaded), 'once' -> 'apply_once' (scripts that are only applied once)

    data: Data<T>

    Fields and their values in the table.

    table: T

    The table to which the record belongs.