Organization

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

FieldDescription
currencyIsoCodeIf 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.
multicurrencyEnabledIndicates whether the context organization uses multiple currencies (true) or does not (false).
namespacePrefixThe Salesforce namespace prefix associated with the canvas app.
nameThe name of the context organization.
organizationIdThe 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}

See Also