Create Custom objects through Workbench

Consider a scenario: I want to deploy a custom object from one developer account to another. Easiest way to do this is through workbench Metadata API. Let’s login into the workbench ( https://workbench.developerforce.com ) of my developer account. I have a custom object called Hobbies__c which I want to deploy to my second Salesforce developer […]

Lightning Component: Show check boxes for a records list and display selected record

Lets take an example to show check boxes for a records list and display selected record in an alert box. To show check boxes for a list view, we will first display dummy data of 5 contacts in our component. Let’s create an apex class to query 5 random contacts for our component: Next we […]

Lightning Experience Configuration Converter

Many of us have faced this issue one time or another: wanting to switch to Salesforce Lightning Experience for its ease of use and multiple other great features but what to do about the existing customization which are quite business critical. These can be visual force or java script buttons which run successfully in classic […]

Field Level Security in Apex

Recently Salesforce released a new feature in winter 19 which can help administrators ensure field level security in Apex classes. The feature which is still in pilot phase, can be used to strip the fields which are not accessible by the current user in the DML operations. Before Winter ’19, apex would run is System […]

Lightning Component – How to display Objects and its fields

To display Objects and its fields in a lightning component, follow the simple steps: First of all, create an apex class called “ObjectsFieldsList” which will act as our controller. The “getallobjects” method returns the list of sObjects. The “getAllFields” takes sObject as parameter and returns its fields. Next create a component called as “DisplayObjects” and […]

Scroll to top