Data 360 Diaries: From SOQL to SQL Bridging Salesforce Core & Data 360 (in English)
Updated 2026-11-14
What's changed since the video
Each change is dated and checked against Salesforce's own documentation.
- The old names are still in the API. The product is Data 360 since October 2025, but the query path still says `ssot`, and some API names still say CDP or Data Cloud. Salesforce: "While the name is new, the functionality and content remains unchanged." Nothing in the video needs to change for that. (Query Data in Data 360, Data 360 Query Guide, checked 2026-11-14.)
- In a data space other than the default, name it. The video queries the default data space. For another one, the query needs the data space name, and the integration user's permission set has to be linked to that data space (STA 5.22). (Use Data Cloud APIs with Data Spaces, Salesforce Help, checked 2026-11-14.) Not a change since the video; a reminder.
Still right
- Data that lives in Data 360 can be read live from core, without copying it into core. A Lightning web component (or any Apex) in core sends a SQL query to Data 360 and shows the rows.
- Two layers, two sets of security. Calling out of core takes a named credential and an external credential. Calling into Data 360 takes an external client app, here with the client credentials flow and a run-as user.
- One integration user is the gateway into Data 360, with only the access it needs. Most core users never need Data 360 access of their own.
- A permission set gives that user access to the external credential's principal. That's what lets the callout run.
- The query is Data 360 SQL, not SOQL, and it usually reads data model objects (the `__dlm` objects), the shaped data at the end of the flow.
- One small helper class makes the callouts, and every controller calls it.
All videos in this series: Data 360
Film wczytuje się z YouTube dopiero wtedy, gdy go klikniesz.