Advanced topics in Salesforce
Approval through email Pagination using Apex Inbound email services SOQL Javascript validation Class with sharing and without sharing Production snapshots Customer portal implementations
Approval through email Pagination using Apex Inbound email services SOQL Javascript validation Class with sharing and without sharing Production snapshots Customer portal implementations
Sample code: <apex:page> <apex:tabPanel> <apex:tab label="Pagination"> <apex:include pageName="Pagination"/> </apex:tab> </apex:tabPanel></apex:page> here Pagination is the name of the page already developed. Output: Cheers!!!
Sample Code: Visualforce page: <apex:page controller="Sample" > <apex:form > <apex:pageBlock id="details"> <apex:pageblockTable value="{!memb}" var="m"> <apex:column value="{!m.Name}"/> <apex:column value="{!m.Age__c}"/> </apex:pageblockTable> <apex:pageblockButtons > <apex:commandButton value="<<" rerender="details" action="{!beginning}" disabled="{!prev}"/> <apex:commandButton value="<" rerender="details" action="{!previous}" ....
Sample Trigger: trigger AccountTrigger on Account ( before update ) { for ( Account objAcc : trigger.new ) { Account objAccWithPriorValues = trigger.oldMap.get( objAcc.Id ); if ( objAcc.Name != objAccWithPriorValues.Name ....
I have two custom objects Member and Interest. Note: From the child object create Master Detail field. I want Interest Object to be the child of Member object, so that ....
Sample Code: Visualforce Page: <apex:page controller="Sample" ><!-- Javascript --> <script type="text/javascript"> function validate() { if(document.getElementById('{!$Component.frm.pb.pbs.pbsi1.nam}').value == '') { alert("Account name is mandatory"); } if(document.getElementById('{!$Component.frm.pb.pbs.pbsi2.extid}').value == '') { alert("External id is ....
Sample code: Visualforce page: <apex:page controller="Sample"> <apex:form > <apex:pageBlock > <apex:pageBlockSection > <apex:pageBlockSectionItem > <apex:outputLabel value="Value 1"/> </apex:pageBlockSectionItem> <apex:pageBlockSectionItem > <apex:inputText value="{!val1}"/> </apex:pageBlockSectionItem> <apex:pageBlockSectionItem > <apex:outputLabel value="Value 2"/> </apex:pageBlockSectionItem> ....
1. Go to Setup --> Create --> Workflow & Approvals --> Approval Processes. 2. Select the object to create approval process. 3. Click "Create New Approval Process" button and click ....
Step 1: Enter Name and Description. Step 2: Specify Entry Criteria. Step 3: Specify Approver Field and Record Editability Properties. Step 4: Select Notification Templates. Step 5: Select Fields to ....
The value field can be anyone of the following data types Number Currency Boolean