Thanks for reaching out! I am looking into this. The code, utils.downloadPage("test");, is working in my test app
It looks like we have a bug where this doesn't work if there is a stepped container in the app. Is that the case in your app? If so, I'll let you know when we fix that bug. If that isn't what is going on here, let me know, and I'll keep looking into it.
If you are running into this stepped container bug, you should be able to download the rest of the app by excluding that component from the download: utils.downloadPage('test', {componentsToExclude: ['steppedContainer1']} )
My test case is only one single component, a text component with the word "Test" in it. And the javascript query with "utils.downloadPage("test");" and nothing else.
I just set up a test account so I could test the functionality outside of my company's environment and it works. So it must be something with the configuration or version at my company. Do you know the requirements to use this utility?
That is interesting; there shouldn't really be any requirements as long as you're using this code in a JS query Thanks for testing!
It's possible that the issue is specific to the version your company is using. If you can send me the version #, I can do some more testing there. The version info can be found by clicking the ? in the bottom right corner of the Retool editor
I'll send you a private message about setting up a screen share if you're still interested in doing so!