Category: Web Development
Salesforce Google drive integration | Upload files from Salesforce to Google drive
Follow the below steps for the integration of Salesforce and Google drive (to select files from local and upload to Google drive using Salesforce code): 1. Open Google Drive console. Here is the link for console: https://console.developers.google.com/apis 2. Select a
Salesforce | Send an email alert to Lead owner after X business hours from Lead Creation timestamp
Let’s say our business hours are from 9am to 6pm (Monday to Friday) and if Lead is created at 5pm on Monday an email alert should be sent to LeadOwner at 12am on Tuesday. You can set your business hours
Chargify | How to refund for duplicate payments
Description: If any customer has been charged for multiple times for the same month then there is an option in chargify to refund back for a particular transaction. So, if we want to refund for duplicate transaction, we can do
HTML | Make HTML table sortable on column click
When we need to sort an HTML table on click of any of its column headers then we can use sortable.js: Download library file sorttable.js. Add this js file to the current page. Add sortable class to the table for
Heroku | Fatal error due to PHP 7 and old version of CakePHP
Fatal Error on website whenever we were pushing any code change to our website hosted on heroku. We were suddenly facing a fatal error (error 500) on our website. After making debugger on, it displayed the following error : After
Cakephp | How to send email using google api (gmail) in cakephp 2.x ?
How to send email using google api (gmail) in cakephp 2.x? Answer: When you send email using google api, you’ll need: 1. Cakephp 2.x 2. A Google account with Gmail enabled. 3. PHPMailer Library. Download PHPMailer library from below link:
Jquery : Filter array by applying AND & OR logic on checkboxes
In one of our projects we have multiple groups of checkboxes and corresponding divs with id as checkbox label. Now we want our checkboxes to perform AND and OR logic . For Example: <html> <div id=”_Java_less than 1500_Basic_Dennis Ritchie” class=”6″
Salesforce | Creating communities in Salesforce
Steps to create the communities in Salesforce: 1. Click on Setup: 2. Under customize click on communities. Click on all communities: 3. Click on New community button: 4. Choose your template according to your requirements. There are 5 templates provided
Salesforce: Call Apex Class on Click of Custom Button
1. Create apex class that you want to call (it should be declared global): Global class Test { Webservice static void testMethod() { //do something. } } Note: Webservice method must be static: Global class Test { Webservice static void
