Having difficulty understanding how to dynamically pass the headers of any csv to the Metadata Injection step.
I mostly get how it works. However, the examples out there create the field definitions from the 'Meta' tab of a data grid, and pass the column headers via the 'Data' tab of the same data grid. Thus, you have to know the column names, which defeats my purpose.
How can I continue to pass the field definitions from the data grid, but pass the header names dynamically?
Data Grid
step is more appropriate for small static data and illustration purpose. In a production environment, I'd suggest you avoidData Grid
step and useYAML Input
step with which you can easily maintain all configuration in one place. also add the YAML filename as a parameter for more flexibility. – jxc