Tag Archives: Lightning
Using Dynamic labels/picklist options in Lightning Component

If you are looking for an alternative of {!$ObjectType.Account.fields.Name.Label} then this post is the perfect destination for you. In this post, I am going to demonstrate the easiest way of showing field labels dynamically instead of hard-coding them. lightning:input and ui:input doesn’t have a capability to get the label from the field itself like force:inputField and using this solution you… Read more »
Salesforce Cookies #12
How to remove the arrows from lightning:input[type=”number”]? I think this is a generic question and Salesforce devs have looked for the ways to get rid of the spin buttons on the input field without changing it to text type for a purely numeric behaviour. You just need a few lines of CSS to solve your problem. We need some CSS which… Read more »
Salesforce Cookies #8
How to use namespace in managed lightning components If you are working on a lightning component and it’s going to be a part of a managed package then you need to take care of namespace in client side JS code if you are accessing any custom field. This can be handled in various ways but I found one very quick… Read more »
Salesforce Cookies #7

Calling a child lightning component method from the parent lightning component When we have multiple nested components then we may run into a scenario in which our parent lightning component is supposed to call a method of its child component. This is a very common use case. simplifies the code needed for a parent component to call a method on… Read more »
Do you want to add HTML Email Status related list in Lightning Experience?
If you are using Lightning Experience then you must be waiting for some key features to roll out in LEX as they are very crucial for your business. Salesforce Product Team is working very hard to deliver things asap but it’s always very hard to deliver all the features due to time constraint. I came across a feature which is being requested… Read more »
Salesforce Cookies #2
Now using Lightning Design System in Lightning Application is easier – No static resource is required to include CSS files. An application automatically gets Lightning Design System styles and design tokens if it extends force:slds. Same behaviour can be accomplished in Visualforce pages with the help of apex:slds component. Include in a Visualforce page to use Lightning Design System stylesheets in the… Read more »