Organizations in XMD

If your datasets combine records from multiple Salesforce orgs, map Salesforce orgs to their URLs. Analytics uses these mappings to locate a record in a multi-org environment. The organizations section is used for opening links, not performing Salesforce actions.

This example shows the parameters for the organizations XMD parameter. The ID uses the 18-character format.

1"organizations": [
2  {
3    "id": "00DB00000003brXMAQ",
4    "instanceUrl": "https://westregion.my.salesforce.com",
5    "label": "West Region Org"
6  },
7  {
8    "id": "00DB0000000pqd1MAA",
9    "instanceUrl": "https://eastregion.my.salesforce.com",
10    "label": "East Region Org"
11  },
12  {
13    "id": "00DB0000000paacMAA",
14    "instanceUrl": "https://southregion.my.salesforce.com",
15    "label": "South Region Org"
16  },
17  {
18    "id": "00DB00000001234MAA",
19    "instanceUrl": "https://northregion.my.salesforce.com",
20    "label": "North Region Org"
21  }
22 ]
The organizations section can have the following parameters.
Parameter Description
id

Org ID, up to 18 characters

Example: "id": "00DV0025306tGV5MAM"

label

Display name for the Salesforce org, up to 40 characters.

Example: "label": "Org1"

instanceUrl

The org’s My Domain login URL.

Example: "instanceUrl": "https://MyDomainName.my.salesforce.com"