+ 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.