Newer Version Available

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

Organization

The Organization object is a JSON-formatted object containing context information about the organization in which the canvas app is running.

Field Description
currencyIsoCode If multi-currency is enabled for the context organization, then the context user’s currency is returned. Defaults to the corporate currency if not set. If multi-currency is disabled for the context organization, the currency for the corporate currency locale is returned.
multicurrencyEnabled Indicates whether the context organization uses multiple currencies (true) or does not (false).
namespacePrefix The Salesforce namespace prefix associated with the canvas app.
name The name of the context organization.
organizationId The ID of the context organization.

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

1"organization":
2{
3    "currencyIsoCode":"USD", 
4    "multicurrencyEnabled":true, 
5    "name":"Edge Communications", 
6    "namespacePrefix":"org_namespace", 
7    "organizationId":"00Dx00000001hxyEAA"
8
9}