Posts

Showing posts from September, 2023

salesforceLMS

Image
  LMS - Lightning Messaging Service     It is a way to communicate between unrelated Components. Introduce In Winter 20  We must use the Lightning Message Channel to access the Lightning Message Service API. Ways to access Lightning Message Channel In LWC we can access the Lightning Message Channel with the scoped module    @salesforce/messageChannel.   In Visualforce, we can use the global variable $MessageChannel.    In Aura, use lightning:messageChannel in your component. Create message channel definition with the suffix .messageChannel-meta.XML You can communicate across Dom but within the same lightning page. You can also use Lightning message service to communicate with softphones via Open CTI. You need to create a Message Channel in Visual Code and create a folder named messageChannels Following is way to create a Message Channel  <?xml version="1.0" encoding="UTF-8"?> < LightningMessageChannel xmlns="http://...