Button runs query but doesn't download PDF in Parent App only Module

I have a button in a module that triggers a query to download a pdf of the page, using utils.downloadPage({componentsToInclude: [] }). When clicked from directly within the Module, the selected components are downloaded into a pdf. However, when I click this button within the Module from a Parent App, the query runs successfully but doesn't download the pdf. Any insight/advice other than to move the button outside of the module and into the parent app?

Hey @Jade_Van_Horn, linked this post to an internal ticket we have for this issue. Unfortunately there isn't really a workaround, other than placing the button in the parent app. Our team is taking a look at modules overall this year, and this is one of the issues that we will address in that process. I'll update you here when I have any additional information.

1 Like