Methods
-
staticZOHO.CRM.UI.WebTab.open(){Promise}
-
open a WebTab Widget with custom onLoad Data
Returns:
Type Description Promise resolved with true | false Example
var message = { arg1:"Argument 1", arg2:"Argument 2", arg3Nested:{ subArg1:"SubArgument 1", subArg2:"SubArgument 2", subArg3:"SubArgument 3", } } ZOHO.CRM.UI.WebTab.open({Entity:"WebTab1_Widget",Message:message}) .then(function(data){ console.log(data) })
-
staticZOHO.CRM.UI.WebTab.pushState(config){Promise}
-
Pushed custom data to webTab URL as param (Supported only for WebTab widget)
Name Type Description config
Object configuration object Returns:
Type Description Promise Resolved with true or false Example
var config = {name:"peter",location:"chennai"}; ZOHO.CRM.UI.WebTab.history.pushState(config) .then(function(result){ console.log(result) }) //prints true