showRowLevelActions in lightning:listView Example
When we set showRowLevelActions in lightning:listView, on each and every row, we see the action menu to Edit, Delete and Change Owner.
When we set showRowLevelActions in lightning:listView, on each and every row, we see the action menu to Edit, Delete and Change Owner.
Sample Code: <aura:component implements="force:appHostable" > <div class="slds-box slds-theme_default"> <lightning:buttonMenu alternativeText="Toggle menu"> <lightning:menuItem label="Menu Item 1" value="menuitem1"/> ....
Sample Code for String between double quotes: String str = 'a"abc"'; System.debug( 'String between quotes is ' + str.subStringBetween( '"', '"' ) ); Output: Sample Code for String between white ....
\\s is used in Validation rule for blank space or white space in Salesforce. Sample Validation Rule: AND( NOT(ISBLANK(Test__c)), AND(NOT(REGEX(Test__c, '\\d{14}')), NOT(REGEX(Test__c, '\\d{3}\\s{1}\\d{3}\\s{1}\\d{3}\\s{1}\\d{5}')) ) ) This will support only the ....
Apex class: public class USStateCodeController { @AuraEnabled public static List < US_State_Codes__mdt > fetchUSStateCodes() { return [ SELECT Label, State_Code__c FROM US_State_Codes__mdt ORDER BY Label ]; } } USStateCode.cmp: <aura:component ....
1. Go to https://github.com/haripriyamurthy/Deprecated-CustomMetadataLoader. 2. Click Download ZIP. 3. Extract the ZIP file. 4. Create a folder with any name and move the below components alone to the new folder. 5. ....
Sample Code: <aura:component implements="force:appHostable" > <aura:attribute name="oppty" type="Opportunity" ....
Sample Code: <aura:component implements="force:appHostable" > <lightning:listView aura:id="listViewAccounts" objectApiName="Account" listName="AllAccounts" rows="5" showActionBar="false" enableInlineEdit="true" showRowLevelActions="false" /> </aura:component> Output:
1. Click Edit Page. 2. Click Tab on the left and Add Tab on the right. 3. Click Details and select Custom. 4. Enter any Name and click Done. 5. ....
Add the force:hasRecordId interface to a Lightning component to enable the component to be assigned the ID of the current record. The current record ID is useful if the component ....