@servicenow/sdk - v4.13.3
    Preparing search index...

    Variable sys_metadataConst

    sys_metadata: {
        allowWebServiceAccess: true;
        attributes: {
            "all_tables.forcePrimaryKeyOrdering": true;
            "all_tables.include_auto_recovery": true;
            "all_tables.text_index_translations": true;
            kagami_csindex_enabled: true;
            no_data_replicate: true;
            no_labels: true;
            text_index_default_partial_matching_rule: "-25%";
            text_index_default_query_mode: "IR_AND_OR_QUERY";
            text_index_enable_idf: true;
        };
        extensible: true;
        label: "Application File";
        name: "sys_metadata";
        schema: {
            sys_class_name: Typed<
                string,
                {
                    default: "javascript:current.getTableName();";
                    dropdown: "dropdown_without_none";
                    label: "Class";
                    maxLength: 80;
                },
            >;
            sys_created_by: Typed<
                string,
                { label: [{ label: "Created by"; plural: "Created by" }] },
            >;
            sys_created_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Created"; plural: "Created" }] },
            >;
            sys_id: Typed<
                string
                | number,
                {
                    active: true;
                    column_type: "GUID";
                    label: "Sys ID";
                    mandatory: false;
                    read_only: false;
                },
            >;
            sys_mod_count: Typed<
                number,
                { label: [{ label: "Updates"; plural: "Updates" }] },
            >;
            sys_name: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Display name for this application file";
                            label: "Display name";
                            plural: "Display names";
                        },
                    ];
                    maxLength: 255;
                },
            >;
            sys_package: Typed<
                | string
                | ExplicitKey<"sys_package">
                | TableBrand<"sys_package">
                | Record<"sys_package">,
                {
                    attributes: { readonly_clickthrough: true };
                    cascadeRule: "none";
                    label: "Package";
                    readOnly: true;
                    readOnlyOption: "strict_read_only";
                    referenceTable: "sys_package";
                },
            >;
            sys_policy: Typed<
                "read"
                | "protected",
                {
                    attributes: { plugin_upgrade_update_only: true };
                    choices: {
                        protected: { label: "Protected"; sequence: 2 };
                        read: { label: "Read-only"; sequence: 1 };
                    };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Determines how application files are protected when downloaded or installed";
                            label: "Protection policy";
                            plural: "Protection policies";
                        },
                    ];
                },
            >;
            sys_scope: Typed<
                | string
                | ExplicitKey<"sys_scope">
                | TableBrand<"sys_scope">
                | Record<"sys_scope">,
                {
                    attributes: {
                        ignore_filter_on_new: true;
                        list_force_default: true;
                        readonly_clickthrough: true;
                    };
                    cascadeRule: "none";
                    default: "javascript:(((typeof parent == 'object') && parent != null && parent.getTableName() == 'sys_app') ? parent.sys_id : gs.getCurrentApplicationId())";
                    label: [
                        {
                            hint: "Application containing this record";
                            label: "Application";
                            plural: "Applications";
                        },
                    ];
                    referenceTable: "sys_scope";
                },
            >;
            sys_update_name: Typed<string, { label: "Update name"; maxLength: 250 }>;
            sys_updated_by: Typed<
                string,
                { label: [{ label: "Updated by"; plural: "Updated by" }] },
            >;
            sys_updated_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Updated"; plural: "Updated" }] },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: {
          "all_tables.forcePrimaryKeyOrdering": true;
          "all_tables.include_auto_recovery": true;
          "all_tables.text_index_translations": true;
          kagami_csindex_enabled: true;
          no_data_replicate: true;
          no_labels: true;
          text_index_default_partial_matching_rule: "-25%";
          text_index_default_query_mode: "IR_AND_OR_QUERY";
          text_index_enable_idf: true;
      }
    • Readonlyextensible: true
    • Readonlylabel: "Application File"
    • Readonlyname: "sys_metadata"
    • Readonlyschema: {
          sys_class_name: Typed<
              string,
              {
                  default: "javascript:current.getTableName();";
                  dropdown: "dropdown_without_none";
                  label: "Class";
                  maxLength: 80;
              },
          >;
          sys_created_by: Typed<
              string,
              { label: [{ label: "Created by"; plural: "Created by" }] },
          >;
          sys_created_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Created"; plural: "Created" }] },
          >;
          sys_id: Typed<
              string
              | number,
              {
                  active: true;
                  column_type: "GUID";
                  label: "Sys ID";
                  mandatory: false;
                  read_only: false;
              },
          >;
          sys_mod_count: Typed<
              number,
              { label: [{ label: "Updates"; plural: "Updates" }] },
          >;
          sys_name: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Display name for this application file";
                          label: "Display name";
                          plural: "Display names";
                      },
                  ];
                  maxLength: 255;
              },
          >;
          sys_package: Typed<
              | string
              | ExplicitKey<"sys_package">
              | TableBrand<"sys_package">
              | Record<"sys_package">,
              {
                  attributes: { readonly_clickthrough: true };
                  cascadeRule: "none";
                  label: "Package";
                  readOnly: true;
                  readOnlyOption: "strict_read_only";
                  referenceTable: "sys_package";
              },
          >;
          sys_policy: Typed<
              "read"
              | "protected",
              {
                  attributes: { plugin_upgrade_update_only: true };
                  choices: {
                      protected: { label: "Protected"; sequence: 2 };
                      read: { label: "Read-only"; sequence: 1 };
                  };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Determines how application files are protected when downloaded or installed";
                          label: "Protection policy";
                          plural: "Protection policies";
                      },
                  ];
              },
          >;
          sys_scope: Typed<
              | string
              | ExplicitKey<"sys_scope">
              | TableBrand<"sys_scope">
              | Record<"sys_scope">,
              {
                  attributes: {
                      ignore_filter_on_new: true;
                      list_force_default: true;
                      readonly_clickthrough: true;
                  };
                  cascadeRule: "none";
                  default: "javascript:(((typeof parent == 'object') && parent != null && parent.getTableName() == 'sys_app') ? parent.sys_id : gs.getCurrentApplicationId())";
                  label: [
                      {
                          hint: "Application containing this record";
                          label: "Application";
                          plural: "Applications";
                      },
                  ];
                  referenceTable: "sys_scope";
              },
          >;
          sys_update_name: Typed<string, { label: "Update name"; maxLength: 250 }>;
          sys_updated_by: Typed<
              string,
              { label: [{ label: "Updated by"; plural: "Updated by" }] },
          >;
          sys_updated_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Updated"; plural: "Updated" }] },
          >;
      }
    • ReadonlytextIndex: true