Skip to main content
Question

User parameter for reader path


My workflow regularly compares files stored at path X with prefix Y with files stored at path Z with prefix Y. I'd like to set up the workbench in such a way that I'd copy the workbench for a project and only have to edit the Y parameter for it to read in the required files, i.e.

Read: $(Path_to_X)/($Prefix_Y)*.csv

Read: $(Path_to_Z)/($Prefix_Y)*.csv

 

Can this be done, and if so, how?

Thanks!

redgeographics
Celebrity
Forum|alt.badge.img+49

Yes, pretty much exactly as you have described.

 

When FME adds readers it will automatically create user parameters for them. By unlinking those and then editing the paths used by the readers to use my own parameters I got it to work:

Schermafbeelding 2022-07-06 212844So this reader will read C:\\FMEData2021\\Data\\Emergency\\Crime.csv

 


@redgeographics Thanks for your reply!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings