0

I tried playing around with Lightning Message Services as per the release note. Created a LWC to publish message on the message channel, and a VF page to listen to it. Also the other way around. I am not able to receive or view any messages on either side, when I subscribe to the channel. I am simply following the example given on the release note (https://releasenotes.docs.salesforce.com/en-us/spring20/release-notes/rn_lc_message_channel.htm). Has anyone done this successfully?

4
  • I'm working with this right now and have a working aura-VF example. I know you've said you're copying the code from the example, but maybe paste your code in here so we can take a look.
    – pchittum
    Feb 29 '20 at 7:47
  • 1
    Peter, thx for your reply. I am able to get it working. I was mixing up the code examples from Winter 20 developer preview, Spring 20 and a few other blogs. No issues in the code given in examples.
    – KLab
    Mar 2 '20 at 20:11
  • 1
    FYI, you can answer your own question. Maybe you'll save others from the same. :-)
    – pchittum
    Mar 3 '20 at 17:27
  • I have created one demo: newstechnologystuff.com/2020/03/22/… Mar 23 '20 at 6:50
0

I am able to get it working. I was mixing up the code examples from Winter 20 developer preview, Spring 20 and a few other blogs. No issues in the code given in examples from Salesforce. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.