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
0 votes
0 answers
11 views

Lightning Web Security (LWS) and Message Service (LMS)

I'm trying to get my code to support Lightning Web Security, but when I enable it, my pages with LMS start failing. I commented out everything to do with the message service and the page loaded fine. ...
user avatar
  • 765
2 votes
1 answer
46 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/...
user avatar
0 votes
0 answers
50 views

LMS Pub-Sub between Flow Aura Container and LWC component fails

I'm confronting the issue that the last subscription from LWC fails without any error. Since I needed to pass a complicated object between screen components on different steps in Flow (which are not ...
user avatar
0 votes
1 answer
115 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. ...
user avatar
1 vote
1 answer
337 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="...
user avatar
0 votes
0 answers
32 views

read from message channel on component load

How can I read current message channel data when my component loads. I've a requirement wherein I want to reference the data on message channel whenever the component loads dynamically. I'm ...
user avatar
  • 544
1 vote
1 answer
97 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 ...
user avatar
0 votes
0 answers
54 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 ...
user avatar
0 votes
1 answer
45 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 ...
user avatar
0 votes
0 answers
19 views

Is there a way to know the Publisher details in Lightning Message Channel?

I have 5 lightning web componet on my flex page. One of the components like to maintain the list of components and run some business logic on one of the events? I know I can send the component name or ...
user avatar
  • 1
1 vote
0 answers
177 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 ...
user avatar
  • 41
0 votes
1 answer
299 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 ...
user avatar
0 votes
0 answers
127 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"?> <...
user avatar
0 votes
1 answer
290 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 ...
user avatar
1 vote
1 answer
106 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 ...
user avatar
  • 41
0 votes
0 answers
265 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 ...
user avatar
2 votes
1 answer
62 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 ...
user avatar
1 vote
1 answer
145 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 ...
user avatar
1 vote
0 answers
522 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 ...
user avatar
6 votes
2 answers
586 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? ...
user avatar