-
staticZOHO.CRM.CONFIG.getOrgVariable(){Promise}
-
get plugins configuration data
Returns:
Type |
Description |
Promise
|
Resolved with Plugin Configuration |
Example
ZOHO.CRM.CONFIG.getVariable("variableNamespace").then(function(data){
console.log(data);
});
//prints
{
"Success": {
"Content": "12345"
}
}
-
staticZOHO.CRM.CONFIG.getUserInfo(){Promise}
-
get Current User info
Returns:
Type |
Description |
Promise
|
Resolved with User info |
Example
ZOHO.CRM.CONFIG.getUserInfo().then(function(data){
console.log(data);
});
//prints
{
"email": "naresh.babu@zohocorp.com",
"locale": "en_US",
"timeZone": "Asia\/Kolkata"
}