Back to FAQ library

What architecture patterns allow Lightning Web Components (LWCs) to query Data Cloud DMOs?

When presenting Data Cloud Data Model Objects (DMOs) inside Salesforce Lightning Web Components, three distinct architectural patterns are available:

Scenario A: Home Org Native Query

When the LWC runs in the Salesforce org that is directly connected as the home Data Cloud instance, queries execute natively via the Connect API or GraphQL wire adapters:

Home Org Native Query

Scenario B: Different Org Integration

When the LWC resides in an external Salesforce CRM org or custom portal, an Apex callout routes queries through MuleSoft or direct REST endpoints into Data Cloud:

Different Org Integration

Scenario C: Companion Org Native Query

When multi-org sharing is enabled across Salesforce enterprise tenants, companion orgs can query shared DMO spaces natively through Data Cloud data federation:

Companion Org Native Query

Related Links