Lightning Component: Upload and read a file in the apex controller

In this post we will see how to Upload and read a file in the apex controller through Lightning Component. Though lightning has a file upload component here, sometimes we want to upload files to a third party system or do some other processing rather than attaching it to a Salesforce record. To do that, […]

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