Is there a way to call Lightning actions when embedding Lightning Out in a page outside Salesforce. I wanna call my action or perhaps even set so attribute from script that is separate from Lightning component framework.

I know you can setup an event listener when using Lightning in Visualforce and setup listener in VF via $A.eventService.addHandler.

Is there something opposite?


You can use window.postMessage like it has been described in the following link: https://developer.salesforce.com/blogs/developer-relations/2017/01/lightning-visualforce-communication.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.