Did you fill out the onDownload method? From the documentation:
onDownload
Use this method to save a downloaded item from the web. Be sure to add this method before the gotoURL method or prior to invoking a download link.
file - The path and filename of the item to be downloaded.
output - An existing context property to return the download results to or flow output (default). When using a flow output, the download results will be in msg.payload.
Yes I tried that. It is not a direct url or link. It runs a JavaScript and
opens a new window for the download link.
I need to download the file opened in the new window.
Did you fill out the onDownload method? From the documentation:
onDownload
Use this method to save a downloaded item from the web. Be sure to add
this method before the gotoURL method or prior to invoking a download link.
file - The path and filename of the item to be downloaded.
output - An existing context property to return the download results to
or flow output (default). When using a flow output, the download results
will be in msg.payload.
A big thumbs-up to the contributers for this amazing node. Makes life a lot easier.
I am not able to understand how to download a file which gets downloaded after clicking the element which is formatted as follows.
`
Export as CSV
This would, after 4-5 seconds start the download in a new pop up window. How can save the downloaded csv?
Did you fill out the onDownload method? From the documentation:
onDownload
Use this method to save a downloaded item from the web. Be sure to add this method before the gotoURL method or prior to invoking a download link.file
- The path and filename of the item to be downloaded.output
- An existing context property to return the download results to or flow output (default). When using a flow output, the download results will be in msg.payload.Yes I tried that. It is not a direct url or link. It runs a JavaScript and opens a new window for the download link. I need to download the file opened in the new window.
On Tue, Jul 23, 2019, 08:48 Stephen J. Carnam notifications@github.com wrote:
Your best bet is to determine the URL it is attempting to open in a new window and use gotoURL, after the onDownload method.