Fixing the Infamous “Maximum SOQL Limit” Error in Apex

|
| By Webner

The “Maximum SOQL Limit” error, often accompanied by the message System.LimitException: Too many SOQL queries: 101 is one of the most common and frustrating problems faced by Salesforce developers. It signifies a violation of a fundamental governing rule (governor limit)

Salesforce | Different ways to use datepicker on visualforce page

| By Webner

1. Apex:inputfield: We can simply use apex:inputfield and bind the field with date type field and it will automatically use the Salesforce Calander: <apex:page standardcontroller=Contact> <apex:form> <apex:inputfield value=”{!Contact.Birthdate}”> </apex:form> </apex:page> 2. Apex:inputtext: <apex:page standardcontroller=”testcontroller” id=”vfPage”> <apex:form> <apex:inputText label=”Birth Date” value=”{!birthdateVariable}”