Report - Custom File name Variable (Decapricated)

Hi friends

I have created this Report with a custom “name” and used a variable

This image below is my old configuration.
And it still working If I don’t change anything.
image

I’m trying to replicate the same structure in another workflow, but with no success.

*Using the same configuration, doesn’t work
image

image

*This image is: 'I’m trying to config the variable and getting an error.
image
image


I think this is a new config to browser the location, where I can write the file name, but not a custom file name with variable.

image

image

Hello @Felipereis50,

In the new configuration, you need to provide the full file path (including the file name) instead of just the file name. You can use a variable for the file name, but ensure it’s part of the complete path.

Here are the three location options:

  1. Local File System: Absolute path (e.g., C:\Users\Username\Reports\report_name.pdf).
  2. Local Space: Relative to your KNIME workspace (e.g., knime://knime.space/Folder_name/report_name.pdf).
  3. Embedded Data: Within the workflow’s data folder (e.g., knime://knime.workflow.data/report_name.pdf).

Create a variable for the file name and use it to build the full path (e.g., "knime://knime.workflow.data/" + $report_name$).

Hope this helps!

Best,
Keerthan

2 Likes

You’re right…

Now I understand.
I have to create the file “complete name”, before connecting.
Thanks for the idea