Solved

Expose attributes in Feature reader

  • 9 May 2023
  • 3 replies
  • 37 views

Badge +3

Hello,

In a model that I am creating, i would to expose attribute in the feature reader automatically . The idea is to use the same model for different dataset. I have seen that is not possible to do it automatically but I would ask you if it's possible to do that using the user parameters. if yes, please, can You explain me how to do?Or if there are some other ways.

The input file is not stored locally and it's a zip file.

 

Thanks to all.

 

Max

 

icon

Best answer by nielsgerrits 9 May 2023, 13:19

View original

3 replies

Userlevel 6
Badge +32

Attributes can't automatically be exposed.

What you can do is write dynamic, using the Schema Feature from the FeatureReader or SchemaScanner.

Badge +3

Attributes can't automatically be exposed.

What you can do is write dynamic, using the Schema Feature from the FeatureReader or SchemaScanner.

Hello @nielsgerrits​,

 

thanks for the help. If I use the schema scanner, how can I pass the result to the feature reader?

Thanks

Userlevel 6
Badge +32

Hello @nielsgerrits​,

 

thanks for the help. If I use the schema scanner, how can I pass the result to the feature reader?

Thanks

It is the other way around, you can feed the schema feature into the featurewriter, which defines the output schema (attributes).

 

Please see Tutorial: Dynamic Workflows.

 

Reply