Skip to main content

Hi everyone,

I’m running into an issue when using the FeatureReader transformer.

When I read a table through the FeatureReader, the attributes are not exposed  However, if I read the same table directly using a normal FME reader (through SDE or GDB), all the attributes are properly exposed.

Is there a setting I’m missing with the FeatureReader that prevents the attributes from being available? Or is this expected behavior when using it compared to a standard reader?

Thanks in advance for any advice!

User attributes are usually exposed, at least if an output feature type is exposed. Do you have a screen shot you can share with us?

If you are reading though the generic port then they usually aren’t exposed. 


By default, output ports are generated one per feature type?

Attributes are unexposed when the generic port is used.



@virtualcitymatt This is how it looks 

 


The features are leaving from the Generic port, this is why they are unexposed.


But i chose one per feature type in my setting 


Is the input dataset an attribute or a parameter? Because if the input is dynamic the outputports are dynamic. But nowadays you can configure the outputports using a file, then set Regenerate to Never and change the dataset to something different.


Yes, both Connection and Features Types to Read are attribute from inititor
 

 


@nielsgerrits I wanted to test your suggestion. I am selecting the dataset but it still sends to the generic port ‘

 

 


Ok. I found the problem it is was not my setting but COM Component which did not allow me to expose the attribut


I think the steps are:

  • Set Regenerate to Parameter change. OK to apply.
  • Configure FeatureReader with a file, set one outputport per feature type, select feature types to read. OK to apply.
  • Set regenerate to Never. OK to apply.
  • Set dataset dynamic, the outputports will now stay as initially configured.