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
Jarosław KołodziejczykJarosław Kołodziejczyk 

Close component after loading nested iframe.

Hi,

I have problem with founding a solution to close my component modal/window after my iframe visualforce has been loaded - the visualforce is a contentType="txt/xml#Wstawienie.xls" page so it's used just to download it as a xls file.
What i'm trying to achieve is click quick action (component), download file and close the modal/window (or even not show it if that's possible).
I've tried using $A.get("e.force:closeQuickAction").fire();  but it's firing too soon for file to get downloaded.