We are trying to add a WindowManager for the "Dock View" group. Our Purpose is to add a new HTML UI next to the ongoing Chat widget window at the bottom right corner. We have tried with these Widgets versions: v9.0.017.06, v9.0.015.19 and v9.0.010.04
On the Html, we added a button to call the addWindowManager() JS function, it add the HTML UI on the webpage but on the Top left instead of bottom right corner. See the Code used below.
var windowManagerPlugin;
window._genesys.widgets.extensions["WindowManagerExtension"] = function($, CXBus, Common){
console.log("*** Creating WindowManagerPlugin now...");
windowManagerPlugin = CXBus.registerPlugin('WindowManagerPlugin');
};
function addWindowManager(){
windowManagerPlugin.command('WindowManager.registerDockView', {
html: '<div>Template</div>'
}).done(function(e){
// WindowManager registered a dockView successfully
}).fail(function(e){
// WindowManager failed to register a dock view
});
};
#DigitalChannels------------------------------
Akhil Khandelwal
mokSa Technologies India Private Limited.
------------------------------