data
-
Loading Test data using CSV (Static Resource)
Writing Test classes is a regular activity for developers. While writing test classes, usually developers end up creating the same data again again. To minimize these efforts, to create data in bulk and make data creation easier, Salesforce provides a better approach. Using Test.loaddata(), you can load test data in your Test classes. To do… Continue reading
-
Create and Link records using External Id using REST API
We will be using workbench as a tool in this this article. For example, you have two objects called ‘Reservation__c’ and ‘Address__c’. ‘Reservation__c’ object has lookup field called ‘Billing_Address__c’ that is lookup to ‘Address__c’. ‘Address__c’ object has External Id field called ‘Location_Id__c’. Assume that we already have records populated in Address objects. For example Id… Continue reading