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

1,266 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.

Why Should You Schedule Meeting?

🎯 If You Are Facing Any Of These 6 Challenges. Schedule Meeting With Me.

  • Learn Salesforce Development
  • Career Confusion
  • No Interview Call
  • Low Salary
  • No Promotion/Growth
  • No Finding New Job Opportunity
  • Why you stucking from past so many years in same company?

 

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.

 

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. 	 }

 

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

 
  

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