getAllObjects(){ List<string> SObjectList =" /> getAllObjects(){ List<string> SObjectList =" />

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