Questions tagged [lightning-message-channel]

For questions related to the lightning message channel aura component functionality, for the lwc equivalent, use the lightning message service tag

Filter by
Sorted by
Tagged with
1 vote
2 answers
109 views

Incorrect data displayed in lightning datatable

I have a LWC which takes value from 3 input fields and passes the value to a separate component with lightning datatable via LMS. I am able to pass the data for the first time but when I try to repeat ...
code234's user avatar
  • 186
0 votes
0 answers
110 views

When Subscriber placed in record page Lightning Message Service (LMS) not receiving messages between different Apps

I was trying to implement Lightning Message Service. But for some reason, the message is getting published but not reflected in the subscriber module. It is not throwing any errors not even in the ...
user2943892's user avatar
1 vote
0 answers
80 views

Salesforce managed package security review

We had submitted our managed package for security review and it had failed multiple times. In the latest failure report , below vulnerability is reported which does not have any public documentation. (...
Rohit's user avatar
  • 1,734
1 vote
3 answers
434 views

lightning__commerce_cartChanged channel is not updating the amount of cart items in the LWR site

I'm currently in progress with migrating from Aura B2B Store to LWR Site, custom components for adding products to cart publish messages to lightning__commerce_cartChanged channel as described here: ...
Eugene's user avatar
  • 13
0 votes
0 answers
80 views

Error deploying or retrieving source for <LghtningMessageChannel> by manifest folder

I have to deploy a messagechannel folder where there is a tag <LightningMessageChannel>which I have to add at the manifest folder and at package.xml. Now when I am deploying the below error is ...
SOMANKAR CHAKRABORTY's user avatar
0 votes
1 answer
139 views

Lightning Messaging Service, Send data Bidirectionally using one Messaging Channel

Hi I am trying to send information from Component A to Component X and X to A. I was able to first get the data to send from A to X however upon implementing X to A (which works) A to X no longer ...
Aaron's user avatar
  • 3
0 votes
2 answers
1k views

Retrieve(get) the data from another component LWC

I want to retrieve(get) the data of another component. What I want to do is: Get the data from 'iHaveData_cmp' component, and show it in 'iWantData_cmp' component. I've tried this.template....
missinghome's user avatar
1 vote
2 answers
977 views

LMS Subscribe Not Working - Message is not received

I have created LMS to pass the payload between 2 LWC. Message payload is published but payload is not getting received on the subscriber component. Publish LWC is located on Opportunity Record Page. ...
Rose 's user avatar
  • 121
7 votes
1 answer
969 views

Refresh LWC when related list is updated or related file is deleted

I have a custom LWC on a record detail page. This LWC displays files related to the record. I cannot use the standard Files related list because I only want to show files of type jpg, jpeg and png. To ...
Nikhil's user avatar
  • 71
2 votes
1 answer
334 views

Pushing LightningMessageChannel fails with "Cannot read properties of undefined (reading 'split')"

I'm trying to create a custom LightningMessageChannel to use in my aura component. I followed the documentation and created a file for the message channel: main/default/messageChannels/...
Rink Stiekema's user avatar
1 vote
1 answer
798 views

lightning message service not working

I'm using Lightning message service to pass message from LWC to another LWC.Both components are custom components used in community pages. The message is not being sent to the other component. ...
jojo's user avatar
  • 89
1 vote
1 answer
2k views

MessageChannel not working

I am testing out Message Channel feature. I have a very simple code which is not working: Component 1: <template> <lightning-card title="Publish Experiment" icon-name="...
DevelBase2's user avatar
1 vote
1 answer
259 views

Trying to pull parameters from a LMS Message getting null

I am trying to pull 2 parameters from an LMS message. Currently they are coming in as null at the way I am grabbing them. The publish and subscribe methods work, as I threw console statements to track ...
Tristan Berger's user avatar
0 votes
0 answers
72 views

LMS retrieval/update lags 1 click behind

It seems that the component relying on the URL update doesn't get the correct mediaId from the URL. The first click gets the Something went wrong.... <template>, then each following click is 1 ...
Tristan Berger's user avatar
0 votes
1 answer
236 views

LWC changes updates Aura, BUT Aura changes does not updates LWC

I have a scenario where two components an Aura and a LWC were included via Object Record Type. They are placed according to the image below. I'm facing a problem. All the interactions done in LWC ...
Olavo Alexandrino's user avatar
1 vote
0 answers
604 views

Can I have multiple instances of the same component using a Lightning Message Service channel?

If I create an lwc app component that uses an LMS message channel, will I run into problems if I have multiple instances of that app in a record page? By problems, I mean all instances of the ...
Drew's user avatar
  • 41
0 votes
1 answer
762 views

Channel Menu Settings File Not Working

I am trying to set up a channel menu to group our communication channels together for customers. However, our embedded service chat has quite a few customizations I need to carry over, and I am ...
CMielczarski's user avatar
0 votes
0 answers
560 views

probleme while Create Message Channel

i am trying to create a Message Channel so i can finish the trailhead superbadge : i created an XML File : <?xml version="1.0" encoding="UTF-8"?> <...
user105780's user avatar
0 votes
1 answer
2k views

Use message channel in both direction

I am using message channel to communicate between 2 lwc and both lwc must send and retrieve data. So i am passing value to subscriber and after that to publisher. How can i do it? Do i need to create ...
Wenakey's user avatar
1 vote
1 answer
858 views

LMS send multiple message to one component

I need to send multiple message into one component via Lightning message system using one message channel.Is it possible or i must use multiple message channel? I tried to google, but didn't found ...
Terdivi's user avatar
  • 51
0 votes
0 answers
597 views

embedded_svc.menu.settings.directToButtonRouting Possible?

I have used the following code before for Live Chat and it's working fine to direct to a button ID based on the Pre chat question customer answers. Now, this code seems to be not working when I ...
regidsites's user avatar
2 votes
1 answer
213 views

Using several LWC's in another system using Lightning out

I have a managed package with a custom lightning page and several LWC's placed on it. And I need to know Do we have the possibility to place this lightning page using "lightning out" into ...
Vitalii Dehnerys's user avatar
1 vote
1 answer
361 views

Suscribe to LMS published from an LWC in other package namespace

In a Managed Package, am publishing a message using a Lightning Message Channel in a Lightning Web Component. I want to be able to suscribe to this Lightning Message Channel from a Lightning Web ...
Gabriel Serrano Salas's user avatar
1 vote
2 answers
5k views

Error deploying Message Channel

I have created a message channel in VS Code. When I attempt to deploy from the package.xml file I receive this error: "No source backed components present in the package". When I attempt to ...
user82573's user avatar
6 votes
2 answers
1k views

Best practises with Lightning Message Service

As an ISV, I need to establish communication between LWC and Visualforce page. I am planning to leverage LMS and I have 2 questions: Which are the best practices regarding Lightning Message Channels? ...
Gabriel Serrano Salas's user avatar