Skip to main content

Posts

Showing posts from March, 2020

Custom Table In LWC

I'm assuming you've Basic understanding of Lightning Web Component, I'll be explaining you the syntax that will be generic. HTML: < template > <!-- Header Part -->      < lightning-card   title = "Custom Data table in Lightning Web Components" >          < div   class = "slds-grid slds-gutters" >              < div   class = "slds-col" >                  < span ></ span >              </ div >              < div   class = "slds-col" >                  < span > <!--A Button For extra feature-->                      < lightning-button   label = "Show Selected Contacts"   onclick = {showContacts}   style = "margin-left: 40%"   variant = "brand" > </ lightning-button >                  </ span >              </ div >          </ div >< br />

Lightning Component Basic and Advanced

Lightning Component also refer as Aura Component Or Aura Framework is base on View-Controller Architecture. Refer the Below Image which has been taken from Trailhead Module. Aura architecture Server-Side Controller (Apex): Server calls are expensive, and can take a bit of time. Milliseconds when things are good, and long seconds when the network is congested. You don’t want apps to be locked up while waiting for server responses. The solution to staying responsive while waiting is that server responses are handled asynchronously. What this means is, when you click the Create Expense button, your client-side controller fires off a server request and then keeps processing. It not only doesn’t wait for the server, it forgets it ever made the request! Then, when the response comes back from the server, code that was packaged up with the request, called a callback function, runs and handles the response, including updating client-side data and the user interface. If you’re an exper

Efficient way to analyze Salesforce Debug log

Salesforce is one of the top CRM tool in the market currently. Thanks to the out of the box features and powerful tools inbuilt it is poised to continue being the top performers in the SAAS domain. Apart from the inbuilt ecosystem, Salesforce provides good development platform for developers to write custom code. This allows them to build anything they think of, imagination is the only limit. Thanks to this Developer friendly ecosystem, there are many awesome reusable custom designed components people have developed in Salesforce. Making the platform more robust and popular. As someone rightly said “With great power comes great responsibility” To make sure the code developed is defect free and errorless, there should be a powerful log tracking and analysis tool. Though Salesforce provides the ability to capture and save logs, it lacks few important features like: Log Readability Meaningful Labelling Smart Filtering Quick Component Reference To overcome these limita

Translate