function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
osf_teamosf_team 

MetadataAPI call listMetadata returned fullName value for type PlatformEventChannelMember does not start with "ChangeEvents_" and also not ends with "ChangeEvent"

Hi,

I are trying to get sObject name corresponding to selected CDC entity from PlatformEventChannelMember::fullName when getting response for MetadataAPI::listMetadata call.

Refer below link to know more about fullname.
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/metadata.htm

For custom sobject as CDC selected entity we get fullName like : ChangeEvents_<CUSTOM_SOBJECT_NAME>_ChangeEvent
Ex : <fullName>ChangeEvents_Patient_ChangeEvent</fullName>

For standard sobject as CDC selected entity we get fullName like : ChangeEvents_<STANDARD_SOBJECT_NAME>ChangeEvent
Ex : <fullName>ChangeEvents_AccountChangeEvent</fullName>

ISSUE:
fullName returned from listMetadata (soap based api) of MetadataAPI for type PlatformEventChannelMember does not start with ChangeEvents_ instead starts with CM_. And fullName also not ends with  ChangeEvent for User (standard sobject).

For User (standard sobject) as selected entities, I am getting fullName like : <fullName>CM_ChangeEvents_User</fullName>
This is causing issue to me since fullName does not start with ChangeEvents_ but starts with CM_ and also not ends with  ChangeEvent

MY QUERIES:
1. What does "CM_" mean in prefix of "User" entity fullName? Is this pattern expected ?
Refer below link to know more about fullname. 
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/metadata.htm

2. When getting response from MetadataAPI::listMetadata api call for type PlatformEventChannelMember, can fullName start with something like "CM_" for User (standard sobject) ?

3. Why fullName isn't ending with "ChangeEvent" for "User" entity which is a standard sObject?
Refer below link
https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/meta_platformeventchannelmember.htm
for quick view  
{
"The change event name of an entity selected for Change
Data Capture notifications. For example, for the Account standard object, the
name is AccountChangeEvent, or for a custom object MyObject__c, the name is
MyObject__ChangeEvent"

}
Tech master 8Tech master 8
Thanks for this post admin 
https://www.wishesquotesintamil.in/
Elison ParkerElison Parker
Thanks for sharing this (https://apkrevise.com/firefox-browser-mod-apk/) amazing information here.
Nancy SuzonaNancy Suzona
Hey, Your abject CDC is not executeable. I've checked it for many times, also check here. 
Nancy SuzonaNancy Suzona
Hey, Your abject CDC is not executeable. I've checked it for many times, also check here. (https://apklavish.com/
Projectors PointProjectors Point
I am also having issues with CDC objects. Please share solution too when you found.
Projectors PointProjectors Point
this solution is available at (www.projectorspoint.com)
Projectors PointProjectors Point
this solution is available at solution (http://projectorspoint.com)
Bryce Wo 4Bryce Wo 4
Thank you for posting the insightful ideas and I appreciate your efforts on recycling and waste management.
<br>
For the past 33 years, Wiscon Envirotech develops waste shredders, plastic granulators and recycling systems. We produce heavy duty shredder (https://www.wiscon-tech.com/industrial-shredder/).