How to Hide and Show Related Lists in Salesforce?
To Hide and Show Related Lists in Salesforce, follow the below steps Step 1: Open a record and click "Customize Page" link in the detail view page of the record. ....
To Hide and Show Related Lists in Salesforce, follow the below steps Step 1: Open a record and click "Customize Page" link in the detail view page of the record. ....
1. Create a custom link. 2. While creating tab or modify the tab with this custom link Splash link. Output:
IST Report: IST Report:
The Database.executeBatch method takes an optional parameter scope. This parameter specifies the number of records that should be passed into the execute method. Syntax: Database.executeBatch(instance of batch class,scope); Sample: AccountUpdate ....
Sample Code: Visualforce page: <apex:page sidebar="false" Controller="Sample" showHeader="true"><apex:form ><apex:pageBlock > <apex:pageBlockSection > <apex:pageBlockSectionItem helpText="Name of the Account" LabelTitle="Account Name"> <apex:outputtext >Enter the Account Name</apex:outputtext> <apex:inputtext value="{!Name}" /> </apex:pageBlockSectionItem> </apex:pageBlockSection> ....
Bucket field in Reports in Salesforce is used to group values to the name we specify. It can group only the below data types fields 1. Picklist 2. Number 3. ....
Go to Setup --> Customize --> User Interface and uncheck or check "Enable Collapsible Sidebar" check box. Output:
Go to Setup --> Customize --> User Interface and uncheck "Show Quick Create" check box. Cheers!!!
Sample code: Visualforce page: <apex:page controller="Sample" ><apex:form > <apex:pageBlock id="pg" > <apex:pageblockSection > <apex:pageblockSectionItem >Check it to view the button:</apex:pageblockSectionItem> <apex:pageblockSectionItem > <apex:inputCheckbox value="{!option}" > <apex:actionsupport event="onclick" action="{!change}" reRender="pg"/> </apex:inputCheckbox> ....
Sample codes: First Page and its Controller: <apex:page controller="Sample" ><apex:form > <apex:pageBlock > <apex:pageblockSection > <apex:pageblockSectionItem >Select the value to pass:</apex:pageblockSectionItem> <apex:pageblockSectionItem > <apex:selectList size="1" value="{!option}" > <apex:selectOption itemValue="red" itemLabel="Red"/> ....