Solved

How to disp[lay CSV file Name in CSV reader?


Badge

HI,

I am using CSV Reader to migrate data into Smallworld. Actualy i have 11 types of CSV files names as

1. CSV point.csv.

2.CSv Road.csv

3.CSV park.csv

4.CSV building.csv

5.CSV pole.csv......etc

when i try to create CSV reader it displays "CSV"in CSV reader. As bellow

Actual name of the CSV file is "CSV pole.csv" but it displays only CSV.

I want file name in that reader. How can i get that csv file name on CSV reader. I want to configure all the 11 csv files in single workbench. How can i configure all.

Thanks in advance for your help.

icon

Best answer by takashi 5 April 2016, 07:30

View original

4 replies

Userlevel 2
Badge +17

Hi @mahendra30627, select "Feature Type from File Name(s)" option in the CSV reader parameters dialog when you add the reader to the workspace.

Badge +10

Hi @mahendra30627, select "Feature Type from File Name(s)" option in the CSV reader parameters dialog when you add the reader to the workspace.

Is it possible to set this as a default somewhere within FME?

Userlevel 2
Badge +17

Is it possible to set this as a default somewhere within FME?

Yes. Check the "Save as My Defaults" command in the bottom of the parameters dialog. I have set this when the default feature type name "CSV" has been introduced, maybe 2013 or 2014.

Badge

Hi @mahendra30627, select "Feature Type from File Name(s)" option in the CSV reader parameters dialog when you add the reader to the workspace.

Thanks takashi

Reply