Fixing the Infamous “Maximum SOQL Limit” Error in Apex
The “Maximum SOQL Limit” error, often accompanied by the message System.LimitException: Too many SOQL queries: 101 is one of the most common and frustrating problems faced by Salesforce developers. It signifies a violation of a fundamental governing rule (governor limit)
Create Stripe Payment Form in Salesforce
Steps below to Create & Validate Stripe Payment Form in Salesforce If you are using Stripe as your payment gateway, follow below steps to add the Stripe payment form and validate the user input. Below is the sample code that
Why and How to use spl_autoload_register?
Purpose and Usage of spl_autoload_register with example __autoload is an older method. This method was first introduced in PHP 5 as a magic function but now this method is deprecated as of PHP version 7.2.0. If we want our code
How to impersonate a user in Laravel?
Steps to impersonate a user in Laravel (Login As another user) Impersonate functionality allows you to impersonate other users, in order to see the application from their point of perspective, without having to log out and log in again. For
Sending email using Amazon SES service
Sending email with or without Attachment using Amazon SES service First download the aws library using the this link: http://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.zip link and save it in project. Now the usage of library is below where we write the code to send
Salesforce | Sort “wrapper class” objects alphabetically based on a String parameter
Suppose we have a Wrapper class with fName as a string instance variable and we want to sort a list of objects alphabetically based on value of this variable. Implement Comparable interface global class MyWrapperclass implements Comparable { public String
6 SEO Strategies for your Website
Latest 6 SEO strategies for your Website The search engine is important for website’s ranking, domain authority and page rank. Google algorithm changes on frequent basis therefore the webmaster needs to change strategies for website. Restraining yourself with basic SEO
How to create and use FieldSet in Salesforce
How to create and use FieldSet of a particular Object (Standard or Custom) in Salesforce FieldSets are commonly used where we want to display fields of a particular object in the Visualforce page dynamically. 1. Steps to create FieldSet of
Introduction to Magic Methods in PHP
Here we will go through different Magic Methods in PHP The PHP functions which starts with the double underscore “__” are called magic methods. These are the methods which are always defined in classes, and can not be used alone
Classes used to style responsive bootstrap table
Classes used to style responsive bootstrap table (Bootstrap-4) Nowadays tables are used in creating calendars or score charts. Due to widespread usability, it’s necessary that we create the opt-in responsive tables so that it is accessible on any device. You
