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

    Variable topicConst

    topic: {
        actions: ["read", "update", "create"];
        allowWebServiceAccess: true;
        attributes: {
            domain_master: "taxonomy";
            synch_attachments: true;
            update_synch: true;
        };
        extends: "sys_metadata";
        label: "Topic";
        name: "topic";
        schema: {
            active: Typed<boolean, { default: true; label: "Active" }>;
            apply_to_child_topics: Typed<
                boolean,
                { default: false; label: "Apply template to child topics" },
            >;
            available_for: Typed<
                string
                | string[]
                | Record<"user_criteria">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: "Available for";
                    maxLength: 1024;
                    referenceTable: "user_criteria";
                },
            >;
            banner_image: Typed<
                string
                | number,
                {
                    attributes: { pdf_cell_type: "image" };
                    columnType: "user_image";
                    label: "Banner Image";
                },
            >;
            banner_image_url: Typed<
                `http://${string}`
                | `https://${string}`,
                { label: "Banner Image URL" },
            >;
            description: Typed<
                string,
                {
                    attributes: {
                        serializer: "com.glide.script.TranslatedTextXMLSerializer";
                    };
                    label: "Description";
                    maxLength: 120;
                },
            >;
            enable_user_criteria_check: Typed<
                boolean,
                { default: false; label: "Enable user criteria check" },
            >;
            icon: Typed<
                string
                | number,
                {
                    attributes: { pdf_cell_type: "image" };
                    columnType: "user_image";
                    label: "Icon";
                },
            >;
            icon_url: Typed<
                `http://${string}`
                | `https://${string}`,
                { label: "Icon URL" },
            >;
            name: Typed<
                string,
                {
                    attributes: {
                        serializer: "com.glide.script.TranslatedTextXMLSerializer";
                    };
                    label: "Name";
                    mandatory: true;
                    maxLength: 60;
                },
            >;
            not_available_for: Typed<
                string
                | string[]
                | Record<"user_criteria">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: "Not available for";
                    maxLength: 1024;
                    referenceTable: "user_criteria";
                },
            >;
            order: Typed<number, { label: "Order" }>;
            parent_topic: Typed<
                string
                | Record<"topic">
                | ExplicitKey<"topic">
                | TableBrand<"topic">,
                {
                    attributes: { encode_utf8: false };
                    label: [
                        {
                            hint: "Select a taxonomy and then choose a parent topic for this topic";
                            label: "Parent topic";
                            language: "en";
                            plural: "Parent topics";
                        },
                    ];
                    referenceQual: "javascript:new TopicList().childTopics(current.taxonomy,current.sys_id)";
                    referenceTable: "topic";
                },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            taxonomy: Typed<
                | string
                | Record<"taxonomy">
                | ExplicitKey<"taxonomy">
                | TableBrand<"taxonomy">,
                {
                    attributes: { encode_utf8: false };
                    label: "Taxonomy";
                    mandatory: true;
                    referenceTable: "taxonomy";
                },
            >;
            template: Typed<
                | string
                | Record<"sp_page">
                | ExplicitKey<"sp_page">
                | TableBrand<"sp_page">,
                {
                    attributes: { encode_utf8: false };
                    label: "Template";
                    referenceQual: "category=sn_ex_sp_taxonomy^EQ";
                    referenceTable: "sp_page";
                },
            >;
            topic_based_navigation: Typed<
                boolean,
                { default: false; label: "Topic based navigation" },
            >;
            topic_contributor: Typed<
                string
                | string[]
                | Record<"user_criteria">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: "Topic contributor";
                    maxLength: 1024;
                    referenceTable: "user_criteria";
                },
            >;
            topic_manager: Typed<
                string
                | string[]
                | Record<"user_criteria">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: "Topic manager";
                    maxLength: 1024;
                    referenceTable: "user_criteria";
                },
            >;
            topic_path: Typed<
                string,
                {
                    attributes: {
                        serializer: "com.glide.script.TranslatedTextXMLSerializer";
                    };
                    label: "Topic path";
                    maxLength: 1024;
                },
            >;
        };
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { domain_master: "taxonomy"; synch_attachments: true; update_synch: true }
    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "Topic"
    • Readonlyname: "topic"
    • Readonlyschema: {
          active: Typed<boolean, { default: true; label: "Active" }>;
          apply_to_child_topics: Typed<
              boolean,
              { default: false; label: "Apply template to child topics" },
          >;
          available_for: Typed<
              string
              | string[]
              | Record<"user_criteria">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: "Available for";
                  maxLength: 1024;
                  referenceTable: "user_criteria";
              },
          >;
          banner_image: Typed<
              string
              | number,
              {
                  attributes: { pdf_cell_type: "image" };
                  columnType: "user_image";
                  label: "Banner Image";
              },
          >;
          banner_image_url: Typed<
              `http://${string}`
              | `https://${string}`,
              { label: "Banner Image URL" },
          >;
          description: Typed<
              string,
              {
                  attributes: {
                      serializer: "com.glide.script.TranslatedTextXMLSerializer";
                  };
                  label: "Description";
                  maxLength: 120;
              },
          >;
          enable_user_criteria_check: Typed<
              boolean,
              { default: false; label: "Enable user criteria check" },
          >;
          icon: Typed<
              string
              | number,
              {
                  attributes: { pdf_cell_type: "image" };
                  columnType: "user_image";
                  label: "Icon";
              },
          >;
          icon_url: Typed<
              `http://${string}`
              | `https://${string}`,
              { label: "Icon URL" },
          >;
          name: Typed<
              string,
              {
                  attributes: {
                      serializer: "com.glide.script.TranslatedTextXMLSerializer";
                  };
                  label: "Name";
                  mandatory: true;
                  maxLength: 60;
              },
          >;
          not_available_for: Typed<
              string
              | string[]
              | Record<"user_criteria">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: "Not available for";
                  maxLength: 1024;
                  referenceTable: "user_criteria";
              },
          >;
          order: Typed<number, { label: "Order" }>;
          parent_topic: Typed<
              string
              | Record<"topic">
              | ExplicitKey<"topic">
              | TableBrand<"topic">,
              {
                  attributes: { encode_utf8: false };
                  label: [
                      {
                          hint: "Select a taxonomy and then choose a parent topic for this topic";
                          label: "Parent topic";
                          language: "en";
                          plural: "Parent topics";
                      },
                  ];
                  referenceQual: "javascript:new TopicList().childTopics(current.taxonomy,current.sys_id)";
                  referenceTable: "topic";
              },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          taxonomy: Typed<
              | string
              | Record<"taxonomy">
              | ExplicitKey<"taxonomy">
              | TableBrand<"taxonomy">,
              {
                  attributes: { encode_utf8: false };
                  label: "Taxonomy";
                  mandatory: true;
                  referenceTable: "taxonomy";
              },
          >;
          template: Typed<
              | string
              | Record<"sp_page">
              | ExplicitKey<"sp_page">
              | TableBrand<"sp_page">,
              {
                  attributes: { encode_utf8: false };
                  label: "Template";
                  referenceQual: "category=sn_ex_sp_taxonomy^EQ";
                  referenceTable: "sp_page";
              },
          >;
          topic_based_navigation: Typed<
              boolean,
              { default: false; label: "Topic based navigation" },
          >;
          topic_contributor: Typed<
              string
              | string[]
              | Record<"user_criteria">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: "Topic contributor";
                  maxLength: 1024;
                  referenceTable: "user_criteria";
              },
          >;
          topic_manager: Typed<
              string
              | string[]
              | Record<"user_criteria">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: "Topic manager";
                  maxLength: 1024;
                  referenceTable: "user_criteria";
              },
          >;
          topic_path: Typed<
              string,
              {
                  attributes: {
                      serializer: "com.glide.script.TranslatedTextXMLSerializer";
                  };
                  label: "Topic path";
                  maxLength: 1024;
              },
          >;
      }