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
PHP | What is the purpose of data filtering in PHP?
Data Filtering is required in PHP to validate input and sanitize input received. Generally, we need to validate data before inputs need to be saved or used in our webpage. Wrong data inputs may cause exceptions or erroneous state in
Apache Solr | Indexing all files in a folder recursively
Indexing of all files inside a folder and all its subfolders can be done using java language in the following ways: 1. Using data import handler. 2. Without data import handler i.e by creating a recursive function in java code.
Java | Wrapper classes, autoboxing and unboxing
Wrapper classes are the classes to convert the primitive types to objects of their respective class. We have many primitive types in Java like int, float, char etc. These primitive types can not be used in Collections as Collections only
Salesforce | Why to use @TestVisible annotation
Problem: Why we use @TestVisible annotation for a private method and private variable of a Class in Salesforce? Description: I have a situation where I want to call a private method of a class in the test class, whenever I
PHP | Short introduction to traits in PHP
In PHP, the trait is a method of code re-usability. Php is single inheritance programming language. So there is a limitation of code reusability due to single inheritance. Traits in PHP is basically a method of code reusability. Traits have
Salesforce | How to track email sent by workflows or process builder in email history section of record?
1.Create an email template. For example, we created a template called “Leads: Welcome email” Somewhere in the template, add “ref:{Object Id of the record}” which you want to track the activity For example, in our template, we added ref: {!Lead.Id}.
Moodle | Uploading Scorm Package and some internal function calls
1.Uploading a scorm package (.zip) in moodle: a. Log-in to moodle, navigate to your course and “turn editing on”: b. Click “Add an activity or resource” link: c. Select Scorm package from list and click Add button: d.Add basic information
Java Servlets | Converting relative path to absolute for file upload
In the program of uploading files to a server location, instead of using absolute location for saving file to that path, relative path needs to be used. Program was working correctly for absolute path. In the maven project with the
Apache Tomcat | No change reflected on re-deploying war file into tomcat’s webapps folder
Issue: I had deployed latest war file of my Java project into tomcat’s webapps folder but I could not see any changes reflected while running my project. What I tried? It looked like war file must not have been uploaded properly.