Csv file

Does anyone know how to display the contents of a CSV file to the output panel in studio?

1.) Use a Read CSV activity to read in the file to a datatable.
2.) Use an Output Datatable activity to send the datatable to a string variable.
3.) Use a Write Line activity to display the contents of the string variable in the output panel.

Hi, welcome to the community!
Or if you just want to see exactly how the original csv file is:

  1. Use a Read Text File activity and read it to a text variable
  2. Use a Write Line activity to display the contents of that variable in the output panel

what would i put as the default value for my output datatable variable cause right now when i put the Output datatable activity under the read CSV activity it says “value for required argument “datatable” was not supplied”?

You need to create a variable of type Datatable and use that as the output parameter. This will also be your input parameter to Output Datatable.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.