Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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}