Salesforce developers have been demanding for a framework to create dynamic and responsive apps for long. Working towards fulfilling this need, Salesforce came up with a new full stack system called the Lightning Component framework.
Have you tried out the new Salesforce Lightning UI, read more about it here.
This innovative technology brings Aura onto the Salesforce Platform giving developers the ability to write their own components and apps. Being a component based framework, the components and apps built, can be seamlessly customized, easily deployed and reused in multiple devices.
In this in-depth guide, we will provide you information that’ll help you create your own Salesforce Lightning Component in the Developer Console. Before, we get started, let’s talk about how we are going to make this learning experience interactive.
Salesforce Lightning Component framework includes a set of pre-built components. These components can be configured and assembled to create newer components in the Salesforce app. But when it comes to the creation of a Lightning component from scratch, there are a few prerequisites.
In our previous post, we had explained each of these prerequisites. Here’s the shorter version:
3 – Create a namespace prefix for your Lightning App
After completing these steps, you will be ready to create your own Salesforce Component.
Bravo! You’ve created your Salesforce component. The next step would be embedding it in your Salesforce app.
Did you know how easy it is to create and deploy real-time interactive walkthroughs on your Salesforce? Check out Whatfix on Salesforce for businesses.
This is where the namespace prefix you created earlier, comes to play. To embed your component, you have to replace the markup in your code with the namespace prefix. This walkthrough will guide you through the embedding process.
Now, it’s time you style your app components, validate it and take it out for the Salesforce users to use it in the Salesforce1 Lightning platform. We’re sure that it’s going to be awesome.
For more news and updates about Salesforce Lightning, subscribe to our weekly newsletter!