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

    Variable sys_ui_moduleConst

    sys_ui_module: {
        allowWebServiceAccess: true;
        attributes: { update_synch: true };
        audit: true;
        extends: "sys_metadata";
        label: "Module";
        name: "sys_ui_module";
        schema: {
            active: Typed<boolean, { default: true; label: "Active" }>;
            application: Typed<
                | string
                | Record<"sys_ui_application">
                | ExplicitKey<"sys_ui_application">
                | TableBrand<"sys_ui_application">,
                {
                    attributes: { allow_invalid: true; encode_utf8: false };
                    dynamicCreation: true;
                    dynamicCreationScript: "var mmc = new MobileMenuCreator(current, value); mmc.create(true);";
                    label: [
                        {
                            hint: "The navigation menu where this module should reside";
                            label: "Application menu";
                            plural: "Application menus";
                        },
                    ];
                    referenceTable: "sys_ui_application";
                },
            >;
            filter: Typed<
                string,
                { dependent: "table"; label: "Filter"; maxLength: 3500 },
            >;
            name: Typed<
                string,
                {
                    label: [
                        {
                            hint: "For references by menu lists";
                            label: "Name";
                            plural: "Names";
                        },
                    ];
                    maxLength: 80;
                },
            >;
            order: Typed<number, { label: "Order" }>;
            path: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    label: "Path";
                    maxLength: 3500;
                },
            >;
            path_relative_to_root: Typed<
                boolean,
                { default: false; label: "Path Relative To Root" },
            >;
            roles: Typed<
                (string | Role)[],
                {
                    array: true;
                    attributes: { no_truncate: true; record_watcher_blacklist: true };
                    label: "Roles";
                },
            >;
            sys_domain: Typed<
                string & {}
                | Record<"domain">
                | "global",
                {
                    default: "global";
                    label: [
                        {
                            hint: "Domain to which the script belongs";
                            label: "Domain";
                            plural: "Domains";
                        },
                    ];
                },
            >;
            sys_domain_path: Typed<
                string,
                {
                    attributes: { case_sensitive: true };
                    default: "/";
                    label: "Domain Path";
                },
            >;
            table: Typed<
                keyof Tables,
                {
                    attributes: { allow_public: true; base_start: true };
                    label: "Table";
                    tableReference: true;
                },
            >;
            uncancelable: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "If this module is clicked, then another module is clicked, Setting this to true will prevent this module from being canceled.";
                            label: "Uncancelable by Other Modules";
                            plural: "Uncancelable by Other Modules";
                        },
                    ];
                },
            >;
            view_name: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    default: "javascript:var viewDefault='';if(typeof parent != 'undefined')if(parent.device_type=='mobile') viewDefault='Mobile';viewDefault";
                    label: "View name";
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { update_synch: true }
    • Readonlyaudit: true
    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "Module"
    • Readonlyname: "sys_ui_module"
    • Readonlyschema: {
          active: Typed<boolean, { default: true; label: "Active" }>;
          application: Typed<
              | string
              | Record<"sys_ui_application">
              | ExplicitKey<"sys_ui_application">
              | TableBrand<"sys_ui_application">,
              {
                  attributes: { allow_invalid: true; encode_utf8: false };
                  dynamicCreation: true;
                  dynamicCreationScript: "var mmc = new MobileMenuCreator(current, value); mmc.create(true);";
                  label: [
                      {
                          hint: "The navigation menu where this module should reside";
                          label: "Application menu";
                          plural: "Application menus";
                      },
                  ];
                  referenceTable: "sys_ui_application";
              },
          >;
          filter: Typed<
              string,
              { dependent: "table"; label: "Filter"; maxLength: 3500 },
          >;
          name: Typed<
              string,
              {
                  label: [
                      {
                          hint: "For references by menu lists";
                          label: "Name";
                          plural: "Names";
                      },
                  ];
                  maxLength: 80;
              },
          >;
          order: Typed<number, { label: "Order" }>;
          path: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  label: "Path";
                  maxLength: 3500;
              },
          >;
          path_relative_to_root: Typed<
              boolean,
              { default: false; label: "Path Relative To Root" },
          >;
          roles: Typed<
              (string | Role)[],
              {
                  array: true;
                  attributes: { no_truncate: true; record_watcher_blacklist: true };
                  label: "Roles";
              },
          >;
          sys_domain: Typed<
              string & {}
              | Record<"domain">
              | "global",
              {
                  default: "global";
                  label: [
                      {
                          hint: "Domain to which the script belongs";
                          label: "Domain";
                          plural: "Domains";
                      },
                  ];
              },
          >;
          sys_domain_path: Typed<
              string,
              {
                  attributes: { case_sensitive: true };
                  default: "/";
                  label: "Domain Path";
              },
          >;
          table: Typed<
              keyof Tables,
              {
                  attributes: { allow_public: true; base_start: true };
                  label: "Table";
                  tableReference: true;
              },
          >;
          uncancelable: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "If this module is clicked, then another module is clicked, Setting this to true will prevent this module from being canceled.";
                          label: "Uncancelable by Other Modules";
                          plural: "Uncancelable by Other Modules";
                      },
                  ];
              },
          >;
          view_name: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  default: "javascript:var viewDefault='';if(typeof parent != 'undefined')if(parent.device_type=='mobile') viewDefault='Mobile';viewDefault";
                  label: "View name";
              },
          >;
      }
    • ReadonlytextIndex: true