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
Javascript | How to post Acord PDF Forms data to a Web URL
Description : You have Fillable PDF on which you have button “Save Entered Data”. On button you want post the form data to php file. Solution : Follow these steps : 1. Open Form with Adobe Acrobat Pro. Goto–>Tools. 2.
jQuery EasyUI datagrid | How to solve “no text wrapping” problem
See the screenshot below : Line no 7 and 8 indicate problems due to no word wrapping Solution : Use Javascript property ‘nowrap=false’ in your datagrid creation. Code : <table id=”dg” title=”Activity Info” class=”easyui-datagrid” style=”width:100%;height:81%” toolbar=”#toolbar #searchtoobar” nowrap=”false” rownumbers=”true” fitColumns=”true”
Javascript | How to write code in Adobe Acrobat
Steps to write script in Adobe Acrobat Pro 1. In Adobe Acrobat Pro, open Tools panel on the right, and search for Action wizard. 2. Double click on Action Wizard to open it. Click on New Action Wizard. It will
PHP | Why HTML to PDF does not show same styling as on HTML page?
Sometimes, HTML to PDF conversion does not show the same styling in PDF as it shows in HTML. There are several reasons for that such as : 1. Bootstrap classes: Using bootstrap classes in creating PDF could be the problem.
How to read csv from S3 bucket and insert into database
While working on a project, we wanted to read csv from s3 bucket, store this data in another local file and insert it into database. We had S3 bucket url where csv was kept. Samp S3 URL -‘http://www.xyz.com/1234.csv’; Below is
Moodle | Enrollment-API to get enrolled users based on course id
In one of our Moodle projects, we wanted to retrieve the list of users enrolled in a particular course. One way of getting this data was to query Moodle database and join all the relevant tables as listed below: 1.
Database Connectivity with Selenium Webdriver
How to connect to Mysql in Selenium script? Step 1: Import Mysql connector (JDBC driver): Download connector from: Find-ur-pal Download this jar file and import in Eclipse : MySQL-connector-java-5.1.18-bin.jar Follow these steps in Eclipse: Add the downloaded Jar to your
Salesforce | How to merge BrandTemplate with HTML body in VisualForce page
Problem: We tried to merge BrandTemplate with HTML body of Email template but haven’t got a proper solution (BrandTemplate is the letterhead object in Salesforce). Solution: For now the problem is solved with a trick as we noticed that template
PHP | Deleting files from local machine (unlink(): No such file or directory)
Assume following is the path on your system in which you want to delete some files through code (unlink function): C:\wamp\www Now if we use the same address in source variable (“C:\wamp\www”), it gives the following error: unlink(): No such