The ‘Days_Since_Last_Update__c’ formula field did not return the correct number of days between an Account’s Last Activity Date and today
Use the following formula to fix the issue. TODAY() - Account.LastActivityDate
Use the following formula to fix the issue. TODAY() - Account.LastActivityDate
Formula Fields in Salesforce plays a vital role to derive data in run time. Formula fields calculates the values in runtime when they are queried and viewed. Salesforce Formula editor ....
15 Digit Id is case-sensitive whereas 18 Digit Id is case-insensitive. Many legacy applications doesn't support case sensitive strings, so in that case we can make use of 18 digit ....
Using Pattern.matches() and RegEx, we can validate Phone Number or Mobile Number using Apex in Salesforce. In the following example, I have made sure the Account Phone number field contains ....
1. Extract the ids of the records using data loader or any other tool. 2. Go to https://workbench.developerforce.com. 3. Use Undelete option under data menu. Cheers!!!
If you face "Failed to load document issue in Salesforce" issue, try the below code for attachment body. Attachment att = new Attachment(); att.Body = Blob.toPDF(strVar); Other troubleshooting steps are ....
sforce.one is automatically injected into your page when it runs in Lightning Experience. You’ll see it in your JavaScript debugger console and web developer resources list. There’s nothing you need ....
SOQL Injection can occur in Apex code whenever your application relies on end user input to construct a dynamic SOQL statement and you do not handle the input properly. To ....
Dynamic SOQL refers to the creation of a SOQL string at runtime with Apex code. Dynamic SOQL enables you to create more flexible applications. For example, you can create a ....
First VF Page: <apex:page controller="Sample"> <apex:form > <apex:pageBlock > <apex:pageBlockSection > <apex:pageBlockSectionItem >Enter the text to be passed: ....