Newer Version Available
Considerations and Limitations
Keep the following in mind when working with Lightning Message Channel 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
- Do not include a message channel in a package that you plan to install into production orgs. The installation will fail.
- The Lightning Message Service API doesn’t support the following experiences during Developer Preview:
- Salesforce mobile app
- Lightning Out
- Lightning Communities
- Visualforce record overrides