Download as Text file in Salesforce Lightning Web Component
We can download the content as text file in Salesforce Lightning Web Component by creating an anchor element and making use of the click() method. In this following sample Lightning ....
We can download the content as text file in Salesforce Lightning Web Component by creating an anchor element and making use of the click() method. In this following sample Lightning ....
ProcessInstance object/entity contains the current pending Approval Step. TargetObjectId can be used to get the Approval Step for the record. Using the ProcessInstance, we can query the ProcessInstanceWorkitem object/entity to ....
Exception: Unsupported reference Case.Owner.Email Resolution: Unsupported reference Case.Owner.Email Salesforce Exception is thrown when we try to import the email field of the Case Owner. Case Owner field is a Polymorphic ....
Exception: Labels should have a section and a name Resolution: This exception is thrown when the custom label import in the Salesforce Lightning Web Component declaration is incorrect. Sample Lightning ....
We can make use of SLDS Modal CSS and avoid the popup if we avoid the slds-container CSS class. Please check the following sample Lightning Web Component for reference. Sample ....
embeddedservice_bootstrap.settings.hideChatButtonOnLoad = true; can be used to hide the Salesforce Messaging for In-App and Web chat icon when the Page loads. embeddedservice_bootstrap.utilAPI.launchChat() can be used to launch the Salesforce Messaging ....
In the Embedded Service Deployment for Messaging for In-App Web, we can add the Logo in the Branding section. I have used Asset File in Option 1. Check step 1 ....
We can achieve rows selections across multiple pages when using pagination in lightning-datatable, by storing the selected rows in a variable. Note: Since COUNT() is used in the SOQL. This ....
We cannot hide and show the check box in the lightning-datable for the rows. So, for conditional selection, we can validate the selected rows and throw an error if the ....
Sample Lightning Web Component: HTML: <template> <lightning-card title="Date Validation"> <lightning-layout vertical-align="center"> <lightning-layout-item padding="around-small"> <lightning-input type="Date" label="Start Date" value={startDate} onchange={handleChange} class="slds-p-around_medium"> </lightning-input> </lightning-layout-item> <lightning-layout-item padding="around-small"> <lightning-input type="Date" label="End Date" value={endDate} onchange={handleChange} ....