Can someone help where I can find Change Data Capture Metadata?

178    Asked by dhanan_7781 in Salesforce , Asked on Sep 11, 2023

 According to my knowledge of Salesforce, metadata defines everything. If I create an app, which will be explained in App_Name.app-meta.xml, and if I add a page to it, that will make a few files Page_Name.flexipage-meta.xml and Page_Name.tab-meta.xml. Then, I can include these in my local project folder and deploy the app as built to a new org.

Is this true for everything? To create a Change Data Capture salesforce for a custom object, I have used the Setup interface but cannot find the metadata for it. Does it exist? And if not, does that mean I have to manually configure the new org’s Change Data Capture each time to deploy an app that requires it? 

Answered by Chris Dyer

Some changes are “Unsupported Metadata,” which may differ depending on Salesforce’s roadmap; therefore, the answer to your question “true to everything?” is no. For Change Data Capture configuration, try the PlatformEventChannel metadata. See: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_platformeventchannel.htm

Most Setup menu changes can be handled through the metadata API, assuming it's “Supported Metadata.”



Your Answer

Interviews

Parent Categories