javascript window.close() not work in apex vs page popup

原文网址:https://salesforce.stackexchange.com/questions/220675/how-to-close-visualforce-page-opened-as-quick-action-in-lightning-through-javasc

I've eventually found a solution. The following script has to be included:

Then use this line to close the Quick Action window:

Sfdc.canvas.publisher.publish({ name: "publisher.close", payload:{ refresh: "true" }});

 

你可能感兴趣的:(javascript window.close() not work in apex vs page popup)