Are you looking for a way to open a lightning component in a new tab/window on detail page button click?

While working on a lightning component development, I found that there is no standard way to open a lighting component in a new tab. You can find the same problem being asked on developer forums. So, to be honest there is no standard way to achieve this behaviour. I used a workaround to get this … Continue reading Are you looking for a way to open a lightning component in a new tab/window on detail page button click?

Jquery Datepicker in Lightning Components for better control on behaviour of Datepicker

Having trouble with <lightning:input type="date"> and <ui:inputDate> components? Then why don't you use Jqyery Datepicker? Jquery datepicker gives a lot of flexibility and freedom to developers to let them use a datepicker as per business needs. A developer can enforce validation on dates and date range which is very hard to impose using these out-of-the-box components … Continue reading Jquery Datepicker in Lightning Components for better control on behaviour of Datepicker

Salesforce Cookies #3

If there is a need of scheduling an apex job or schedulable apex class after each hour then cron expression is the best way. Cron expression allows you to schedule a job on a specific time. Following cron expression runs a job after each hour of the day. Cron expression is built with following parameters … Continue reading Salesforce Cookies #3

Lightning Component – Display records in a dynamic table using FieldSet on any object

Recently, while answering on developer forums. I came across a question where someone asked about a lightning component to display records in the table using a fieldset. I tried to put my effort to create a generic lightning component which can be used with any object and a fieldset. This component can be used to … Continue reading Lightning Component – Display records in a dynamic table using FieldSet on any object

Display Google Map in the formula field using geo-location fields

I came across a question on the answer community where someone is looking for a solution to display the google map on detail page using geolocation field. I thought it's a good topic to write about so everyone will get benefitted. Use case - I have a geolocation field on the Account object for storing … Continue reading Display Google Map in the formula field using geo-location fields

Platform Cache – Using it to store the access token if there is no refresh token mechanism provided

In my last post, I explained pretty much about the Platform cache and that was more theoretical. This post explains a use case where I used the Platform cache in my project. I had a challenge while working on a 3rd party application integration using OAuth 2 where I couldn't refresh the access token as this … Continue reading Platform Cache – Using it to store the access token if there is no refresh token mechanism provided