This content describes an older version of this product.
View Latest
Keep Your External Data Current with Change Data Capture
Use Change Data Capture to update data in an external system instead
of doing periodic exports and imports of data or repeated API calls. Capturing changes with
Change Data Capture event notifications ensures that your external data can be updated in real
time and stays fresh.
When Do You Use Change Data Capture?
You can think of Change Data Capture as part of the data replication process for the cloud. Data replication includes the following stages.
Change Event Object Support
Change events are available for all custom objects defined in your Salesforce org and a subset of standard objects. Select the objects that you want to get notifications for on the Change Data Capture page in Setup.
Select Objects for Change Notifications in the User Interface
To receive notifications for record changes, select the custom objects and supported standard objects that you are interested in. From Setup, enter Change Data Capture in the Quick Find box, and click Change Data Capture.
Select Objects for Change Notifications with Metadata API and Tooling API
Use the PlatformEventChannelMember metadata type to create or retrieve object event selections for the ChangeEvents standard channel. The ChangeEvents standard channel corresponds to the selections that you configure in Setup in the Change Data Capture page. In Tooling API, you can create or retrieve object selections through the PlatformEventChannelMember objects.