Useful tips for everyday
How to schedule apex to update lead Records? In the test class, insert 200 Lead records, schedule the DailyLeadProcessor class to run and test that…
How would you match the date format dd-mm-yyyy? To match a date in mm/dd/yyyy format, rearrange the regular expression to ^(0[1-9]|1[012])[- /.] (0[1-9]|[12][0-9]|3[01])[- /.] (19|20)\d\d$.…
Why is error handling required? Error handling helps in handling both hardware and software errors gracefully and helps execution to resume when interrupted. When it…
How to update an object field in apex? Construct a new object of type A from the values and while doing that set the desired…
What is with sharing and without sharing in Salesforce What is default sharing mode )? Why? with sharing means “With Security Sharing Setting enforced” for…
How do you use lightning cards in LWC? lightning-card LWC Example Click Setup (Gear Icon) and select Edit Page. Under Custom Components, find your lightningCardLWC…
How do you call a controller method from the Visualforce page? When we click on the “click” button it will invoke pageReference show() method. pageReference…
What is img src? The img src stands for image source, which is used to specify the source of an image in the HTML tag.…
How do you close the subtab in lightning console? To communicate between lightning component inside a VF page we use Window. postMessage. So when save…
How do I fix discord music bot not playing? How to fix Discord Rythm Bot Not Working? Check volume level of the bot. Rythm bot…