A Collection of Lightning Component Library, Developer Guide and Lightning Design System (SLDS) | Component Library of lightning developer in Salesforce

1,122 views

Find step-by-step aura documentation component example, Lightning Component Library, Developer guide and Lightning design system.

 

The Lightning Component framework is a UI framework for developing single page applications for mobile and desktop devices.

As of Spring ’19 (API version 45.0), you can build Lightning components using two programming models: the Lightning Web Components model, and the original Aura Components model. Lightning web components are custom HTML elements built using HTML and modern JavaScript. Lightning web components and Aura components can coexist and interoperate on a page.

Note:: – You will get an email, so put correct email and mobile number and BEGIN YOUR JOURNEY from Today!

 

Configure Lightning web components and Aura components to work in Lightning App Builder and Experience Builder. Admins and end users don’t know which programming model was used to develop the components. To them, they’re simply Lightning components. To know more, Use this Link..

 

 

Aura Component:- File Input Controller Js

  1.    handleFilesChange : function (cmp, event) {
  2.         var files = event.getSource().get("v.files");
  3.         alert(files.length + ' files !!');
  4.     }

Aura Component:- Input Checkbox

 

The following checkbox uses a component attribute to bind its value.

 

Note:: – You will get an email, so put correct email and mobile number and BEGIN YOUR JOURNEY from Today!
 
 

Aura Component:- Input Checkbox Controller Js

  1.    onCheck: function(cmp, evt) {
  2. 		 var checkCmp = cmp.find("checkbox");
  3. 		 resultCmp = cmp.find("checkResult");
  4. 		 resultCmp.set("v.value", ""+checkCmp.get("v.value"));
  5.  
  6. 	 }

Aura Component:- File Input Controller Js

  1.    handleFilesChange : function (cmp, event) {
  2.         var files = event.getSource().get("v.files");
  3.         alert(files.length + ' files !!');
  4.     }

Aura Component:- Input Checkbox

 

The following checkbox uses a component attribute to bind its value.

 

Aura Component:- Input Checkbox Controller Js

  1.    onCheck: function(cmp, evt) {
  2. 		 var checkCmp = cmp.find("checkbox");
  3. 		 resultCmp = cmp.find("checkResult");
  4. 		 resultCmp.set("v.value", ""+checkCmp.get("v.value"));
  5.  
  6. 	 }

aaaa

 

Further post that would you like to learn in Salesforce

 

 
 

FAQ (Frequently Asked Questions)

How do you prevent duplicate records in Salesforce Apex?

Preventing duplicate records in Salesforce based on a single field can be achieved using a Set that can store the values of that specific field from all existing records and compare it with the list of new records that are going to be inserted.

How do you prevent duplicate records in Salesforce using validation rule?

We'll check this field in our flow. Next, we need to create the validation rule that will prevent a user from creating the duplicate record. This rule only needs to look at our Prevent Save checkbox. Since validation rules fire when the criteria is true, we only have to add the API name of the field.

How do I bypass duplicates in Salesforce?

For a duplicate rule, when the Alert option is enabled, bypass alerts and save duplicate records by setting this property to true . Prevent duplicate records from being saved by setting this property to false.

Related Topics | You May Also Like

 
Note:: – You will get an email, so put correct email and mobile number and BEGIN YOUR JOURNEY from Today!
 
 
  

Our Free Courses →

👉 Get Free Course →

📌 Salesforce Administrators

📌 Salesforce Lightning Flow Builder

📌 Salesforce Record Trigger Flow Builder

👉 Get Free Course →

📌 Aura Lightning Framework

📌 Lightning Web Component (LWC)

📌 Rest APIs Integration



Hi, This is Vijay Kumar behind the admin and founder of w3web.net. I am a senior software developer and working in MNC company from more than 8 years. I am great fan of technology, configuration, customization & development. Apart of this, I love to write about Blogging in spare time, Working on Mobile & Web application development, Salesforce lightning, Salesforce LWC and Salesforce Integration development in full time. [Read full bio] | | The Sitemap where you can find all published post on w3web.net

Leave a Comment