PopURL

打開網頁 URL,並為彈出網頁的面板的位置和樣式提供選項,與 Runappaction類似。

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

一般

電郵 聊天 電話 工作項目 SMS

Comparison of Similar Actions

以下動作有類似的功能,但有一些關鍵區別:

  • Runapp:從指令碼啟動自訂功能,特別是啟動表單、網頁或應用程式。
  • PopURL:打開網頁 URL,並為網頁彈出的面板提供位置和樣式選項。
  • Indicate :使用自訂功能擴展客服專員介面,尤其是客服專員點擊以啟動自訂功能的圖示。這類似於 Runapp,不同之處在於使用 Indicate 時,ActionType 由指令碼而不是客服專員啟動。

Runapp with ActionType set to OpenURL is the equivalent to PopURL with PopDestination set to Default. The other functions of PopURL could be re-created with Runapp by changing the panel settings for MAX. However, that would not allow you to have different settings for different skills and agents.

Input Properties

這些屬性定義了動作執行時使用的資料。

屬性

描述

標題

輸入在指令碼中唯一標識此操作的短語。標題出現在指令碼畫布上的動作圖示下。The default is the action name.

AgentID

接收 URL 彈出的客服專員。
URL

所調用頁面的 URL。任何指向聯絡面板的頁面均必須配置為允許在 iframe 中顯示。

TabTitle

新視窗的標籤標題。

PopDestination

將在 UI 中彈出新視窗的位置。從下拉式清單中選擇:
  • Default:在每個客服專員的MAXPanels設定指定的位置彈出頁面。當客服專員將Panels 設定為 Off 時,螢幕彈出視窗會在MAX之外的瀏覽器中顯示。當客服專員將Panels 設定為 On 時,螢幕彈出視窗會在MAX內的聯絡面板中顯示。若要在MAX中開啟頁面,該頁面必須是 iframe 格式。
  • ContactPanel:在 MAX 中的聯絡面板中彈出頁面。此選項將覆寫客服專員在MAX中的Panels 設定。
  • Popout:彈出頁面至外部視窗。如果頁面配置為 iframe 格式,將在MAX聯絡面板中開啟,並覆寫Popout 設定。
  • POSTonly:URL 傳送至 MAX,但 MAX 不對其採取任何動作。POST 訂閱者將看到彈出事件,並根據需要執行動作。

PopoutWindowHeight

彈出視窗的圖元高度。

PopoutWindowWidth

彈出視窗的圖元寬度。

ClosePopoutUponTermination

TrueFalse。確定彈出視窗是否在聯絡結束時關閉。

Result Branch Conditions

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。

OnError

動作未能正確執行時採用的路徑。例如,當出現連接不良、語法錯誤等意外問題時。_ERR變數(帶有一個下畫線字元)應填入針對問題的簡要說明。