Here at Nebula, we’re all about Lightning – we’re using it ourselves and we’re advocating users to take a look and see how it could work for them.
Category: Lightning
Key Takeaways From Salesforce Summer ‘18!
The Salesforce Summer ‘18 release is now officially live! Excited? I am because every release is packed with hundreds of new features; and the best part?
Continue reading “Key Takeaways From Salesforce Summer ‘18!”
Lightning Experience Configuration Converter
Looking to migrate from Salesforce Classic to Lightning Experience? A new tool from Salesforce could help speed this along for you. Continue reading “Lightning Experience Configuration Converter”
How Variable Types Operate in the Lightning Component Framework
Attributes in a Lightning Component have declared types. But, with few exceptions, the type you use has never seemed to make much difference. Continue reading “How Variable Types Operate in the Lightning Component Framework”
Why Switch to Lightning?
We naturally don’t like change. Not leaving our comfort zone is what we prefer to do. This has also been the case most of the time regarding switching to the Lightning experience. I attended two different sessions that discussed the benefits of switching to Lightning. Continue reading “Why Switch to Lightning?”
Editing Salesforce Objects in Custom Lightning Components With NO JAVASCRIPT
When it comes to writing custom user-interface code in Salesforce, Lightning is where it’s at. You could write it in Visualforce, but sooner or later you’ll have to convert it to Lightning. Lightning provides a far richer experience. It allows you to view related data more easily, and see that data change in real-time.
One headache for developers has been that doing something like writing a component to update values on a Contact would require page markup, Javascript, and Apex. And Salesforce itself did not check whether the current user had the correct permissions to be viewing/editing this data. Security was an extra requirement that could easily be forgotten.
In Visualforce, the same requirements could all be achieved with a small amount of markup, leveraging built-in Visualforce tags.
Well, as of Spring ’18, Lightning can now achieve the same thing. The combination of two new components, lightning:recordEditForm and lightning:inputField handle all the complexity for us, and we can get on with only writing custom code where it really adds value to the business!
Editing a Contact in Lightning is now as simple as:
<lightning:recordEditForm recordId=”0030Y0000080eMuQAI” objectApiName=”Contact”> |
<div class=”slds-box slds-theme_default”> |
<lightning:messages /> |
<lightning:inputField fieldName=”Name” /> |
<lightning:inputField fieldName=”Phone”/> |
<lightning:inputField fieldName=”Email” /> |
<lightning:button class=”slds-m-top_small” variant=”brand” type=”submit” name=”update” label=”Update” /> |
</div> |
</lightning:recordEditForm> |
Build Secure and Interactive Forms Faster…No custom JavaScript and no Apex needed!
Some shade between the snow in Salesforce Lightning
Salesforce have started to announce some details of what we can expect in Winter 18… One thing to change is the look and feel of Lightning Experience.
Continue reading “Some shade between the snow in Salesforce Lightning”
Crowdsourced testing…. A solution for testing Salesforce Lightning?
Salesforce Lightning is great at a lot of things… It looks modern, the component-oriented model works really nicely, the builder tool is nice.
Continue reading “Crowdsourced testing…. A solution for testing Salesforce Lightning?”
A “Provider” Pattern in Salesforce Lighting
As a developer coming to Lightning, one of the immediate questions is:
How can I share code between my components?
Well, there’s a nice summary of two code-sharing options on the Salesforce Developers Blog: Modularizing Code in Lightning Components. But, Continue reading “A “Provider” Pattern in Salesforce Lighting”
Using Javascript Promises to chain asynchronous actions in Salesforce Lightning
Even the title of this article might make your head spin. But, if you develop Lightning Components, try to stick with it: it addresses a tricky use-case when coding Lightning Components and it is actually very neat when you get to the end.
Continue reading “Using Javascript Promises to chain asynchronous actions in Salesforce Lightning”
A Developer View on Lightning
For a developer focused on delivering solutions for their customers today, Lightning can seem like a lot of change and hassle for little reason.
Less Work Required To Write Salesforce Lightning Components? I’m in!
Salesforce Lightning is a modern interface with some nice architectural ideas (e.g. event-based communication between modules). It is clearly the direction that SF want to go, but we have always been put off by the lack of some features that we are used to having in Visualforce. Continue reading “Less Work Required To Write Salesforce Lightning Components? I’m in!”