EnrichedField
Represents a field selected for Change Data Capture Enrichment for a
channel and channel member. A non-empty enriched field is added to an update or delete change
event even when not changed. Available in API version 51.0 and later.
Supported SOAP API Calls
delete(), describeSObjects(), query(), retrieve()
Supported REST API HTTP Methods
DELETE, GET, HEAD, Query
Special Access Rules
- This object is part of Change Data Capture Enrichment.
- Use the EnrichedField object to query, retrieve, or delete enriched fields. Add an enriched field as part of PlatformEventChannelMember. For more information about Change Data Capture Enrichment and adding enriched fields, see Enrich Change Events with Extra Fields When Subscribed with CometD and Example: Add Event Enrichment Fields with Tooling API in the Change Data Capture Developer Guide.
- To retrieve or query this object, you must have the View Setup and Configuration permission.
- To delete this object, you must have the Customize Application permission.
Fields
Field | Details |
---|---|
ChannelMemberId |
|
Field |
|
ManageableState |
Usage
To find out which channel members and fields you configured, query the EnrichedField object. For example, this query returns the channel member ID and the selected enriched field on that channel.
SELECT ChannelMemberId,Field FROM EnrichedField ORDER BY ChannelMemberId
In these query results, the rows returned are ordered by the channel member ID. The first two rows contain two enriched fields on the same channel: the Industry field and a custom field, whose value is an ID. The last row is for a different channel member and contains the Phone enriched field.
ChannelMemberId | Field |
---|---|
0v8RM00000000JsYAI | Industry |
0v8RM00000000JsYAI | 00NRM000001gEx32AE |
0v8RM00000000fIYAQ | Phone |