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

    Variable sys_appConst

    sys_app: {
        actions: ["read", "update"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        attributes: {
            metadata_link_exempt: true;
            synch_attachments: true;
            update_synch: true;
        };
        audit: true;
        extends: "sys_scope";
        label: "Custom Application";
        name: "sys_app";
        schema: {
            hide_on_ui: Typed<boolean, { default: false; label: "Hidden on ui" }>;
            installed_as_dependency: Typed<
                boolean,
                { default: false; label: "Installed via Dependency" },
            >;
            licensable: OverrideColumnType;
            license_definition: Typed<
                | string
                | Record<"sys_app_license_defn">
                | ExplicitKey<"sys_app_license_defn">
                | TableBrand<"sys_app_license_defn">,
                {
                    attributes: { encode_utf8: false };
                    dynamicCreation: true;
                    dynamicCreationScript: "current.sys_scope = parent.sys_id; current.active = parent.active; current.insert();";
                    label: [
                        {
                            hint: "License definition for the current version of the application";
                            label: "License Definition";
                            plural: "License Definitions";
                        },
                    ];
                    referenceQual: "javascript:'sys_scope.scope=' + current.scope";
                    referenceTable: "sys_app_license_defn";
                },
            >;
            menu: Typed<
                | string
                | TableBrand<"sys_app_application">
                | Record<"sys_app_application">
                | ExplicitKey<"sys_app_application">,
                {
                    dynamicCreation: true;
                    dynamicCreationScript: "current.sys_scope = parent.sys_id; current.title = value; current.active = parent.active; current.name = SncAppsUI.generateNameFromLabel(value); current.category = 'e0355b31ef303000a61d5a3615c0fb78'; current.insert();";
                    label: [
                        {
                            hint: "This application's primary menu where default table modules will reside";
                            label: "Menu";
                            plural: "Menus";
                        },
                    ];
                    referenceTable: "sys_app_application";
                },
            >;
            store_correlation_id: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    label: [
                        {
                            hint: "Identifies the unique application id assigned by the app store";
                            label: "Store correlation ID";
                            plural: "Store correlation IDs";
                        },
                    ];
                },
            >;
            store_url: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    label: [
                        {
                            hint: "Identifies the application URL for configuring the offering in the app store";
                            label: "Store URL";
                            plural: "Store URLs";
                        },
                    ];
                },
            >;
            sys_code: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    label: [
                        {
                            hint: "Internal code used to identify plugins";
                            label: "Code";
                            plural: "Codes";
                        },
                    ];
                    maxLength: 100;
                },
            >;
            sys_id: Typed<
                string
                | number,
                {
                    active: true;
                    column_type: "GUID";
                    label: "Sys ID";
                    mandatory: false;
                    read_only: false;
                },
            >;
            uninstall_blocked: Typed<
                boolean,
                { default: false; label: "Uninstall Blocked" },
            >;
            user_role: Typed<
                | string
                | Record<"sys_user_role">
                | ExplicitKey<"sys_user_role">
                | TableBrand<"sys_user_role">,
                {
                    dynamicCreation: true;
                    dynamicCreationScript: "current.sys_scope = parent.sys_id; current.name = value; var s = parent.scope.toString(); if(!parent.scope.nil() && parent.scope.toString() != 'global' && value.indexOf(parent.scope.toString() + '.') == 0) { current.suffix = value.substring(parent.scope.toString().length + 1, value.length); } current.insert();";
                    label: [
                        {
                            hint: "Role required for end users to access this application and its tables";
                            label: "User role";
                            plural: "User roles";
                        },
                    ];
                    referenceTable: "sys_user_role";
                },
            >;
            version: OverrideColumnType;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { metadata_link_exempt: true; synch_attachments: true; update_synch: true }
    • Readonlyaudit: true
    • Readonlyextends: "sys_scope"
    • Readonlylabel: "Custom Application"
    • Readonlyname: "sys_app"
    • Readonlyschema: {
          hide_on_ui: Typed<boolean, { default: false; label: "Hidden on ui" }>;
          installed_as_dependency: Typed<
              boolean,
              { default: false; label: "Installed via Dependency" },
          >;
          licensable: OverrideColumnType;
          license_definition: Typed<
              | string
              | Record<"sys_app_license_defn">
              | ExplicitKey<"sys_app_license_defn">
              | TableBrand<"sys_app_license_defn">,
              {
                  attributes: { encode_utf8: false };
                  dynamicCreation: true;
                  dynamicCreationScript: "current.sys_scope = parent.sys_id; current.active = parent.active; current.insert();";
                  label: [
                      {
                          hint: "License definition for the current version of the application";
                          label: "License Definition";
                          plural: "License Definitions";
                      },
                  ];
                  referenceQual: "javascript:'sys_scope.scope=' + current.scope";
                  referenceTable: "sys_app_license_defn";
              },
          >;
          menu: Typed<
              | string
              | TableBrand<"sys_app_application">
              | Record<"sys_app_application">
              | ExplicitKey<"sys_app_application">,
              {
                  dynamicCreation: true;
                  dynamicCreationScript: "current.sys_scope = parent.sys_id; current.title = value; current.active = parent.active; current.name = SncAppsUI.generateNameFromLabel(value); current.category = 'e0355b31ef303000a61d5a3615c0fb78'; current.insert();";
                  label: [
                      {
                          hint: "This application's primary menu where default table modules will reside";
                          label: "Menu";
                          plural: "Menus";
                      },
                  ];
                  referenceTable: "sys_app_application";
              },
          >;
          store_correlation_id: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  label: [
                      {
                          hint: "Identifies the unique application id assigned by the app store";
                          label: "Store correlation ID";
                          plural: "Store correlation IDs";
                      },
                  ];
              },
          >;
          store_url: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  label: [
                      {
                          hint: "Identifies the application URL for configuring the offering in the app store";
                          label: "Store URL";
                          plural: "Store URLs";
                      },
                  ];
              },
          >;
          sys_code: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  label: [
                      {
                          hint: "Internal code used to identify plugins";
                          label: "Code";
                          plural: "Codes";
                      },
                  ];
                  maxLength: 100;
              },
          >;
          sys_id: Typed<
              string
              | number,
              {
                  active: true;
                  column_type: "GUID";
                  label: "Sys ID";
                  mandatory: false;
                  read_only: false;
              },
          >;
          uninstall_blocked: Typed<
              boolean,
              { default: false; label: "Uninstall Blocked" },
          >;
          user_role: Typed<
              | string
              | Record<"sys_user_role">
              | ExplicitKey<"sys_user_role">
              | TableBrand<"sys_user_role">,
              {
                  dynamicCreation: true;
                  dynamicCreationScript: "current.sys_scope = parent.sys_id; current.name = value; var s = parent.scope.toString(); if(!parent.scope.nil() && parent.scope.toString() != 'global' && value.indexOf(parent.scope.toString() + '.') == 0) { current.suffix = value.substring(parent.scope.toString().length + 1, value.length); } current.insert();";
                  label: [
                      {
                          hint: "Role required for end users to access this application and its tables";
                          label: "User role";
                          plural: "User roles";
                      },
                  ];
                  referenceTable: "sys_user_role";
              },
          >;
          version: OverrideColumnType;
      }
    • ReadonlytextIndex: true