How to reverse a string in Salesforce?
Sample Code: String str = 'abc'; String revStr = str.reverse(); system.debug('Reversed string is ' + revStr); Output: Cheers!!!
Sample Code: String str = 'abc'; String revStr = str.reverse(); system.debug('Reversed string is ' + revStr); Output: Cheers!!!
Lead is nothing but information about an organization or an individual person who is interested in your product. Lead Source is the primary source from which the lead is generated. ....
Sample Code: Visualforce Page: <apex:page standardController="Account" extensions="Sample"> <apex:form > <apex:pageMessage rendered="{!NOT(updateBool)}" severity="info">Insert</apex:pageMessage> <apex:pageMessage rendered="{!updateBool}" severity="info">Update</apex:pageMessage> </apex:form> </apex:page> Apex Class: public class Sample { public ....
To fix this issue, please check the OWD of the objects. Cheers!!!
Soft deletion of records is nothing but Logical deletion. Soft deleted records will be stored in Recycle Bin. Hard deletion of records is nothing but Physical deletion. Hard deleted records ....
1. Open the Profile. 2. Select "Login IP Ranges". 3. Click "Add IP Ranges". 4. Click "Save".
Sample Code: Visualforce page: <apex:page controller="Sample" tabStyle="Account"> <apex:form > <apex:pageMessages /> <apex:pageBlock id="pg"> <apex:pageBlockSection columns="1"> <apex:outputField value="{!con.FirstName}"/> ....
apex:outputText: Displays text on a Visualforce page. apex:outputField: A read-only display of a label and value for a field on a Salesforce object. Sample Code: Visualforce Page: <apex:page controller="Sample" tabStyle="Account"> <apex:form > ....
For Line Break in Salesforce Formula Field, BR() can be used. Check the following for example. Sample Formula Field: Sample Formula Field: IF( CONTAINS(Name, 'test'), 'Test' & BR() & 'Account', ....