How to find whether the record is modified in Salesforce?
CreatedDate and LastModifiedDate fields are date time fields. These two field values will be same when create a record. If the record is modified, it will not be same since ....
CreatedDate and LastModifiedDate fields are date time fields. These two field values will be same when create a record. If the record is modified, it will not be same since ....
If you face "Failed to save undefined: Cannot remove design attributes when the component implements a Lightning Page interface.: Source" issue, do the following 1. Remove implements attribute from the ....
Sample code: Lightning Component: <aura:component > <ui:inputRadio text="Sample1" label="Sample 1" name="Role" change="{!c.onGroup}"/><br/> <ui:inputRadio text="Sample2" label="Sample 2" name="Role" change="{!c.onGroup}"/><br/> <ui:inputRadio text="Sample3" label="Sample 3" name="Role" change="{!c.onGroup}"/><br/> ....
The Opportunity Record Type selected is the default for the converter profile. 1. Go to Profiles. 2. Select the Profile. 3. Select Object Settings. 4. Select Opportunity Object. 5. Click ....
Sample Code: String strObject = 'Account'; String rtName = 'Marketing'; Schema.DescribeSObjectResult d = getDescribSObject(strObject); ....
When you face System.QueryException: unexpected token: 's' issue, use String.escapeSingleQuotes() method to avoid this exception. Sample SOQL: String SOQL = 'SELECT Id, Name, ( SELECT Id, Name FROM ....
If you face Failed to save undefined: descriptor is null, please set type attribute. Sample Code: <aura:attribute name="functionalrole" type="String"/> Cheers!!!
Sample Code: Lightning Component: <aura:component implements="flexipage:availableForAllPageTypes"> <aura:attribute name="height" type="Integer" default="100"/> <aura:attribute name="width" type="Integer" default="100"/> <aura:attribute name="styl" type="String"/> <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> <button ....
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 ....
If you face Failed to save undefined: The attribute "aria-hidden" was not found on the COMPONENT markup://c:svg, go to the svg or svgicon component and check the attribute name. Sometimes it ....