Asynchronous Apex

|
| By Rushali kashyap

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

Java | Base64 Encoding/Decoding with javax.xml.bind.DatatypeConverter

| By Webner

Base64 Encoding/Decoding with javax.xml.bind.DatatypeConverter in java 6 and 7. Solution: javax.xml.bind.Datatypeconverter class is the built in class inside JRE. We don’t need any third party library as we need in case of Cipher encoding/decoding method. javax.xml.bind.DatatypeConverter.printBase64Binary(byte[]) encodes a byte[] array into

Jquery | How to create/edit Jquery Datatable dynamically

| By Webner

How to create/edit Jquery Datatable dynamically? HTML code: <div class=”col-md-12 col-sm-12 col-xs-12″> <table id=”table”> <tbody> <tr> <th>Rules</th> </tr> </tbody> </table> </div> <button id=”go”>Go</button> Here is the javascript function: function addData() { var data=[this array contains all the values that we

Moodle | Add and access custom elements in Blocks

| By Webner

In Totara how to add custom HTML elements (checkboxes, input boxes etc) and then access the value selected by user on server side: 1. Adding custom elements. 2. Accessing values of custom elements. Each problem is discussed below: Overview: In Totara,

Salesforce Mobile iOS SDK | Retrieve the list of objects from salesforce

| By Webner

Salesforce Mobile: Retrieve the list of objects from salesforce in iOS native mobile app Description: Using the salesforce mobile iOS-native SDK we can retrieve the list of objects using “requestForDescribeGlobal” SDK method. This method will return the data of all

Shopify webhook getting fired multiple times and then getting deleted from shopify store

| By Webner

In our Shopify store we have an order creation webhook that points to a cakephp action URL. The action that webhook points to fetches the order data and then saves this to the database. The problem that we were facing