Menu
subscribe our youtube channel popup

Suffixes in Salesforce

In Salesforce, a suffix is a word or a set of characters that are added to the end of metadata to identify it. For example, in a custom field name, a suffix like “__c” is often used to denote a custom field created by the user, while standard fields might not have any suffix. In a developer context, suffixes in Apex class names or Visualforce pages can help identify the purpose or usage of the code.

What are suffixes in Salesforce?

In Salesforce, suffixes often refer to the additional letters or characters added to the end of a term or name to provide more information or context. For instance, when naming fields, objects, or even users, suffixes can help distinguish similar items or indicate a specific type of data.

List of common API suffixes in Salesforce

Here is a list of common API suffixes that you can come across in Salesforce.

API SuffixesUsed for
__cCustom Object / Field
__rCustom Relationship
__ePlatform Events
__bCustom Big Objects
__mdtCustom Metadata Type
__xExternal Object
__shareSharing Object
__TagSalesforce Tags
__voteStatRating for an article
__viewStatNumber of view per article
__kavKnowledge Article Objects
__historyField History Tracking
__xoSalesforce-to-Salesforce (S2S) spoke
__pcCustom Persona Account Field
__ChangeEventChange Data Capture
__StateCode__sCustom Address field
__CountryCode__sCustom Address field
__Street__sCustom Address field
__PostalCode__sCustom Address field
__City__sCustom Address field
__GeocodeAccuracy__sCustom Address field
__dlm(Data Model Object) for the Customer Data Platform.
__chnChange Event channel
__latitude__sLatitude Coordinate
__longitude__sLongitude Coordinate

Learn more here.

Summary

Overall, suffixes help in organizing and clarifying the different elements in a Salesforce environment. If you have a specific context in mind regarding suffixes in Salesforce, feel free to share!

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *