Monday, May 13, 2019

Lightning Component Framework

  • Lightning Component framework is a UI framework for developing single page applications for mobile and desktop devices.
  • It uses JavaScript on the client side and Apex on the server side. 
  • Lightning Component framework makes developing apps that work on both mobile and desktop devices far simpler than many other frameworks.


What is Salesforce Lightning?


Lightning includes the Lightning Component Framework and some exciting tools for developers. Lightning makes it easier to build responsive applications for any device.

We can build Lightning components using two programming models: the Lightning Web Components model, and the original Aura Components model.

Where we can use Lightning Components?


We can Lightning components to customize our Salesforce org in a number of different ways.

  • We can drag-and-drop Components in Lightning App Builder and Community Builder.
  • We can add Lightning Components to Lightning Pages.
  • We can add Lightning Components to Lightning Experience Record Pages.
  • We can Launch a Lightning Component as a Quick Action
  • We can Override Standard Actions with Lightning Components
  • Create Stand-Alone Apps

Note:


We must deploy My Domain in our org if you want to use Lightning components otherwise we would not be able to see the output of lightning components.

How to enable my domain?


From Setup, enter My Domain in the Quick Find box, then select My Domain.

Enter the subdomain name you want to use within the sample URL.

Select Check Availability. If your name is already taken, choose a different one.

Select Register Domain.

You receive a confirmation email from Salesforce when your new domain is ready for testing.

Test your domain name and deploy it to your org.

Click the URL in the confirmation email to log in to Salesforce using your new domain. 

Alternatively, from Setup, enter My Domain in the Quick Find box, select My Domain, and then select Click here to login.

Test the new domain by clicking tabs and links within your org. Notice that all pages show your new domain name.

To roll out the new domain name to your org, from Setup, enter My Domain in the Quick Find box, select My Domain, and then select Deploy to Users.


The domain is activated immediately, and your users are redirected to pages with the new domain.

Note:

Only Salesforce support team can disable or change the domain name after it is deployed.

No comments:

Post a Comment