How to Execute the Batch Apex Class for Every 30 minutes We can achieve using System.schedule method. Below is the Example – we need to execute this from the system …
Sakthivel Madesh
Sakthivel Madesh
3x Salesforce MVP | Platform Champion | 22x Salesforce Certified | MuleSoft Certified | All Star Ranger | TechForce Services | Sydney | Australia
-
-
How to show the more than 2 child components in apex:pageBlockSectionItem? Error: <apex:pageBlockSectionItem> may have no more than 2 child components Try the following code in your visualforce page: [html] …
-
How to list the Salesforce Meta Data using SOAP / PHP In you php code initialize the PHP and Salesforce connection and use below code: [php] try { //salesforce login …
-
How to check the if condition in Salesforce Visualforce page? Assign the variable in your apex class and use that variable using below, Ex1: [html] <apex:outputPanel id=”ref3″ style=”{!IF((masterLookupType == ‘Contacts …
-
How to Convert from SET to LIST Using Apex Class? Using below code we can convert from SET to LIST, Pass your set values in this method ‘convertToList’ and you …
-
How to Send the Email with Attachment Using Apex Class? Using below code we can set the To, CC, BCc, Body Content with Email Signature and with the Attachment from …
-
How to execute Batch Apex Using Apex Trigger? Call your batch Apex class from below trigger, Trigger: [java] trigger UpdateAreaInfoUser on User (after update) { Map<id, User> owners = new …
-
How to get the Visual Force Page Name Using Apex Class? We can get the Visual Force Page Name Using Apex Class, below is the Example: [java] public string getVFPageName() …
-
How to get the Salesforce Instance Server URL from APEX Class? This can be used to get the ID of current record. [java] ApexPages.CurrentPage().getParameters().get(‘id’); [/java] This can be used to …
-
How to get the Salesforce Instance Server URL from APEX Trigger? Using trigger we can get the Salesforce Server URL, below is the example: for example, used below codes in …