Fetching data from another Salesforce organization
Step 1: Generate Partner WSDL. Save the generated Partner WSDL. Step 2: Generate Apex code using the generated Partner WSDL. Copy the generated code and create a new ....
Step 1: Generate Partner WSDL. Save the generated Partner WSDL. Step 2: Generate Apex code using the generated Partner WSDL. Copy the generated code and create a new ....
Date: Sunday, December 9, 2012 Time: 2:00 PM to 5:00 PM Link: http://www.meetup.com/Bangalore-Force-com-Cloud-Apps-Developer-Meetup/events/83799842/ Forward it to your friends.
How to get a count of million records from object? Maximum how many extensions can use in VF page? Tasks are storing in which object? Explain about batch apex? Best ....
Sample code: Visualforce page: <apex:page standardController="Account" extensions="sample"> <!-- Dynamic creation of Section Header --> <apex:dynamicComponent componentValue="{!secHead}"/> <apex:form > <!-- Dynamic creation of pageBlock --> <apex:dynamicComponent componentValue="{!formSample}"/> </apex:form> ....
Sample code: Integer result; //Finding minimum value result = math.min(a,b); //Finding maximum value result = math.max(a,b); //Modulo division result = math.mod(a,b); For more info, http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_math.htm
Sample Code: <apex:page controller="sample"> <apex:pageBlock > <apex:variable var="i" value="{!0}"/> <apex:pageBlockTable value="{!acnt}" var="acc"> <apex:column > <apex:variable var="i" value="{!i+1}"/> </apex:column> <apex:column value="{!acc.Name}" ....
1. Download the Jquery Plugin from here. Upload this Zip file into Static Resources with the name "Jtreeview". 2. Create the Apex Class "Treenodes" and paste the below code. public class treenodes{ /* Wrapper class ....
SingleEmailMessage MassMailMessage The SingleEmailMessage can send message related to only single record. MassEmailMessage can send mails related to multiple records (WhatId and TargetObjectId). setTargetObjectId - The ID of the contact, ....
Sample Code: Lead myLead = new Lead(LastName = 'Foo', Company='Foo Bar'); insert myLead; Database.LeadConvert lc = new database.LeadConvert(); lc.setLeadId(myLead.id); lc.ConvertedStatus = 'Closed - Converted'; Database.LeadConvertResult lcr = Database.convertLead(lc); System.assert(lcr.isSuccess()); ....
1. How to force lead assignment rule via Apex while updating or adding the Lead? 2. How to implement the pagination in SOQL ? 3. How to access custom controller-defined ....