Asynchronous Apex
Asynchronous Apex in Salesforce allows developers to execute operations in a separate thread, enabling tasks to run in the background without impacting the user experience. This approach is particularly beneficial for handling long-running processes, callouts to external systems, and operations
Eclipse | Undo deleted file in Eclipse
Problem: Undo deleted file in Eclipse Solution: We were working on a project in Eclipse. Accidentally one of the PHP files got deleted in which code was written. Eclipse does not use the Linux ‘Trash’ but keeps local history from where we
Ubuntu 14.04 | Installing postgresql 9.4
Follow steps below to install Postgresql 9.4 (instead of 9.3 for which sources are added by default in Ubuntu 14.04): 1. Remove the previous PostgreSQL Version: *Make sure that you firstly backup your databases. $ sudo apt-get –purge remove postgresql-* 2. Add
ACORD Forms autofill
We get this request from a lot of clients in US insurance industry who want to generate ACORD forms automatically, means they want data of corresponding insurance Policy and other objects filled automatically in the editable ACORD PDF. Most of
java.sql.SQLException: Data truncated for column date at row 1
You may face this exception while trying to insert data in a mysql table using hibernate: java.sql.SQLException: Data truncated for column date at row 1 While there can be different reasons of this problem, in our case it was occurring
PGAdmin not retaining created connections on reopening (Ubuntu)
If you are using PGAdmin version 1.18.1 on Ubuntu and it is not retaining connections that you create, all you need to is this: A. Open command prompt and create file .pgadmin3 in your home folder B. chmod 755 .pgadmin3
Zoho Creator or PHP based solution?
A lot of Zoho users want to extend the capability that Zoho CRM provides out of the box. For example, one of our clients wanted to build a custom Quote Generator. They initially wanted to get the customization done to
PHP | Convert date from one format to another in php
To convert date from one format to another we need to specify to php interpreter the format of our current value. See code below: /* In statement below, we are providing date and format to DateTime::createFromFormat function so that function
jQuery Datatables | Reloading data after filter values are changed
Suppose there are two filters on the screen: Date from Date to We need to reload data of Jquery datatable based on changed filter values. “ Datatable “ plugin for jQuery needs to be called by including AJAX call as
Execute Javascript code on browser back button
Here is sample code to trap browser back button and execute Javascript code on this event: jQuery(document).ready(function($) { if (window.history && window.history.pushState) { $(window).on(‘popstate’, function() {//when back is clicked popstate event executes //code here will execute on back click });