Vikash Kumar AgarwalFormatting a Apex Time into StringSince as on today we don’t have any inbuilt method which can format this type of String “ 14:00:00.000Z” like “2:00 PM” So wrote a snippet…Apr 5, 2022Apr 5, 2022
Vikash Kumar AgarwalDateTime difference showing in days hours minutes and seconds using Salesforce APEXMar 24, 2022Mar 24, 2022
Vikash Kumar AgarwalConverting Date and time and timezone to Datetime in GMT SalesforceSome time we have to give ability to user to choose date and time and timezone separately and basis on that we have to calculate gmt value…Mar 11, 2022Mar 11, 2022
Vikash Kumar AgarwalSalesforce LWC Typeahead component (only typeahead with native lightning-input)While checking lwc base component lib found they do have lots of functionality which doesn’t required for simple typeahead. So created.Jan 5, 2022Jan 5, 2022
Vikash Kumar AgarwalLoading a script in LWC component in Salesforce digital experience / Salesforce sites.I have seen lots of example of how to load scripts in LWC components but all are like basic. Many things are not cleared with the example:Nov 27, 2021Nov 27, 2021
Vikash Kumar AgarwalNavigation in Salesforce Digital Experiences (sites / communities)I was having issue with NavigationMixin(LightningElement) while working in Salesforce Experience cloud (sites), I was unable to navigate…Nov 27, 2021Nov 27, 2021