Report PDF writer and knime hub

Hi!

Im building an scheduled PDF report send to Knime hub and I have a problem with the pdf creation before sending. I’m using the following configuration, and it works great in my local environment (create pdf file, and pass it as a variable).

I cannot figure out how to do this on knime hub. When I change the create temp folder to knime hub, the Report PDF writer fails, looks like it is still trying to access my local drive. Any ideas how to get this to work?

Hello @Data_consumer ,
Once you created the temporary folder and converted the path to a string, did you overwrite the path with the flow variable in the report PDF writer?

Could you please send a screenshot of the Create Temp Folder node configuration window and the config window for the Report PDf Writer node as well?

Thanks,
Sanket

Hi Sanket!

Here are both screenshots. Thanks!


Hello @Data_consumer ,
Currently, the Report PDF Writer takes only the OS-dependent path or a KNIME URL.

To write the file to a Hub space, as seen from your screenshot, we would first need to connect to the Hub using the authenticator and connector nodes and then use the PDF writer using that particular file system connector, which does not exist for now.

In this case, I could suggest an alternative to write relative to the workflow or workflow data area.

Let me know if this helps.

Thanks,
Sanket

1 Like

My personal recommendation is to use our Labs nodes. My team is using them in production every day.

You can find an example here: Send Report by Email – KNIME Community Hub

3 Likes

Thanks @sanket_2012 and @Iris!

I will check these beginning of next week and post the outcome :slight_smile:

Enjoy the weekend!

2 Likes