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
How to add ©, ®, ™ symbols to the text in Windows, Linux and Mac
For Windows: Hold down the alt key and use the num pad of your keyboard to create these symbols: For copyright – 0169 – © Registered – 0174 – ® Trademark – 0153 – ™ For Mac: Hold down the
PHP | How to call SOAP based web services from php
We were working on codeigniter website project. We had wsdl web services available to access our backend functionality. We had configured a WSDL Client in our php code but it was not working. Sample Code: try { $testSoapClient = new
Selenium | Use of Robot Class to handle Dialog box
When we write selenium script for downloading files over internet through Mozilla Firefox following dialog box appears to save or open the file: Note: This dialog box cannot be handled with simple find element functions like: find_element_by_id find_element_by_name find_element_by_xpath find_element_by_link_text
Google Maps | Display routes to different locations from common starting point
Suppose in Google Maps you want to display routes to different locations from common starting point. For this we need accurate lat/long of the origin and destination addresses (only 1 origin and multiple destinations). We will use following statement to
Subclipse – How to disconnect and connect your project to a repository
Right click on project -> Team ->select Disconnect option, following dialog box will appear: Now if you want to delete complete svn metadata information, select the respective option and click yes. Now your project is totally independent and you can
Salesforce | Read csv file, insert objects and get results back in Apex visualforce page
If you have a csv file with raw data and you want to read it using apex, convert to sfdc objects and insert these, then get success and failure results back then following steps and code can help you: 1.
Sendgrid | How to send bulk emails in one batch using sendgrid in php
Recently we were working on a project in which the requirement was to send emails to 500 users at a time. Earlier, emails were being sent to 500 users in a loop 1 by 1 in which sendgrid-API was being
Mysql | Maximum execution time of 360 seconds exceeded at data import time
In one of the project we had to import some .csv files into Mysql database. Files were of size 80mb and more. When we tried to upload the files through phpmyadmin it was resulting in timeout error – Maximum execution
Salesforce | Passing data from one Visualforce page to another
There was a situation when we were required to pass some values from one visualforce page to another. For achieving this we invoked the second VF page by calling the controller extension of this page using following code. In the