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.

"organizations": [
  {
    "id": "00DB00000003brXMAQ",
    "instanceUrl": "https://westregion.my.salesforce.com",
    "label": "West Region Org"
  },
  {
    "id": "00DB0000000pqd1MAA",
    "instanceUrl": "https://eastregion.my.salesforce.com",
    "label": "East Region Org"
  },
  {
    "id": "00DB0000000paacMAA",
    "instanceUrl": "https://southregion.my.salesforce.com",
    "label": "South Region Org"
  },
  {
    "id": "00DB00000001234MAA",
    "instanceUrl": "https://northregion.my.salesforce.com",
    "label": "North Region Org"
  }
 ]

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"

See Also