cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
691
Views
2
Helpful
5
Replies

i want to know what is how i can manage Third-Party Gadgets in Finess

mahmoud.eltaher
Level 1
Level 1

simply i want to know

1) what is the differences between the query params in these two gadgets

                        <gadget>/3rdpartygadget/files/TaskManagementGadget.xml?mrdid=5000&mrdname=TaskType1&maxdialogs=5&interruptAction=ACCEPT&dialogLogoutAction=TRANSFER</gadget>

                        <gadget>/3rdpartygadget/files/TaskManagementGadget.xml?mrdid=5001&mrdname=TaskType2&maxdialogs=3&interruptAction=IGNORE&dialogLogoutAction=CLOSE</gadget>

2) what is the location of gadgets files at the server

5 Replies 5

dekwan
Cisco Employee
Cisco Employee

Hi Mahmoud,

#1. Here are the descriptions of the query parameters (name/case might not be exact):

mrdId (required): The ID of the MRD

maxDialogLimit (required): The maximum number of concurrent dialogs this user is allowed to handle in the MRD. Each dialog represents a task.

state (required): The new state that the user wants to be in (LOGIN)

interruptAction (required): Defines the behavior when an agent is handling a task in an interruptible MRD and is interrupted by a task or call from a non-interruptible MRD. Finesse can ACCEPT the interrupt; the agent is put into INTERRUPTED state and cannot work on dialogs in the interrupted MRD. Finesse can IGNORE the interrupt; the agent's state does not change and the agent can continue to work on the dialogs in the MRD.

dialogLogoutAction(optional): Determines whether to TRANSFER or CLOSE active tasks when an agent logs out of the MRD. If not specified, this parameter is set to CLOSE.

The above information was taken from the Finesse developer guide: https://developer.cisco.com/media/finesseDevGuide4.1/CFIN_RF_U04C2791_00_media-sign-in-uq.html

#2.

- Download the Task Management Sample Gadget from the DevNet Finesse page: https://developer.cisco.com/site/finesse/docs/downloads/sample-gadgets/index.gsp

- Enable the 3rdpartygadget account on the Finesse server: https://developer.cisco.com/media/finesseDevGuide4.1/CFIN_RF_P3DE8B2D_00_password-for-3rdpartygadget-account.html

- Upload the gadget files with the 3rdpartygadget account: https://developer.cisco.com/media/finesseDevGuide4.1/CFIN_RF_U1D810BD_00_upload-third-party-gadgets.html

- The relative path that in the desktop layout XML must match the path you place the files.

Thanx,

Denise

Many thanks, you help me very well.

But I want to know what is the location of gadgets files at the server

Hi,

The location of the gadget files on the server is where ever you upload them using the 3rdpartygadget account.

Do you mean the absolute path of the gadget files after it is uploaded??

After you upload a gadget, it is available under the following URL:

http://<finesse>/3rdpartygadget/files/

For UCCX you must specify port 8082.

The rest of the path depends on where you uploaded it under /files.

But if it is uploaded to the Finesse server, you do not need to specify the absolute path in the desktop layout.

Thanx,

Denise

this is my xml file for embedded. Does it look ok?

<![CDATA[

  <!DOCTYPE html>

    <!-- Styling -->

    <link rel="stylesheet" href="EmbeddedWebApp.css" type="text/css" />

   

    <!-- jQuery -->

  

    <script type="text/javascript" src="https://hq-uccx.abc.inc:8082/desktop/assets/js/jquery.min.js"></script>

  

    <!-- Finesse Library -->

    <script type="text/javascript" src="https://hq-uccx.abc.inc:8082/desktop/assets/js/finesse.js"></script>

    <!-- Gadget Business Logic -->

    <script type="text/javascript" src="EmbeddedWebApp.js"></script>

    <body>

        <div id="displayOut"></div>

    </body>

    <script type="text/javascript">

        // initialize the gadget running the init handler defined in EmbeddedWebApp.js

        gadgets.HubSettings.onConnect = function () {

            finesse.modules.EmbeddedWebAppGadget.init("http://www.cisco.com");

        };

    </script>

]]>

Hi,

You do not need to modify the EmbeddedWebApp.xml to get it working as is. If you are using 10.6 or above, you don't need to have the absolute url for the jquery and finesse.js (although it won't hurt). You can just use the relative path:

<!-- jQuery -->

            <script type="text/javascript" src="/desktop/assets/js/jquery.min.js"></script>

          

            <!-- Finesse Library -->

            <script type="text/javascript" src="/desktop/assets/js/finesse.js"></script>

Thanx,

Denise

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: