From : to This: There are 2 ways of doing this. Method 1 After W19, we can now add Lightning components as a tab. By adding as a tab, there will be no custom header. So I highly recommend this option until
Read More
One of the most requested features clients ask for is the addition of an input mask or field masking to a form field. This post will explain what an input mask is, why you may want to use one, and how we can apply a simple
Read More
Recently I got to know that Salesforce Lightning Community doesn’t support Streaming API or Events APIs. That means, you can not use EMAPI on AURA/LWC for community. That lead me to a workaround on AURA component Credit: @JitendrazaaSource: https://www.jitendrazaa.com/blog/salesforce/calling-apex-method-at-regular-interval-from-lightning-component/
Knowledge Articles: The fields that display in the Community are determined by several factors: The Knowledge Object’s Page Layout. You can control everything except required fields here. Field Level Security for the Profile viewing the Knowledge Article can also lock down ability to
Read More
Want to go beyond the standard layouts and mix and match the layout of your Community page? Prerequisites (10 min) 1. Create a Lightning component called CommunitySectionLayout (5 min) This is to create the styling for the pages. Go to the Gear icon → Developer
Read More
Platform Events are used to deliver secure, scalable, and customizable notification within Salesforce or external app. Platform Event is based on Event-Driven Architecture. This is built in real time integration patterns in the Salesforce Platform which helps to reduce point-to-point integration. WHEN TO USE PLATFORM
Read More
I found it very important as many places, JS functions can save your a**. I mean LIFE. But specially setTimeout function when you need to perform some function after specific time. Here is an example to use JS setTimeout function in AURA
Read More
There could be many cases where you need to insert records in multiple objects in a single method but you might end up with TOO MANY DMLs Error. Here we’ll discuss how you can insert records in multiple objects in a single
Read More
In general, following is the method to check the validity and Checksum of Canadian SIN. Given an example Number: 123 456 782 Remove the check digit (the last digit): 123456782 Extract the even digits (2,4,6,8th digit): 12345678 Double them: 2 4 6 8
Read More
As Lightning component is kinda new and I was struggling finding ways to add custom validation on any field (lightning-input specially) and even very little information is available all over internet (yet) and I assume others may be struggling for the same
Read More