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

    Variable sc_catalogConst

    sc_catalog: {
        allowWebServiceAccess: true;
        attributes: { synch_attachments: true; update_synch: true };
        display: "title";
        extends: "sys_metadata";
        label: "Catalog";
        name: "sc_catalog";
        schema: {
            active: Typed<boolean, { default: true; label: "Active" }>;
            description: Typed<
                string,
                {
                    attributes: {
                        serializer: "com.glide.script.TranslatedTextXMLSerializer";
                    };
                    label: "Description";
                    maxLength: 4000;
                },
            >;
            desktop_continue_shopping: Typed<
                string,
                {
                    label: [
                        {
                            hint: "The page name for the redirect when the user clicks 'Continue Shopping'";
                            label: "'Continue Shopping' page";
                            language: "en";
                            plural: "'Continue Shopping' pages";
                        },
                    ];
                    maxLength: 3000;
                },
            >;
            desktop_home_page: Typed<
                string,
                {
                    label: [
                        {
                            hint: "A custom page to redirect to when a user clicks the catalog within a breadcrumb";
                            label: "'Catalog Home' Page";
                            language: "en";
                            plural: "'Catalog Home' Pages";
                        },
                    ];
                    maxLength: 3000;
                },
            >;
            desktop_image: Typed<
                string
                | number,
                {
                    attributes: { pdf_cell_type: "image" };
                    columnType: "user_image";
                    label: [
                        {
                            hint: "The picture to use when displayed on the Catalogs page";
                            label: "Desktop image";
                            language: "en";
                            plural: "Desktop images";
                        },
                    ];
                },
            >;
            editors: Typed<
                string
                | string[]
                | Record<"sys_user">[],
                {
                    attributes: {
                        no_add_me: true;
                        no_email: true;
                        no_sort: true;
                        slushbucket_ref_no_expand: true;
                    };
                    label: [
                        {
                            hint: "Catalog Editor is able to Edit/Update Catalogs, Categories and Items";
                            label: "Editors";
                            language: "en";
                            plural: "Editors";
                        },
                    ];
                    maxLength: 1024;
                    referenceQual: "javascript:'sys_idIN'+getEditorUsers()";
                    referenceTable: "sys_user";
                },
            >;
            enable_wish_list: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Enables wish list functionality for items in the catalog. Partially filled items can be saved to cart. Only available in doctype mode.";
                            label: "Enable Wish List";
                            language: "en";
                            plural: "Enable Wish Lists";
                        },
                    ];
                },
            >;
            manager: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    label: [
                        {
                            hint: "Catalog Manager is able to Edit/Update/Delete Catalogs, Categories and Items";
                            label: "Manager";
                            language: "en";
                            plural: "Managers";
                        },
                    ];
                    referenceQual: "javascript:'sys_idIN'+getManagerUsers()";
                    referenceTable: "sys_user";
                },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            title: Typed<
                string,
                {
                    label: [
                        {
                            hint: "The title of the catalog. This must be unique.";
                            label: "Title";
                            language: "en";
                            plural: "Titles";
                        },
                    ];
                    mandatory: true;
                    maxLength: 100;
                    textIndex: true;
                    unique: true;
                },
            >;
        };
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { synch_attachments: true; update_synch: true }
    • Readonlydisplay: "title"
    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "Catalog"
    • Readonlyname: "sc_catalog"
    • Readonlyschema: {
          active: Typed<boolean, { default: true; label: "Active" }>;
          description: Typed<
              string,
              {
                  attributes: {
                      serializer: "com.glide.script.TranslatedTextXMLSerializer";
                  };
                  label: "Description";
                  maxLength: 4000;
              },
          >;
          desktop_continue_shopping: Typed<
              string,
              {
                  label: [
                      {
                          hint: "The page name for the redirect when the user clicks 'Continue Shopping'";
                          label: "'Continue Shopping' page";
                          language: "en";
                          plural: "'Continue Shopping' pages";
                      },
                  ];
                  maxLength: 3000;
              },
          >;
          desktop_home_page: Typed<
              string,
              {
                  label: [
                      {
                          hint: "A custom page to redirect to when a user clicks the catalog within a breadcrumb";
                          label: "'Catalog Home' Page";
                          language: "en";
                          plural: "'Catalog Home' Pages";
                      },
                  ];
                  maxLength: 3000;
              },
          >;
          desktop_image: Typed<
              string
              | number,
              {
                  attributes: { pdf_cell_type: "image" };
                  columnType: "user_image";
                  label: [
                      {
                          hint: "The picture to use when displayed on the Catalogs page";
                          label: "Desktop image";
                          language: "en";
                          plural: "Desktop images";
                      },
                  ];
              },
          >;
          editors: Typed<
              string
              | string[]
              | Record<"sys_user">[],
              {
                  attributes: {
                      no_add_me: true;
                      no_email: true;
                      no_sort: true;
                      slushbucket_ref_no_expand: true;
                  };
                  label: [
                      {
                          hint: "Catalog Editor is able to Edit/Update Catalogs, Categories and Items";
                          label: "Editors";
                          language: "en";
                          plural: "Editors";
                      },
                  ];
                  maxLength: 1024;
                  referenceQual: "javascript:'sys_idIN'+getEditorUsers()";
                  referenceTable: "sys_user";
              },
          >;
          enable_wish_list: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Enables wish list functionality for items in the catalog. Partially filled items can be saved to cart. Only available in doctype mode.";
                          label: "Enable Wish List";
                          language: "en";
                          plural: "Enable Wish Lists";
                      },
                  ];
              },
          >;
          manager: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  label: [
                      {
                          hint: "Catalog Manager is able to Edit/Update/Delete Catalogs, Categories and Items";
                          label: "Manager";
                          language: "en";
                          plural: "Managers";
                      },
                  ];
                  referenceQual: "javascript:'sys_idIN'+getManagerUsers()";
                  referenceTable: "sys_user";
              },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          title: Typed<
              string,
              {
                  label: [
                      {
                          hint: "The title of the catalog. This must be unique.";
                          label: "Title";
                          language: "en";
                          plural: "Titles";
                      },
                  ];
                  mandatory: true;
                  maxLength: 100;
                  textIndex: true;
                  unique: true;
              },
          >;
      }