How to set IP range for Profile in Salesforce?
1. Open the Profile. 2. Select "Login IP Ranges". 3. Click "Add IP Ranges". 4. Click "Save".
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', ....
length() method can be used to find the length of the String using Apex in Salesforce. Sample Code: String myStr = 'abcdef'; Integer result = myStr.length(); System.debug( 'Result is ' + ....
Sample SOQL: SELECT Name FROM Organization For more fields, refer the below link https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_organization.htm Cheers!!!
Sample SOQL: SELECT Id, Status, MethodName, ApexClass.Name FROM AsyncApexJob Cheers!!!
Sample Code: Map<Id, List<PermissionSetAssignment>> mapUserIdPermAssignList = new Map<Id, List<PermissionSetAssignment>>(); List<PermissionSetAssignment> listPermAssign = [SELECT AssigneeId, PermissionSetId FROM PermissionSetAssignment]; for(PermissionSetAssignment PA : listPermAssign) { if(!mapUserIdPermAssignList.containsKey()) { mapUserIdPermAssignList.put(PA.AssigneeId, new List<PermissionSetAssignment>()); } mapUserIdPermAssignList.get(PA.AssigneeId).add(PA); } ....
Email Masking is nothing but appending some text to emails. Whenever we refresh the Sandbox from the Production, in order to avoid sending emails, some text is appended to the ....
The parallel sessions in Salesforce depends upon the purpose. The purpose may be for API call or Integration call or Data loading call. Please refer the below link for more ....