In this blog post, I am going to cover a very basic thing which you would do as the first thing while creating a Lightning Web Component. Yes, you’re right – We are going to discuss the Component folder structure today which seems a basic thing but it bundles all the salient files required for […]
Recalculating Formula on a record without even querying the fields When you’re working in Triggers or in apex code, you may want to get a recalculated formula field values on a particular object. This can be done with the help of a method in the Formula class. Let’s have a look on syntax and an […]
Overriding the LWC standard component’s style As we all know that LWC uses shadow DOM which makes an isolation between our custom components and LWC standard components. When you add a style to your component’s css file it doesn’t apply to the standard components and that’s a limitation. Example: Let’s say you have a lightning-textarea […]
There are lot of custom lookup components are available which we can use in the aura component. These custom lookup components are pretty good but there are some limitations with them like not showing the results based on the lookup filters and also doesn’t work with multi-lingual screens. I tried to come up with a […]
I have been working on Aura (Lightning) components for last 2 years and the common issue with the Dependent picklist which I found while developing an Aura (lightning( component is how to render them on the basis of the record’s recordType. Salesforce has provided an amazing User Interface API, which Lightning Experience uses to get […]
How to use Salesforce REST API in Lightning Component If you are working with REST/SOAP APIs in the apex class which is being used in the lightning component, then using UserInfo.getSessionId() will give the session id which can not be used to make the API calls due to security restrictions. There is a workaround for […]
Introduction to lightning web components
Using XMLParser class someone can easily convert xml into JSON
How to use Lightning component into a Visualforce page Sometimes, you might have a situation where you want to access your lightning component in the Salesforce classic view and here ltng:outApp comes into picture. ltng:outApp : Is a component in the long namespace which is used to expose your lightning component outside of the lightning […]
If you are trying hard to keep track of the users time which they spent in your Salesforce org then you will be happy to try this solution which I built for you. I have created an app which runs as a background utility in an app and keep tracks of the time user spent […]