Newer Version Available

This content describes an older version of this product. View Latest

Parameters

The Parameters object is a JSON-formatted object containing context information specified by the developer. The Parameters object is specified in a Visualforce page by using the parameters tag in the apex:canvasApp component, or in a Chatter canvas feed item by using the parameters variable when creating the feed item.

The following code snippet shows an example of the Parameters object.

1"parameters":
2{
3    "inventoryStatus":"Picked",
4    "stockPrice":"12.99",
5    "count":2, 
6    "address":{"street":"1 Market", "city":"San Francisco", "state":"CA"}
7}