Skip to main content
Solved

Excel: read schema via user parameter

  • September 16, 2019
  • 7 replies
  • 67 views

Forum|alt.badge.img

I need to read an Excel spreadsheet. I use user defined parameters to set a filename and a sheet name.

This is a simplified workflow:

This is a parameter I use:

 

and this is schema settings for FeatureReader

 

It gives me the following error:

 

Here is my test example

Best answer by takashi

Hi @victorddt, it doesn't seem that the FeatureReader treats the feature type name "INPUT" well. I would recommend you to contact Safe support to clarify what happened FME internal.

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.

7 replies

takashi
Celebrity
  • Best Answer
  • September 17, 2019

Hi @victorddt, it doesn't seem that the FeatureReader treats the feature type name "INPUT" well. I would recommend you to contact Safe support to clarify what happened FME internal.


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • September 17, 2019

Hi @victorddt,

Strange just trying to read the xls with a reader results in an error, possibly there is something wrong with the file you have provided. (using FME 2019.1.0.0)


Forum|alt.badge.img
  • Author
  • September 17, 2019

Hi @victorddt,

Strange just trying to read the xls with a reader results in an error, possibly there is something wrong with the file you have provided. (using FME 2019.1.0.0)

Hi @itay. I use the same FME version. Have you tried my test file? It's attached below.


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • September 18, 2019

Hi @itay. I use the same FME version. Have you tried my test file? It's attached below.

Hi @victorddt, Yes that's the one I have used to try the workspace and a completely new workspace just trying to read the xls file.

Saving the file with INPUT2 seems to solve the problem, So I guess @takashi had it right the all time :)


fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • September 19, 2019

Hi @victorddt, it doesn't seem that the FeatureReader treats the feature type name "INPUT" well. I would recommend you to contact Safe support to clarify what happened FME internal.

Hi @victorddt Yes, INPUT isn't a valid sheet name. I've filed FMEENGINE-61539 about this.


Forum|alt.badge.img
  • Author
  • September 20, 2019

Hi @victorddt, it doesn't seem that the FeatureReader treats the feature type name "INPUT" well. I would recommend you to contact Safe support to clarify what happened FME internal.

@danatsafe Thank you for registering the ticket. I have tried to change the sheet name from "INPUT" to "MYDATA" and update the parameter and Excel accordingly.

Same result - I can see only "no schema" list.


fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • September 20, 2019

@danatsafe Thank you for registering the ticket. I have tried to change the sheet name from "INPUT" to "MYDATA" and update the parameter and Excel accordingly.

Same result - I can see only "no schema" list.

Hi @victorddt MYDATA works for me. I think you just need to set the Features To Read on the FeatureReader.