Posted on March 3, 2017 Leave a Comment
Apex class to lookup record types and cache them Test Class
Posted on May 1, 2014 Leave a Comment
Bean Configuration – create prototype method on demand using look-up method Configuration factory Test Class Each time you call createPartnerConnection()() you will receive the reference to newly created instance of PartnerConnection class.
Posted on January 31, 2013 5 Comments
I have seen that allot of people are struggling with creating lookup field in Salesforce. It is very easy by just referencing the child relationship id in an apex:Inputfield. See examples below: When using a standard controller in your page you can do the following: <apex:page standardcontroller=”Contact”> <apex:form> <apex:inputField value=”{!Contact.OwnerId}”/> <apex:inputField value=”{!Contact.AccountId}”/> </apex:form> </apex:page> <apex:page […]