cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
710
Views
0
Helpful
2
Replies

Finesse Screen Pop Gadget - Activate Gadget's Tab

anupama1978
Level 5
Level 5

Working on the Finesse Screen Pop Gadget - how do I activate my gadget's tab once the call is answered  - highlighted in red below is what I am trying with no luck..

if (numDialogs==1) {

                        html += '<iframe src="myCRMURL' + callvars["callVariable1"] +  '" width="100%" height="650"> </iframe>';

           

                        html += '</div>';

       

            clientLogs.log("render(): HTML is: " + html);  // for debugging

           

            // automatically adjust the height of the gadget to show the html and activate the tab

            gadgets.window.adjustHeight();

            finesse.containerservices.ContainerServices.activateMyTab

} else {

            html += 'Screen Pop Goes here';

            html += '</div>';

1 Accepted Solution

Accepted Solutions

dekwan
Cisco Employee
Cisco Employee

Hi Anu,

I don't believe that the method is static.

In your init, you should have had something like this:

containerServices = finesse.containerservices.ContainerServices.init();

So I think it should be containerServices.activateMyTab();

Thanx,

Denise

View solution in original post

2 Replies 2

dekwan
Cisco Employee
Cisco Employee

Hi Anu,

I don't believe that the method is static.

In your init, you should have had something like this:

containerServices = finesse.containerservices.ContainerServices.init();

So I think it should be containerServices.activateMyTab();

Thanx,

Denise

Thanks 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: