Category Archives: Visualforce Pages

Future Method in Salesforce

FUTURE METHOD If a transaction has any long running operation/statements and if this operations is not having any dependency on rest of the operation then we can run the operation independent from the rest of the operation by using future method. Long running operation are called Bulk DML operations,webservice callouts. Rules to define future methods… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Map in Salesforce

Map It is key value pair. Key must be primitive data type and value may be primitive data types/Reference data type. Primitive data type are integer,decimal,string,id,Boolean,data… Only one key value is allowed to be null. Syntax Map<key,value> variablename = new map<key,value>(); Data is storing according to keys dictionary order. keys are case sensitive Methods Put(key,value);… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Set in Salesforce

Set It doesn’t allow duplicates. It maintains dictionary order. Set maintains hash code mechanism. It allows only one null value. Syntax set<Datatype> variable name = new set<Datatype>(); Methods Add(Element); addAll(list/set s); contains(Element); containsAll(set/list s); size(); clear(); remove(Element); Share this…Facebookemail

Share this...
Share on Facebook
Facebook
Email this to someone
email

Digital Signature(Docu Sign) added to the Object Records in Attachments

In this post we have implemented digital signature to the object. Digital signature will be save in jpeg format to attachments. ApexClass: VisualForcePage 1 : ContractPage Output 1: VisualForcePage 2 :ContractSignaturePage Output 2: VisualForcePage 3 :ContractDetailPage Output 3: Share this…Facebookemail

Share this...
Share on Facebook
Facebook
Email this to someone
email