Skip to main content

Hi all,

I'm working on a project to automate transformation of more than 50 layers.

Just wondering is there any way I can get the list of attributes and types from each layer and compare it with another list to make sure it has fields and fields have types I'm expecting?

You'll want to look at the Schema reader, which will produce a list with the attribute names and types.

attribute{}.fme_data_type

 

attribute{}.name

 

attribute{}.native_data_type

I tend to use python to compare two lists, but you could explode the attribute list and use a ChangeDetector.


Reply