Get Query Params

Table of Contents

Overview

This JS API task fetches the query parameters and their values configured in the page that holds the widget.

Request Details

Syntax

ZOHO.CREATOR.UTIL.getQueryParams().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.getQueryParams().then((response) => {
   console(response);
})

Sample Response

Copied{
"Name": "Zylker",
"Position": "Lead"
}