Simple program which show how to save & fetch value from sObject in lightning component



In this post, we will see how to save and fetch the data from any custom object. Before proceeding make sure either you change the custom object name "First_Lightning_Object__c" to your own object name or just make a custom object with this name (First_Lightning_Object__c). Copy the whole code into your org. In program, there are two component, one component to save the data and other to show the data.
sample output of the above code 
Reactions

Post a Comment

0 Comments