Skip to main content

In FME version 2023.1. We can keep the attribute field order after schema scanner for most of dataset.

But for the attached dataset, we can't keep the attribute field order after schema scanner.

Is any problem in my dataset?

The fmw is attached also

Thanks

Ok so as I understand it the schema scanner will preserve order if it knows which order they attributes should be in.

 

From looking at your workspace the Reader in there was created with from a different dataset with a different schema (the attributes exposed there do not match what is in the actual dataset.

 

If you add a new reader and use the Dataset and XSD you provided then the SechemaScanner creates the correct order.

 

Here you can see the difference between when the attributes are exposed vs not

 

Exposed:

image 

Not Exposed:

image 

Theres a good little video which explains some of this stuff which might help

 

https://www.youtube.com/watch?v=_MoalhW8zlA&t=212s


Thanks, I tried to create reader from the dataset, But the field order can keep only if I select Individual Feature Type. But we can prepare a work flow by dataset. We need a general work flow for all dataset.

What should I modify in this dataset in order to use this general workflow and keep attribute field order

 


Reply