Salesforce

Salesforce

How to pass data from one LWC to another in Salesforce?

Sample Code: sample.messageChannel-meta.xml: <?xml version="1.0" encoding="UTF-8"?> <LightningMessageChannel xmlns="http://soap.sforce.com/2006/04/metadata"> <masterLabel>Sample</masterLabel> <isExposed>true</isExposed> <description>This is a sample Lightning Message Channel.</description> <lightningMessageFields> <fieldName>variable1</fieldName> <description>Variable 1</description> </lightningMessageFields> </LightningMessageChannel> component1.html: <template> <lightning-card title="Component 1"> <lightning-button label="Publish" ....

Salesforce

Salesforce Org Compare

1. Salesforce Org Compare - https://sforgcompare.herokuapp.com/ 2.  Copado - https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B3dgGEAR3. GearSet - https://gearset.com/blog/understanding-your-org-comparison/ 4. VS Code - https://marketplace.visualstudio.com/items?itemName=chuckjonas.salesforce-diff

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 - ....