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
Configuring Web Distribution and Load Balancer in AWS
Using tools and steps listed below we can implement web distribution and Load balancer in AWS and also this will save cost of buying ssl certificate from CA authorized vendors. Instead, it will use certificates provided by Amazon server. Tools
C# – Convert output of a Web request into an object list
WebRequest gives response in the form of Stream. In order to use it further in the form of c# object, I have used below code: Sample code : WebRequest requestHttp = WebRequest.Create(reqURL); using(WebResponse responseHttpRequest = requestHttp.GetResponse()) { Stream responseStream =
Java | Achieving Immutability using Final keyword
Problem: What is the difference between using the final keyword with a primitive versus an object? What is immutability and can final assure that? Final: Final is a keyword in java which is used to make variable, methods, classes immutable.
Docusign: Save docusign FormData in CSV
Platform: DocuSign Problem: How to download form data (i.e. Data filled by the client in docusign document) in csv? Solution: For downloading the Docuform data as CSV file follow these steps: 1. Open your docusign account. 2. From the Documents
Cakephp 3.3 |How to execute script using Console
In Cakephp, console applications are useful in running background processes and can be run without access to web browser. The CakePHP console provides a framework for creating shell scripts.To run the cakephp functions, first of all create a shell to
C# Salesforce.Common.ForceAuthException
C# – Exception in salesforce login with valid credentials Stacktrace : Exception thrown: ‘Salesforce.Common.ForceAuthException’ in Salesforce.Common.dll Exception thrown: ‘Salesforce.Common.ForceAuthException’ in mscorlib.dll at Salesforce.Common.AuthenticationClient.d__1.MoveNext() Description : I am using oauth-rest api to login into salesforce. I have passed valid consumer key,
How to use Random Emails while testing Registration forms
While testing Registration form, the best way is to use automation script rather than manual testing which is time consuming. Automated script helps to get better results in shorter time. Like we can generate random users with the script and
Call to undefined function mcrypt_encrypt()
Error: Call to undefined function mcrypt_encrypt() Description: In one of our project, I was trying to save a field value in encrypted format in the database, using PHP, which could be retrieved back to its normal value, where we need
AWS cli installation, configuration and stopping/starting EC2 machines
Install the AWS CLI Using the MSI Installer (Windows) Download the AWS CLI MSI installer for Windows (64-bit) click-here or directly access https://s3.amazonaws.com/aws-cli/AWSCLI64.msi. Run the above downloaded MSI installer. Follow the instructions that appear: The CLI installs to C:\Program Files\Amazon\AWSCLI