I have a workspace which reads rows from an excel file and writes the same rows to an other excel file using dynamic schema definition. Gets the schema from the excel file which is read. My problem is that the first row that is read is skipped in the writer. In the attached example the output will only contain the second row of TestExcelWriter.xlsx
Solved
Dynamic excel feature writer skips first row
Best answer by takashi
The dynamic writer (Schema Sources: Schema from Schema Feature) would not write the first feature into the destination dataset, if it has an attribute called "fme_schema_handling" with the value "schema_only", which the schema feature output from the <Schema> port contains.
I don't think you need to use the FeatureMerger. You can just send the schema feature and data features to the writer feature type separately.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.