Installation
Prerequisites
- b+s Connects for Salesforce package installed and configured.
Integration API in Lightningcheckbox is enabled in the b+s Configuration in use.
Create the Lightning Message Channel
With the enhancement of Salesforce security features, the responsibility for creating and maintaining Lightning Message Channels now lies with Org Administrators. These channels are required to enable communication between Lightning components loaded within the DOM. The b+s Components require a Lightning Message Channel to communicate with the base connector.
Follow the official Salesforce documentation to deploy the LMC in your Org.
Alternatively, you can use your own tools for this purpose.
Code Example
messageChannels/messageChannelName.messageChannel-meta.xml
<?xml version="1.0" encoding="UTF-8"?>
<LightningMessageChannel xmlns="http://soap.sforce.com/2006/04/metadata">
<masterLabel>[CHANNEL NAME]</masterLabel>
<isExposed>true</isExposed>
<description>[CHANNEL DESCRIPTION]</description>
</LightningMessageChannel>
Only one Lightning Message Channel is required to support messaging across all components.
Deploy components
Follow the official Salesforce documentation to deploy the b+s Components in your Org.
Alternatively, you can use your own tools for this purpose.