Documents for Salesforce
Click the below link to get documents for Salesforce http://wiki.developerforce.com/page/Documentation
Click the below link to get documents for Salesforce http://wiki.developerforce.com/page/Documentation
To convert sObject to String in Apex, below is the simple code. Example: public Account acct = new Account(Name = 'Test Account'); String objType = String.valueOf(acct); system.debug('objType is ' + objType); ....
Below is the simple code to select Radio button by default in Visualforce page. Visualforce: <apex:selectRadio value="{!searchCategory}" > <apex:selectOption itemValue="Member" itemlabel="Member"/> <apex:selectOption itemValue="Blog" itemlabel="Blog"/> ....
In SOQL, the LIKE operator is supported for string fields only. So, we cannot use it against any other field data types. Syntax: String strSOQL = 'SELECT FieldAPIName FROM sObject ....
To create Radio button using apex, use <apex:selectRadio> Example: Visualforce page: <apex:selectRadio value="{!searchCategory}" > <apex:selectOption itemValue="Member" itemlabel="Member"/> <apex:selectOption itemValue="Blog" itemlabel="Blog"/> <apex:selectOption itemValue="Photo" itemlabel="Photo"/> </apex:selectRadio> ....
To convert List to Set in Salesforce, add some values to List datatype and use addAll() to add it to Set datatype. Sample Code: List < String > tempList ....
Below is the simple example for popup in salesforce Visualforce page: <apex:page controller="popup"> <style type="text/css"> .popup { ....
Location attribute is important to display pageblock button in bottom alone. <apex:pageblock title="Members" > <apex:pageBlockTable value="{!memb}" var="mem"> <apex:column value="{!mem.Name}"/> <apex:column value="{!mem.E_Mail_Id__c}"/> ....
Location attribute is important to display pageblock button in bottom alone. <apex:pageblock title="Members" > <apex:pageBlockTable value="{!memb}" var="mem"> <apex:column value="{!mem.Name}"/> <apex:column value="{!mem.E_Mail_Id__c}"/> ....
Visualforce page: <apex:page controller="showAll" > <apex:form > <!-- CSS Style --> <style type = "text/css"> .headr { font-size:17px; font-weight:bold; color:maroon; } .popup { background-color: white; border-width: 2px; border-style: ....