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

Salesforce | How to prevent double click on Apex button

| By Webner

How to avoid double click on Apex button in Salesforce (after click disable button and enable again once action is complete)? This is the code having the solution (explained below): <apex:actionStatus id=”saveStatus”> <apex:facet name=”stop”> <apex:commandButton value=”Go” action=”{!go}” status=”saveStatus” rerender=”saveParentBlock” />

Salesforce | Please use TLS 1.1 or higher when connecting to Salesforce using https

| By Webner

Salesforce login via PHP Salesforce Toolkit API may throw this exception: Please use TLS 1.1 or higher when connecting to Salesforce using https The reason is Salesforce has provided customers with the Critical Update feature Require TLS 1.1 or higher

How to access Moodle files outside the Moodle?

| By Webner

We can access Moodle outside the Moodle (without login) by passing token in the URL. For example : http://localhost/Moodle_new/webservice/pluginfile.php/26/qtype_match/subquestion/17/5/6/PineApple.jpg?token=6yhg9331af9d9284abb36cyjh0c67114a If token is not be passed into the URL, then it redirects to Moodle’s login screen.