When working with API names for objects and fields they will often have suffixes such as __c
and __x
.
What suffixes are there and what do these API name suffixes indicate?
When working with API names for objects and fields they will often have suffixes such as __c
and __x
.
What suffixes are there and what do these API name suffixes indicate?
Best Answer
This is the list I've compiled. Feel free to add any I've missed.
__c
Custom Object or Custom field__r
Custom relationship field as used in a SOQL query to traverse the relationship__ka
KnowledgeArticle__kav
KnowledgeArticleVersion__Feed
Article Type Feed or Custom Object Feed__ViewStat
KnowledgeArticleViewStat__VoteStat
KnowledgeArticleVoteStat__DataCategorySelection
Article Type__DataCategorySelection__x
External Object__xo
Salesforce-to-Salesforce (S2S) spoke/proxy object__mdt
Custom Metadata Type__Share
Custom object sharing object__Tag
Salesforce Tags__History
Field History Tracking for Custom Objects__pc
Custom Person Account Field__pr
Used for traversing custom Person Account relationship fields__hd
Historical Data__hqr
,__hst
Start/End of the Datetime range__b
BigObject__latitude__s
Geolocation Latitude Coordinate__longitude__s
Geolocation Longitude Coordinate__e
Platform Events - a.k.a. EventBus event (Winter `17 pilot)__p
Custom Person Object (Spring `15 pilot)__ChangeEvent
Change Data Capture (Winter `19 Dev Preview)__chn
Change Event channel (Source)