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

    Function ApplicationMenu

    • Creates an Application Menu (sys_app_application).

      Parameters

      • config: ApplicationMenu

        an object containing the following properties:

        • $id - unique id for the record, typically using Now.ID["value"]
        • category - The variable identifier of a menu category that defines the navigation menu style.
        • title - The label for the menu in the application navigator.
        • active? - whether the record is enabled
        • description? - Additional information about what the application does.
        • hint? - The tooltip text that appears when a user hovers over the menu.
        • name? - An internal name to differentiate between applications with the same title.
        • order? - The relative position of the application menu in the application navigator.
        • roles? - A list of variable identifiers of Role objects or names of roles that can access the menu.

      Returns { $id: string | number | ExplicitKey<string> } & {
          protectionPolicy?: "read" | "protected";
      } & OverrideProperties & ApplicationMenuType & Meta & TableBrand<
          "sys_app_application",
      >

      • OptionalprotectionPolicy?: "read" | "protected"

        Controls edit/view access for other developers after the application is installed.

        • read: Others can see the script logic but not change it.
        • protected: Others cannot change this record.
        • Omit to allow other developers to customize this record.