/mcphideDialog() Hides the user interface modal dialog. Example var containerServices = finesse.containerservices.ContainerServices.init(); containerServices.hideDialog(); init() Initiates the ContainerServices module. The init method must be called before using the ContainerServices object for invoking any other functionality. Note Example finessse.containerServices.ContainerServices.init(); Returns {finesse.containerServices.ContainerServices} The initiated finesse.containerServices.ContainerServices reference. makeActiveTabReq() Requests to activate the tab in which the gadget is present. Example finesse.containerservices.ContainerServices.makeActiveTabReq(); publish(topic, data) Publishes data to the specified topic on the OpenAjax hub. Since gadgets reside in different iFrames, message publication is the only way to communicate with each other. This method gives a mechanism for the gadgets to have their data published through custom topics, which in turn can be used by other gadgets by subscribing to the same topic. For example, OnClick is an element in one gadget which triggers an action in another gadget that is achieved by using this method. Example finesse.containerservices.ContainerServices.publish('CUSTOMTOPIC', data); finesse.containerservices.ContainerServices.addHandler("CUSTOMTOPIC", function(data) { // Perform the logic }); Parameters Required Description Type Name Yes Hub topic that the gadget wants to listen to. For more information on topics, see Container Services Topics, on page 423. String topic Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 420 Cisco Finesse JavaScript APIs Container Services
