Removing destination filename results in console error
Question asked by Travis Riffle - 3/28/2021 at 8:45 AM
Answered
In the parameter collection, I'd like to be able to set the OutputFileName to whatever I want.  When I attempt to remove the default output filename, I receive the following error: 

The component Component : 'JSON Writer 1' needs one of the following setting/connecting. 'Filename' input, 'Default JSON Filename' property, 'Data' output

If I leave a default filename and attempt to set the OutputFileName throught the parameters collection, the file does not save with the name or location that I provide.  

1 Reply

Reply to Thread
0
Liquid Support Replied
Employee Post Marked As Answer
Hi,

In the transform you need to set the 'Default Target file' property for 'JSON Writer 1' to be empty in the properties window, and add an 'Input Parameter' to  'JSON Writer 1' (Right click and select 'Toggle Simple View' to see Filename connection point).

This can be seen at the 2 minute mark in the following demo video :

Please also see the following Knowledge Base Article:

Reply to Thread