How to deploy multiple components using in Salesforce SFDX Command?
Sample Command:sfdx force:source:deploy -p "force-app/main/default/classes/AccountListController.cls,force-app/main/default/lwc/example,force-app/main/default/lwc/sample"
Sample Command:sfdx force:source:deploy -p "force-app/main/default/classes/AccountListController.cls,force-app/main/default/lwc/example,force-app/main/default/lwc/sample"
1. Create a Quick Action on Case object with the name Close Case and Action Type as "Update a Record". In the Predefined Field Values, set Status field value to ....
HTML: <template> <lightning-card title = "Search Accounts" icon-name = "custom:custom63"> <div class = "slds-m-around_medium"> <lightning-input type = "search" onchange = {handleKeyChange} class = "slds-m-bottom_small" label = ....
Go to Article Management and make sure the Article is assigned to the Topics.
Sample Formula: IF(YEAR( End_Date__c ) = YEAR( Start_Date__c ) && MONTH( End_Date__c ) = MONTH( Start_Date__c ),0,IF ( YEAR( End_Date__c ) = YEAR( Start_Date__c ),MONTH( End_Date__c ) - MONTH( Start_Date__c ) ....
Exception: FIELD_INTEGRITY_EXCEPTION, You can’t change the completion date on a case milestone that’s already exited an entitlement process.: Completion Date: [CompletionDate] Resolution: Make sure the CaseMilestone is updated before the ....
sample.css: .textCSS { color: red; } .slds-card__header { color: green; font-weight: bold; text-align: center; } .slds-th__action { color: blue; justify-content: center !important; } .buttonCSS ....
We can import the CSS from Static Resource using @salesforce/resourceUrl/StaticResourceAPIName and use it in the Lightning Web Component. LightningCard.css: .textCSS { color: red; } .slds-card__header { color: green; font-weight: bold; ....
In Salesforce Lightning Web Component lightning-datatable, we can sort the records in JavaScript. We can avoid Server Calls(Apex) to sort the records using SOQL sorting. Sample Code: Apex Class: public ....
Sample Code: HTML: <template> <lightning-card title = "{Title}"> <lightning-button label="New" slot="actions" onclick = {createNew}></lightning-button> <lightning-input type = "search" onblur = {handleKeyChange} class = ....