Get Init Params
Table of Contents
Overview
This JS API task fetches the login user's email address.
Request Details
Syntax
ZOHO.CREATOR.UTIL.getInitParams().then(function(response){
//callback block
});
Possible Errors
Refer to this page for the complete list of error codes and messages.
Sample Input
CopiedZOHO.CREATOR.UTIL.getInitParams().then((response) => {
console(response);
})
Sample Response
Copied {
"scope": "zylkercorp",
"envUrlFragment": "/environment/development",
"appLinkName": "widgetapp",
"loginUser": "john@zylker.com"
}