SOSL – Salesforce Object Search Language
Unlike SOQL, which can only query one object at a time and multiple objects only if they are related to each other, SOSL enables you to search text, email, and ....
Unlike SOQL, which can only query one object at a time and multiple objects only if they are related to each other, SOSL enables you to search text, email, and ....
To insert line break in email message using Apex in Salesforce, we have to use <br> tag. setHtmlBody() method is used here to send the email in HTML format. Sample ....
Please click the below link to get details about contacting Salesforce customer support https://na12.salesforce.com/help/doc/en/salesforce_customer_support_cheatsheet.pdf Cheers!!!
Enhanced lists give you the ability to quickly view, customize, and edit list data to speed up your daily productivity. <apex:enhancedList type="Member__c" rowsPerPage="10" height="500"/> 'rowsPerPage' attribute must be one of ....
Visualforce Page: <apex:page controller="Graph" > <apex:chart height="250" width="350" data="{!pieData}"> <apex:pieSeries dataField="data" labelField="name"/> <apex:legend position="right"/> </apex:chart> <apex:outputText value="{!temp1}"/> </apex:page> Apex: public with sharing class Graph { public List<PieWedgeData> getPieData() { List<PieWedgeData> ....
The daysBetween() method can be used to find number of days between two dates. Example: Integer noOfDays = startDate.daysBetween( endDate ); Execute the following sample code in Developer Console to view the ....
To get Salesforce.com Organization ID, Go to Administration Setup --> Company Profile --> Company Information -- > Salesforce.com Organization ID. In Formula Field: In Apex Class: UserInfo.getOrganizationId(); In Visualforce page: ....
To log a case in Developer edition in Salesforce, 1. Click 'Help'. 2. Click My 'Cases'. 3. Click 'Log a Case'. 4. Fill and click 'Submit' button. Cheers!!!
<apex:iframe> can be used to display Dashboard in visualforce page in Salesforce. Sample Visualforce Page: <apex:page > <apex:iframe src="/01ZU0000000NHAt" scrolling="true" id="theIframe"/> </apex:page> Here src is the source of the Dashboard. ....
To display checkbox options in vertical direction, layout property is used. Example: <apex:selectRadio value="{!searchCategory}" layout="pageDirection" > <apex:selectOption itemValue="Member__c" itemlabel="Member"/> <apex:selectOption itemValue="Blog__c" itemlabel="Blog"/> <apex:selectOption itemValue="Photo__c" ....