Hi,
Thanks for the quick reply! This kind of works but I actually wanted to show the spreadsheet in another window altogether instead of a dialog.
The flow can be like - I click on a button which triggers the downloading of the file from the server and then opens the spreadsheet in a different tab.
Opening of a new tab for viewing a spreadsheet is what I want to implement. Is this possible?