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

    Variable sysrule_view_workspaceConst

    sysrule_view_workspace: {
        actions: { create: false; delete: false; read: true; update: false };
        allowClientScripts: false;
        allowNewFields: false;
        allowUiActions: false;
        allowWebServiceAccess: true;
        attributes: { no_labels: true; update_synch: true };
        extends: "sysrule";
        label: "View Rule";
        name: "sysrule_view_workspace";
        schema: {
            active: Typed<boolean, { default: true; maxLength: 40 }>;
            advanced: Typed<boolean, { maxLength: 40 }>;
            condition: Typed<
                string,
                { dependent: "table"; label: "Conditions"; maxLength: 1000 },
            >;
            default_tab_focus: Typed<
                string
                | number,
                {
                    default: "Details";
                    dropdown: "dropdown_without_none";
                    label: [{ hint: "Select Item to have default focus" }];
                    maxLength: 40;
                },
            >;
            default_tab_order: Typed<boolean, { default: true; maxLength: 40 }>;
            disable_section_collapse: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "Remove ability to collapse sections in workspace";
                            label: "Disable section collapsing";
                        },
                    ];
                    maxLength: 40;
                },
            >;
            experience_restricted: Typed<
                boolean,
                {
                    default: true;
                    label: [{ hint: "Make this view rule restricted to experiences" }];
                    maxLength: 40;
                },
            >;
            hide_details: Typed<
                boolean,
                { label: "Hide details & UI actions"; maxLength: 40 },
            >;
            hide_journal_input_fields: Typed<boolean, { maxLength: 40 }>;
            hide_section_menu: Typed<
                boolean,
                { label: "Hide section navigation"; maxLength: 40 },
            >;
            roles: Typed<
                (string | Role)[],
                {
                    array: true;
                    attributes: { record_watcher_blacklist: true };
                    maxLength: 100;
                },
            >;
            script: Typed<string | ScriptModule<Function>, { maxLength: 8000 }>;
            sys_id: Typed<string, { maxLength: 32; primary: true }>;
            table: Typed<
                keyof Tables,
                {
                    attributes: { allow_public: true; base_start: true };
                    mandatory: true;
                    maxLength: 80;
                },
            >;
            tabs_order: Typed<
                string
                | number,
                {
                    columnType: "order_list";
                    label: [
                        {
                            hint: "Order Related lists and Related Items, configured for current table, view and workspace";
                            label: "Tab Order";
                        },
                    ];
                    maxLength: 4000;
                },
            >;
            view: Typed<
                | string
                | Record<"sys_ui_view">
                | ExplicitKey<"sys_ui_view">
                | TableBrand<"sys_ui_view">,
                {
                    attributes: { encode_utf8: false };
                    mandatory: true;
                    maxLength: 32;
                    referenceQual: "javascript:current.addQuery('sys_id', getAllTableViews(current.table));";
                    referenceTable: "sys_ui_view";
                },
            >;
            workspace: Typed<
                | string
                | Record<"sys_aw_master_config">
                | ExplicitKey<"sys_aw_master_config">
                | TableBrand<"sys_aw_master_config">,
                {
                    attributes: { encode_utf8: false };
                    maxLength: 32;
                    referenceTable: "sys_aw_master_config";
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: { create: false; delete: false; read: true; update: false }
    • ReadonlyallowClientScripts: false
    • ReadonlyallowNewFields: false
    • ReadonlyallowUiActions: false
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { no_labels: true; update_synch: true }
    • Readonlyextends: "sysrule"
    • Readonlylabel: "View Rule"
    • Readonlyname: "sysrule_view_workspace"
    • Readonlyschema: {
          active: Typed<boolean, { default: true; maxLength: 40 }>;
          advanced: Typed<boolean, { maxLength: 40 }>;
          condition: Typed<
              string,
              { dependent: "table"; label: "Conditions"; maxLength: 1000 },
          >;
          default_tab_focus: Typed<
              string
              | number,
              {
                  default: "Details";
                  dropdown: "dropdown_without_none";
                  label: [{ hint: "Select Item to have default focus" }];
                  maxLength: 40;
              },
          >;
          default_tab_order: Typed<boolean, { default: true; maxLength: 40 }>;
          disable_section_collapse: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "Remove ability to collapse sections in workspace";
                          label: "Disable section collapsing";
                      },
                  ];
                  maxLength: 40;
              },
          >;
          experience_restricted: Typed<
              boolean,
              {
                  default: true;
                  label: [{ hint: "Make this view rule restricted to experiences" }];
                  maxLength: 40;
              },
          >;
          hide_details: Typed<
              boolean,
              { label: "Hide details & UI actions"; maxLength: 40 },
          >;
          hide_journal_input_fields: Typed<boolean, { maxLength: 40 }>;
          hide_section_menu: Typed<
              boolean,
              { label: "Hide section navigation"; maxLength: 40 },
          >;
          roles: Typed<
              (string | Role)[],
              {
                  array: true;
                  attributes: { record_watcher_blacklist: true };
                  maxLength: 100;
              },
          >;
          script: Typed<string | ScriptModule<Function>, { maxLength: 8000 }>;
          sys_id: Typed<string, { maxLength: 32; primary: true }>;
          table: Typed<
              keyof Tables,
              {
                  attributes: { allow_public: true; base_start: true };
                  mandatory: true;
                  maxLength: 80;
              },
          >;
          tabs_order: Typed<
              string
              | number,
              {
                  columnType: "order_list";
                  label: [
                      {
                          hint: "Order Related lists and Related Items, configured for current table, view and workspace";
                          label: "Tab Order";
                      },
                  ];
                  maxLength: 4000;
              },
          >;
          view: Typed<
              | string
              | Record<"sys_ui_view">
              | ExplicitKey<"sys_ui_view">
              | TableBrand<"sys_ui_view">,
              {
                  attributes: { encode_utf8: false };
                  mandatory: true;
                  maxLength: 32;
                  referenceQual: "javascript:current.addQuery('sys_id', getAllTableViews(current.table));";
                  referenceTable: "sys_ui_view";
              },
          >;
          workspace: Typed<
              | string
              | Record<"sys_aw_master_config">
              | ExplicitKey<"sys_aw_master_config">
              | TableBrand<"sys_aw_master_config">,
              {
                  attributes: { encode_utf8: false };
                  maxLength: 32;
                  referenceTable: "sys_aw_master_config";
              },
          >;
      }
    • ReadonlytextIndex: true