Hello,
Is there a way to extract the schema automatically from an Excel file when FME Server runs the scheduled workbench?
People who drops the Excel files doesn't change the fields though, only the sheet name.
Thanks.
Hello,
Is there a way to extract the schema automatically from an Excel file when FME Server runs the scheduled workbench?
People who drops the Excel files doesn't change the fields though, only the sheet name.
Thanks.
Best answer by david_r
If you use the FeatureReader rather than the reguler Excel reader, you'll get the schema feature as well as the data features. If you use a single output port, you'll be able to read any Excel file. And since the schema feature comes before the data features, you can analyze the structure of your Excel file before working on the data, e.g. verify the existence of certain fields etc.
Just remember that you'll have to manually expose the attributes in your workspace when using the single output port.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.