function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ming Liu 9Ming Liu 9 

Emp API doesn't work when the lwc is embedded in vf page

Hi guys,

I followed Emp API (https://developer.salesforce.com/docs/component-library/bundle/lightning-emp-api/documentation), and it works in lightning experence.
But it doesn't work when I embedded it in a vf page.

I have used <apex:includeLightning />, and debuged into subscribe function. No error, and nothing happens.
Emy PaulsonEmy Paulson
I am also facing the same issue.