Newer Version Available

This content describes an older version of this product. View Latest

Considerations and Limitations

Keep the following in mind when working with Lightning Message Service in Visualforce.
Considerations
Lightning Message Service does not work for Visualforce's sforce.one library when pages are loaded in the Chatter Publisher that uses <chatter:feed showPublisher="true"/>. Use the native Lightning Publisher instead.

Lightning Message Service does not work in Visualforce pages that are included in Lightning Experience via iframes, including <wave:dashboard>, <apex:iframe>, and the standard HTML <iframe> tag. Instead, add Visualforce pages through the Lightning App Builder or as a utility bar item.
Visualforce only supports LightningMessageChannels where isExposed is true. See LightningMessageChannel in the Metadata API Developer Guide for more information.
Lightning Message Service does not work outside of Lightning Experience, such as Salesforce Classic or when previewing Visualforce from Setup.
Limitations
In the beta release, don't include message channels in packages that you publish on AppExchange.
The Lightning Message Service API doesn’t support the following experiences:
  • Salesforce Mobile app
  • Lightning Out
  • Lightning Communities
  • Visualforce record overrides