Name

sn_sow_admin.SOWAdminConstants

Description

No description available

Script

var SOWAdminConstants = Class.create();

SOWAdminConstants.prototype = {

  initialize: function() {

      this.ADDITIONAL_APPS = {
          "AI Search": {
              PLUGIN_NAME: sn_i18n.Message.getMessage("sn_sow_admin", "AI Search"),
              PLUGIN_ID: "com.glide.ais",
              BUTTON_ACTION_TYPE: "link",
              IMAGE: "images/app_store/nowlogo.png",
              DESCRIPTION: gs.getMessage("AI Search plugin installs and enables AI Search capabilities, providing relevant, contextual and personal search experiences across different interfaces."),
              CONFIG_REDIRECTION_LINK: "now/nav/ui/classic/params/target/%24guided_setup.do%23%2Fcontent%2Fd585222f5b4310100977ca225681c72f%3Ffocus%3D6d86e62f5b4310100977ca225681c793%26group_focuses%3D%26home_options%3Ddashboard%26scroll_to%3D%26filter%3Dall"
          },
          "ITSM MS Teams": {
              PLUGIN_NAME: gs.getMessage("IT Service Management Integration with Microsoft Teams"),
              PLUGIN_ID: "sn_now_teams_it",
              BUTTON_ACTION_TYPE: "link",
              IMAGE: "images/app_store/nowlogo.png",
              DESCRIPTION: gs.getMessage("This plugin provides agents the ability to initiate a Microsoft Teams chat with an employee from an incident, change request, and request item."),
              CONFIG_REDIRECTION_LINK: "sn_now_azure_app_installer.do"
          },
          "AWA": {
              PLUGIN_NAME: sn_i18n.Message.getMessage("sn_sow_admin", "Advanced Work Assignment"),
              PLUGIN_ID: "sn_oe_sfs",
              BUTTON_ACTION_TYPE: "link",
              IMAGE: "images/app_store/nowlogo.png",
              DESCRIPTION: gs.getMessage("Use Advanced Work Assignment (AWA) to automatically assign work items to your agents, based on their availability, capacity, and optionally, skills."),
              CONFIG_REDIRECTION_LINK: "now/conversation/awa-settings/home"
          },
          "Sidebar": {
              PLUGIN_NAME: gs.getMessage("Sidebar"),
              PLUGIN_ID: "com.servicenow_now_contextual_sidebar",
              BUTTON_ACTION_TYPE: "link",
              IMAGE: "images/app_store/nowlogo.png",
              DESCRIPTION: gs.getMessage("Using Sidebar, agents can have real-time collaboration with others based around a Workspace task-based or interaction-based record."),
              CONFIG_REDIRECTION_LINK: "/now/conversation/settings/side-bar"
          },
      };

      this.SETUP_UI_ELEMENTS = {
          LANDING_PAGE: {
              CARD_NAME: sn_i18n.Message.getMessage("sn_sow_admin", "Landing Page"),
              INTERACTION: "click",
              INTERACTION_PAYLOAD: "INTERACTIVE_CARD_CLICKED#LANDING_PAGE",
              IMAGE: "sn_sow_admin.landing-page-4-xl.svg"
          },
          RECORD_PAGE_INCIDENT: {
              CARD_NAME: gs.getMessage("Record Page - Incident"),
              INTERACTION: "click",
              INTERACTION_PAYLOAD: "INTERACTIVE_CARD_CLICKED#RECORD_PAGE_INCIDENT",
              IMAGE: "sn_sow_admin.record-page-4-xl.svg"
          },
          AGENT_REDIRECTION_PAGE: {
              CARD_NAME: gs.getMessage("Agent Landing Page Redirection"),
              INTERACTION: "click",
              INTERACTION_PAYLOAD: "INTERACTIVE_CARD_CLICKED#ITIL_REDIRECTION",
              IMAGE: "sn_sow_admin.landing-page-redirect-4-xl.svg"
          },
      };

      this.BASE_INTERACTIVE_CARD_OBJECT = {
          "body": "",
          "button_action_payload": "",
          "button_action_type": "",
          "button_text": "",
          "button_tooltip_label": "",
          "button_type": "",
          "highlighted_color": "",
          "highlighted_icon": "",
          "highlighted_label": "",
          "highlighted_variant": "",
          "image": "",
          "interaction": "",
          "interaction_payload": "",
          "subtitle": "",
          "subtitle_icon": "",
          "title": "",
          "title_icon": ""
      };
  },

  type: 'SOWAdminConstants'
};

Sys ID

e3b5a6cdeb4b2110f51bddde23522875

Offical Documentation

Official Docs: