You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @TheVishnuKumar ,
I was trying to subscribe the platform event in aura component place in a Community Site. I am getting an unsupported error.
Could you please give us any solution?
Same happened, even If I use LWC. The problem must be with the Community Site.
@TheVishnuKumar@Daniel-Deepak-Dev
Any solution ? how to subscribe platform event in lwc for community sites. I tried both emapi and cometD but success messages are coming but not subscribing the events
There's an issue with cometd that's included in this component. I'm not sure if a new version of salesforce surfaced the issue or not. Unzip the static resource and look in cometd.js at line 621 where it says
this._debug('Could not copy transport context into XHR', e);
The problem is the "this" keyword is clobbered by the function and so _debug is not defined. Just comment out the line leaving the catch block empty.
I submitted a pull request to cometd to fix it the right way cometd/cometd#1178
Hi @TheVishnuKumar ,
I was trying to subscribe the platform event in aura component place in a Community Site. I am getting an unsupported error.
Could you please give us any solution?
Same happened, even If I use LWC. The problem must be with the Community Site.
Error Response is
The text was updated successfully, but these errors were encountered: