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)
Preserving Local Storage Data Across DataTable Pages In Javascript
When we write data in local storage it is not kept between dataTable pages. It will overwrite the old data with a new one on each page, means your previous data will be lost on a new dataTable page. The
Jquery Datatable Callbacks
Jquery data table callbacks are used when you want to perform some action on a certain event in the data table. For eg. when you want to modify a particular row or cell every time the table is redrawn. List
Make VisualForce Page externally accessible by non-salesforce Users
Steps to make VisualForce Page externally accessible by non-salesforce Users/External Users: 1. Create a VisualForce page that you want to make externally accessible by non-salesforce Users/External Users. Here, I’ve created a VisualForce Page named as ‘Multi-Select List’. I’ve also created
Linux Truncate (Log)File
Commands to empty logfile : 1. :>logfile – If logfile does not exist, this will create an empty log file, otherwise it will empty the existing file. 2. cat /dev/null > logfile – This is equivalent to above command. Command
Adding a custom widget in wordpress wp-admin dashboard
How to add a custom widget in wordpress wp-admin dashboard? In following screenshot those boxes in red need to show custom widgets. How to accomplish it: For adding the custom widget in wordpress admin you have to add this code
Cross Domain XMLHttpRequest problem and some solutions
Cross-domain request: Cross-domain request is requesting the content from another host. When we request to a third party site to get content that is called cross-domain request. By default XMLHttpRequest (XHR) request allows transferring data only if both parties have the
MySQL | Communications link failure
MySql Communication link failure while connecting MySql server remotely I’m getting the following error when I tried to connect MySql server remotely: ERROR: —————————————— Cannot connect to database server Communications link failure The last packet sent successfully to the server
Schedule CSV Import from Google Drive to ZOHO reports
Zoho reports have the feature to import data into a table from cloud storage like Google Drive. We can also schedule the import at a specific interval. Here in the example below, we are importing the data from Google Drive.
Migrate codeigniter (2.0.3) from php 5.3 to php 5.6 or higher version – conflicts
I am working on a client project which is using Codeigniter running on version 2.0.3 and PHP 5.3. I got a requirement from client to upgrade the PHP version from 5.3 to 5.6 or higher. While I tried to upgrade
