Hi,
I have a QAction associated with a button in my protocol that generates a file for download. The QAction logs show the following:
<code>ManagedInterop|INF|-1|7|Checking debug package status... Attempt 2 ManagedInterop|INF|-1|7|Checking debug package status... Attempt 3 ManagedInterop|INF|-1|7|Checking debug package status... Attempt 4 ManagedInterop|INF|-1|7|Checking debug package status... Attempt 5 ManagedInterop|INF|-1|7|Checking debug package status... Attempt 6 ManagedInterop|INF|-1|7|Debug package is ready: /debugpackage/debugpackage_2025-05-29T03:31:57.509362Z.zip ManagedInterop|INF|-1|7|Debug package URL: http://172.28.20.201/debugpackage/debugpackage_2025-05-29T03:31:57.509362Z.zip </code>
How can I allow users to download the file directly from Cube after it's generated?
Is it possible for my QAction to open a web browser automatically with the generated URL (e.g., http://172.28.20.201/debugpackage/debugpackage_2025-05-29T03:31:57.509362Z.zip
)?
Thanks!
Hi Jose,
In case the url where your document is stored is already accessible from your client machines (so if you navigate to it directly in your browser), you can just fill in the full url in a parameter (so setting a parameter with value 'http://172.28.20.201/debugpackage/debugpackage_2025-05-29T03:31:57.509362Z.zip') and then this will be displayed in Cube as a link and the user can click the value to download it.