Skip to main content
Solved

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

  • April 5, 2016
  • 4 replies
  • 133 views

Forum|alt.badge.img

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.

Best answer by takashi

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

takashi
Celebrity
  • Best Answer
  • April 5, 2016

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


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • April 5, 2016

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?


takashi
Celebrity
  • April 5, 2016

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.


Forum|alt.badge.img

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