Configuring the Action Table

The Action table stores the actions that can be used in a hosted application. A hosted application should have at least one action configured in this table.

To map actions to hosted applications

  1. Provide an integer value as the Action ID for a hosted application. The Action ID for the application should be unique.

  2. Provide an Application ID for the action.

  3. Provide a unique name for the action.

  4. Use one of the following XML strings to initialize the action of the hosted application.

    • Application type 1 (Disabled) – This disables an application without deleting it from the database.

    • Application type 0 (Windows Control) – The initialization string should be in the XML format shown in the following example.

    • <ActionInit></ActionInit>
      
    • Note

      As of this release, there are no actions configured for application type 0.

    • Application type 1 (Web Application) – The initialization string should be in the XML format shown in the following example.

    • <ActionInit>
        <Verb>GET</Verb>
        <Url>https://www.nextel.com/cgi-bin/localMarketMap.cgi</Url>
        <QueryString>zip=%ZipCode</QueryString>
      </ActionInit>
      
    • Note

      The <Verb> node refers to the HTTP GET method. The <Url> node refers to the URL on which the method specified in the Verb node is invoked. The QueryString node refers to the value to be obtained from the customer’s context in the ID.

    • Application type 2 (External Application) – The initialization string should be in the XML format shown in the following example.

    • <ActionInit>
      <Script>https://ccfiis/ContactCenterClientDeployment/scripts/scripttest.js</Script>
      </ActionInit>
      

Note

The <Script> node refers to the URL of the script that must be invoked as part of this action. If an action with ActionID 1 is not present, there will be a message box stating that the default action is not there, and the next action with lowest ActionID is performed.