How to call pxGenerateExcelFile without Launch new window

Hi all,

I call pxGenerateExcelFile from an activity named DownloadtoExcel. the process would be succesed only when I call the DownloadtoExcel from button on section use action set Open URL in Window. And it will open new blank window when I click the button.

Is is possible to call DownloadtoExcel with another action set? the expected is when I click button download, it will not open new blank window instead it will download the file on the same page

Thank you

@Intandhp

Another approach is launch new windows to download and use Show-Stream method to load HTML have javascript to auto close new window

Hi @LATHAN(ラン),

Thank you for your reply. I also can use Open URL window, and in the window name I type “_self”