EnvironmentContext Methods
The following are methods for EnvironmentContext.
-
Adds a field to the list of object fields that are returned in the signed request Record object when the component appears on a Visualforce page that’s placed on an object.
-
Adds a set of fields to the list of object fields that are returned in the signed request Record object when the component appears on a Visualforce page that’s placed on an object.
-
Retrieves the display location where the canvas app is being called from. For example, a value of Visualforce page.
-
Retrieves the list of object fields that are returned in the signed request Record object when the component appears on a Visualforce page that’s placed on an object.
-
Retrieves the location URL of the canvas app.
-
Retrieves the current custom parameters for the canvas app. Parameters are returned as a JSON string.
-
Retrieves the display sublocation where the canvas app is being called from.
-
setParametersAsJSON(jsonString)
Sets the custom parameters for the canvas app.