Creating Public Link from Salesforce File – Share Files to Public from Salesforce Files
1. Open the file. 2. Click Public Link and get the generated URL to share the file.
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 ....
Admins can set Default On, Default Off and Tab Hidden. End users can personalise the below actions on Tabs in Navigation Bar 1. ReOrder 2. Add 3. Remove To Reset, ....
Sample Code: HTML: <template> <div class="slds-p-around_medium lgc-bg"> <lightning-tree-grid columns = {gridColumns} data = {gridData} key-field = "Id" hide-checkbox-column = true> </lightning-tree-grid> </div> </template> JavaScript: import { LightningElement, track, ....
Sample Apex Class: public class ApprovalProcessController { public static Approval.ProcessResult submitForApproval( Id recordId ) { Approval.ProcessSubmitRequest req1 = new Approval.ProcessSubmitRequest(); req1.setComments( 'Submitting request for approval' ); req1.setObjectId( recordId ); Approval.ProcessResult ....
Sample Code: String str = 'abc-xyz-123';List < String > strList = str.split( '-' );System.debug( 'List String is ' + strList ); Output:
1. What is Salesforce SOS?What is Salesforce SOS?System of systems (SOS) Add SOS to your native Android or iOS mobile app so that your customers can connect with agents via ....
Salesforce Lightning Design System(SLDS) classes can be used to align lightning-button in Salesforce Lightning Web Component. Sample Code: Lightning Web Component HTML: <template> <div class="slds-clearfix"> <div class="slds-float_left"> <lightning-button label="Left" class="slds-m-left_x-small"> ....
Service contracts Service contracts are agreements between you and your customers for a type of customer support. Service contracts can represent different kinds of customer support, such as warranties, subscriptions, ....
Apex Class: public with sharing class AccountController { @AuraEnabled( cacheable = true ) public static List< Account > fetchAccounts( String searchKey ) { String strKey = '%' + searchKey + ....