@servicenow/sdk - v4.13.3
    Preparing search index...
    interface sys_ui_page {
        category: Typed<
            "catalog"
            | "general"
            | "kb"
            | "cms"
            | "homepages"
            | "htmleditor",
            {
                attributes: { edge_encryption_enabled: true };
                choices: {
                    catalog: { label: "Service Catalog" };
                    cms: { label: "Content Management" };
                    general: { label: "General" };
                    homepages: { label: "Home Pages" };
                    htmleditor: { label: "HTML Editor" };
                    kb: { label: "Knowledge Base" };
                };
                default: "general";
                dropdown: "dropdown_with_none";
                label: "Category";
            },
        >;
        client_script: Typed<
            string
            | number,
            {
                attributes: { client_script: true };
                columnType: "script_plain";
                label: "Client script";
                maxLength: 8000;
                script: "true";
            },
        >;
        description: Typed<
            string,
            {
                attributes: { edge_encryption_enabled: true };
                label: "Description";
                maxLength: 4000;
            },
        >;
        direct: Typed<
            boolean,
            {
                label: [
                    {
                        hint: "Omit standard HTML header and JavaScript";
                        label: "Direct";
                        plural: "Directs";
                    },
                ];
            },
        >;
        endpoint: Typed<
            string,
            {
                attributes: { url_click_save: true };
                dynamicValueDefinitions: {
                    calculatedValue: "var scope = (current.sys_scope.scope+'').toLowerCase();\nif (scope && scope != 'global')\n current.display_name = current.sys_scope.scope + '_' + current.name + '.do';";
                    type: "calculated_value";
                };
                label: [
                    {
                        hint: "URL for the Application-scoped UI page";
                        label: "Endpoint";
                        plural: "Endpoints";
                    },
                ];
                maxLength: 200;
                readOnly: true;
                readOnlyOption: "client_script_modifiable";
            },
        >;
        html: Typed<
            string
            | number,
            {
                columnType: "xml";
                default: "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n<j:jelly trim=\"false\" xmlns:j=\"jelly:core\" xmlns:g=\"glide\" xmlns:j2=\"null\" xmlns:g2=\"null\">\r\n\r\n</j:jelly>";
                label: [
                    { hint: "Must be in XML format"; label: "HTML"; plural: "HTMLs" },
                ];
                maxLength: 65000;
                xmlView: true;
            },
        >;
        name: Typed<
            string,
            {
                attributes: { edge_encryption_enabled: true };
                label: [
                    {
                        hint: "used in URL generation, e.g. name.do, but without the .do!";
                        label: "Name";
                        plural: "Names";
                    },
                ];
                maxLength: 250;
            },
        >;
        processing_script: Typed<
            string
            | number,
            {
                columnType: "script_plain";
                label: "Processing script";
                maxLength: 8000;
            },
        >;
        sys_id: Typed<
            string
            | number,
            {
                active: true;
                column_type: "GUID";
                label: "Sys ID";
                mandatory: false;
                read_only: false;
            },
        >;
    }

    Hierarchy (View Summary)

    Index

    Properties

    category: Typed<
        "catalog"
        | "general"
        | "kb"
        | "cms"
        | "homepages"
        | "htmleditor",
        {
            attributes: { edge_encryption_enabled: true };
            choices: {
                catalog: { label: "Service Catalog" };
                cms: { label: "Content Management" };
                general: { label: "General" };
                homepages: { label: "Home Pages" };
                htmleditor: { label: "HTML Editor" };
                kb: { label: "Knowledge Base" };
            };
            default: "general";
            dropdown: "dropdown_with_none";
            label: "Category";
        },
    >
    client_script: Typed<
        string
        | number,
        {
            attributes: { client_script: true };
            columnType: "script_plain";
            label: "Client script";
            maxLength: 8000;
            script: "true";
        },
    >
    description: Typed<
        string,
        {
            attributes: { edge_encryption_enabled: true };
            label: "Description";
            maxLength: 4000;
        },
    >
    direct: Typed<
        boolean,
        {
            label: [
                {
                    hint: "Omit standard HTML header and JavaScript";
                    label: "Direct";
                    plural: "Directs";
                },
            ];
        },
    >
    endpoint: Typed<
        string,
        {
            attributes: { url_click_save: true };
            dynamicValueDefinitions: {
                calculatedValue: "var scope = (current.sys_scope.scope+'').toLowerCase();\nif (scope && scope != 'global')\n current.display_name = current.sys_scope.scope + '_' + current.name + '.do';";
                type: "calculated_value";
            };
            label: [
                {
                    hint: "URL for the Application-scoped UI page";
                    label: "Endpoint";
                    plural: "Endpoints";
                },
            ];
            maxLength: 200;
            readOnly: true;
            readOnlyOption: "client_script_modifiable";
        },
    >
    html: Typed<
        string
        | number,
        {
            columnType: "xml";
            default: "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n<j:jelly trim=\"false\" xmlns:j=\"jelly:core\" xmlns:g=\"glide\" xmlns:j2=\"null\" xmlns:g2=\"null\">\r\n\r\n</j:jelly>";
            label: [{ hint: "Must be in XML format"; label: "HTML"; plural: "HTMLs" }];
            maxLength: 65000;
            xmlView: true;
        },
    >
    name: Typed<
        string,
        {
            attributes: { edge_encryption_enabled: true };
            label: [
                {
                    hint: "used in URL generation, e.g. name.do, but without the .do!";
                    label: "Name";
                    plural: "Names";
                },
            ];
            maxLength: 250;
        },
    >
    processing_script: Typed<
        string
        | number,
        { columnType: "script_plain"; label: "Processing script"; maxLength: 8000 },
    >
    sys_id: Typed<
        string
        | number,
        {
            active: true;
            column_type: "GUID";
            label: "Sys ID";
            mandatory: false;
            read_only: false;
        },
    >