Lightning Knowledge in Salesforce
Looks similar to regular objects. Record Types are used for showing different buttons and fields. Agent Search tab helps to search articles. Filters are available in the left pane. Article ....
Looks similar to regular objects. Record Types are used for showing different buttons and fields. Agent Search tab helps to search articles. Filters are available in the left pane. Article ....
To start handling Facebook Messages from the customer in Salesforce, use the following steps for Configuring Facebook Channel in the Setup. 1. Go to Messaging Settings. 2. Click New Channel ....
Make sure get() in the JAVASCRIPT doesn't having undefined value. Check the condition before using get(). Sample Code: var contractNo = component.find("contractNo"); var contractNoValue = contractNo.get("v.value") In the above code, there ....
Sample code: HTML: <template> <lightning-card title={titleWithCount} icon-name="standard:record"> <lightning-button label="New" slot="actions" onclick={createNew}></lightning-button> <div slot="footer"> <div if:true={countBool}> <lightning-button label="View All" onclick={navigateToRelatedList}></lightning-button> </div> </div> <div class="slds-m-around_medium"> <div if:true={listRecords}> <template for:each={listRecords} for:item="rec"> <div key={rec.Id} ....
Sample Code: HTML: <template> <div> <lightning-datatable key-field="Id" data={accountsWithIndustry} columns={columns} hide-checkbox-column="true" show-row-number-column="true"> </lightning-datatable> </div> <div> <lightning-datatable key-field="Id" data={accountsWithoutIndustry} columns={columns} hide-checkbox-column="true" show-row-number-column="true"> </lightning-datatable> </div> </template> JavaScript: import { LightningElement, wire, track } ....
Sample Code: Apex Class: public with sharing class ExampleController { @AuraEnabled(cacheable=true) public static List < Account > fetchAccounts() { return [ SELECT Id, Name, Industry, ( SELECT ....
1. Open the file. 2. Click Public Link and get the generated URL to share the file.
For PopUp using LWC, check the following code. HTML: <template> <lightning-button onclick={showPopUp} label="Show PopUp"></lightning-button> <div style="height: 640px;" if:true={checkBool}> <section role="dialog" tabindex="-1" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1" class="slds-modal slds-fade-in-open"> <div class="slds-modal__container"> <header class="slds-modal__header"> <button ....