Category Archives: Architect

Implement Polymorphism for Custom Objects and Fields in Salesforce

Polymorphic Id field is a lookup field which can reference several different type of SObjects, such as the Whoid and Whatid field on the Event object. As of now, the Polymorphic Id field is only available in standard fields. Please … Continue reading

Posted in Architect, Data Model, Force.com, Polymorphism, Salesforce, Software Development, Visualforce | Tagged , , , | 2 Comments

Salesforce Data Modelling Tip (1) – Create Composite Key for Your Custom Object

In Salesforce, the Id field is the primary key for any SObject. Users can also create a custom text field and make it unique, but users cannot create a composite key for a SObject. A Composite key is very important … Continue reading

Posted in Architect, Salesforce, Software Development | Tagged , , , | Leave a comment