You need to sign in to do that
Don't have an account?
Jarosł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.
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.