Get Init Params

Table of Contents

Overview

This JS API task retrieves initialization parameters for the current Zoho Creator application session. It returns the details related to the application configuration, current environment, logged-in user, and theme settings.

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",
    "themeBrandColor": "#E09725"
}