Skip to main content
Question

user parameter optional


Hello,

 

 

I have a bunch of shapefiles as inputs but i'm not using them all everytime, so i put them as Optional in the User Parameter.

But i get this message : "Shape Reader: Failed to open dataset 'T:\\Test\\\\SHP\\test.shp' which is neither an existing file nor directory" when i run my script using a python script.

Eventhough the shapefile doesn't exist, since it's set as optional, FME should ignore it, no ?

 

How can I make it work please ?

2 replies

pratap
Contributor
Forum|alt.badge.img+11
  • Contributor
  • October 8, 2015
Try setting "Ignore failed readers" to "Yes" in the Navigator under Workspace parameters -> Advanced.

  • Author
  • October 8, 2015
Awesome ! I didn't about this parameter !

 

Thanks a lot !

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