Newer Version Available
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.