Skip to main content
  • 3,379 Posts
  • 13,825 Replies
3379 Posts
Dynamic Feature Writer Transformer

I have a feature writer transformer that exports to .csv. For the dataset parameter and CSV File Name I have an attribute "_dirpath" and "_outputName" that are both dynamical created based on the input and the time.The problem is I want User Attributes to be set to "Automatic" but at the same time there are certain generated attributes that I don't want showing up in the output.I can use an "Attribute Remover" on most of them with the exception of "_dirpath" and "_outputName" as I need them to tell the feature writer where to write the file to. How do I get out of this catch-22 of having "_dirpath" and "_outputName" available to the feature writer but NOT outputting to the file?I tried using "VariableSetter" and "VariableRetriever" to assign the attribute to a Private User param but this does not work as I later read that "FME configures user parameters before starting the translation, and their values cannot be changed in the workflow later." Having a global va

Badge Winners

Show all badges

Community Stats

32,329
Posts
123,142
Replies
40,359
Members