Category Archives: lightning

Shortcut to pass even handler to direct children Lightning components

Today I have discovered that this is possible to pass event handlers to children components like attributes. Instead of writing code it is possible to write just assuming child has corresponding event  

Posted in lightning | Leave a comment

Lightning Standard Component Availability

While reading Salesforce documentation about Lightning Standard Components and having found there 25 items, I felt very confused when I tried to add standard lightning component to app page and saw only 10 options available. Later I understood that some components are … Continue reading

Posted in lightning, salesforce, standard, Uncategorized | Tagged , , , , | Leave a comment

Salesforce: Impossible to invoke Lightning or Visualforce actions in Apex Code

When I saw QuickAction class and QuickAction.QuickActionRequest object I assumed that it supports Lightning and Visualforce actions, however, in fact, it doesn’t. I created two actions. Lightning Action on Account and called it LA and Visualforce action on Account and called it VA. When … Continue reading

Posted in Actions, lightning, salesforce, Uncategorized, visualforce | Tagged , , , , , , | Leave a comment

Lightning Event

To use Lightning Events, you need first to create event. You can create application event or component event. This is the code for component event sample. Then you need to define your event in your child component like this and … Continue reading

Posted in lightning, salesforce, Uncategorized | Leave a comment

Override Salesforce view action with lightning component

I spent a lot of time to time the way to override Salesforce standard record view action with Lightning component and finally I have found the following information: To make Lightning Component Bundle dropdown list not empty here one … Continue reading

Posted in lightning, salesforce, Uncategorized | Leave a comment

Lightning Icons

Some time ago I was looking for list of available lightning icons and I couldn’t really find it. So I decided to store this link here:

Posted in lightning | Tagged , | Leave a comment

Mysterious Lightning Out Depths

Recently we raised an internal support case because of receiving Internal Error on production. The error was coming because I missed in the deployment script Lightning App component used for Lightning out. I missed it for a reason that didn’t … Continue reading

Posted in lightning, Uncategorized | Tagged , , , , , | Leave a comment