Extract string using Regular Expression in Salesforce Apex This is achievable with the help of Regular Expression with Apex Pattern and Matcher Classes and below is the some examples: 1). …
SFDC DEVELOPMENT
- APEXSALESFORCESalesforce CustomizationSalesforce.com
- APEXSALESFORCESalesforce CustomizationSalesforce.com
How to Find Salesforce Object ID Prefix using apex class?
How to Find Salesforce Object ID Prefix using apex class? In salesforce every stranded and custom object has specific id. i.e: first 3 digits of an Id is an identifier …
- APEXSALESFORCESalesforce CustomizationSalesforce.comTrigger
How to get the Contact Id while creating the Task using Apex Trigger
How to get the Contact Id while creating the Task using Apex Trigger while creating the task to contact, its possible to get the contact information from Task WhoId or …
-
How to change date formats using Apex Class? For Example 1: 2017-01-24 to change the date format to be in DD.MM.YYYY Below example should work if you can use a …
- APEXSALESFORCEVisual ForceVisualforce
How to Get the Logged in User Profile Name in Apex Class and Visualforce Page
How to Get the Logged in User Profile Name in Apex Class and Visualforce Page Source: https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_userinfo.htm#apex_System_UserInfo_getProfileId getProfileId() Returns the context user’s profile ID. Id profileId=userinfo.getProfileId(); String profileName=[Select Id,Name from …
-
How to Execute the Javascript Functionality in Salesforce Custom Button: {!REQUIRESCRIPT(‘/soap/ajax/28.0/connection.js’)} var opportunityRecord= {!GETRECORDIDS($ObjectType.OpportunityLineItem)}; if (opportunityRecord[0] == null) { alert(“Please select at least one product to traffic.”) } else { …