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 call ajax in DevExtreme component using angularjs
var folderApp = angular.module(“folder”, [“dx”]); folderApp.controller(“folderController”, [“$scope”, “$http”, function($scope, $http) { $scope.gridSettings = { columns: [{ dataField: “myObjectName”, caption: “Name”, } { dataField: “myObjectEmail”, caption: “Email”, }], dataSource: new DevExpress.data.CustomStore({ load: function(loadOptions) { return $http({ method: “GET”, url: ” ”;
Salesforce: Execute flow from Process Builder
How to execute flow from Process Builder in salesforce? Sometime it is very useful to execute flow from the Process Builder. We can execute as many flows as we want. Flow can be used to create record, update record or
Selenium | Find a particular window and close it via code
If multiple browser windows are opened, then find a particular window and close it by using web driver. We can do so by using the following function: public static void switchControlToSpecifiedWindow(WebDriver driver) { Iterator < String > windows = driver.getWindowHandles().iterator();
Ubuntu | Remove sendmail completely
Problem: I installed sendmail in my ubuntu system with the help of link http://lukepeters.me/blog/getting-the-php-mail-function-to-work-on-ubuntu. I installed it to test php mail functionality on localhost for my project. It was working slow, therefore, after testing, I wanted to uninstall it completely
Microsoft Azure | Deploy ASP.NET Web Project on Microsoft Azure
1.Go to Server Explorer. Right- click on Azure and click on Connect to Microsoft Azure subscription. A login screen will appear. Enter valid credentials with at least one subscription and sign-in. 2. Now expand Azure. Right click on App Service
PDFtk | View PDF field information from command line
Solution: If you have a pdf and you do not know the names of the fields used in the pdf just follow these steps: 1. Install pdftk (search online). 2. Open the command prompt, run the command: pdftk YourPdf.pdf dump_data_fields
Java | Hibernate best practices
1. Always define hashCode() and equals() methods in your Persistent classes. 2. Persistent class method’s equals() and hashCode() must access its fields through getter methods. It is a good practice to use accessor methods instead of direct instance variable access.
A Brief Introduction to SOAP
SOAP stands for Simple Object Access Protocol. This protocol allows to communicate over the web between the programs (or Web service-enabled applications) running on two different systems using Http and language used by this protocol to communicate is XML (Extensible
How to configure DevExtreme with visual studio MVC application
These are the steps : 1. Install Microsoft visual studio on your machine. 2. Then we need Xpress Developer Studio. Which is available on https://js.devexpress.com/. 3. Install Xpress Developer Studio in your machine. 4. Then we need to install DevExtreme