December 2020

Salesforce

Sharing Button URL in Salesforce

Account Sharing URL:https://YourDomin.my.salesforce.com/p/share/AccSharingDetail?parentId=IdOfAccount Case Sharing URL:https://YourDomain.salesforce.com/p/share/CaseSharingDetail?parentId=IdofCase Lead Sharing URL:https://YourDomain.salesforce.com/p/share/LeadSharingDetail?parentId=IdOfLead Opportunity Sharing URL:https://YourDomain.salesforce.com/p/share/OppSharingDetail?parentId=0065w000025ZJXy Custom Object Sharing URL:https://YourDomain.salesforce.com/p/share/CustomObjectSharingDetail?parentId=a065w00000iSO8a Example for Custom Object Sharing URL: To learn more about sharing, please check - ....

Salesforce

How to check and uncheck check box lightning:input in LWC in Salesforce?

Sample Code: HTML: <template> <div class="slds-theme--default slds-p-around_large"> <lightning-input type="checkbox" label="Basic option" checked={showBool}></lightning-input><br/><br/> <lightning-button variant="brand" label="Uncheck" onclick={hide}></lightning-button> </div> </template> JavaScript: import { LightningElement } from 'lwc'; export default class Sample extends ....