Skip to main content
Solved

Attribute Name User Parameter issue FME Desktop 2019.1


Hi all,

 

I have an issue in new FME. I'm trying to set up User Published Parameter that will give user list of attributes available in workbench. But after choosing a Type: Attribute Name it doesn't see any attributes available. As my input I use shp files.

 

Is it a bug or I didn't do it properly?

Regards

Best answer by stalknecht

This is by design. Parameters are initialized before running the workspace.

View original
Did this help you find an answer to your question?

6 replies

stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • July 24, 2019

This is by design. Parameters are initialized before running the workspace.


david_r
Celebrity
  • July 24, 2019

It's not entirly clear to me, but are you perhaps trying to set the attribute name from within the custom transformer? If so, that is not possible, you can only set the attribute name from the custom transformer instance.

Not possible, I'm inside the custom transformer:

OK, here I'm modifying the settings of the custom transformer instance:


  • Author
  • July 24, 2019
stalknecht wrote:

This is by design. Parameters are initialized before running the workspace.

Thank you for answer. But is there any way to make it possible to define attribute name at the beginning of the process? Column name is not constant so I would like user to insert that name.


  • Author
  • July 24, 2019
david_r wrote:

It's not entirly clear to me, but are you perhaps trying to set the attribute name from within the custom transformer? If so, that is not possible, you can only set the attribute name from the custom transformer instance.

Not possible, I'm inside the custom transformer:

OK, here I'm modifying the settings of the custom transformer instance:

Yes, I created it via Navigator. Because I want to use this in several transformers as Group By choice. Also it need to be chosen by user during running translation.


david_r
Celebrity
  • July 24, 2019
kabinczyk wrote:

Thank you for answer. But is there any way to make it possible to define attribute name at the beginning of the process? Column name is not constant so I would like user to insert that name.

You could consider using a regular text field for the attribute name.


  • Author
  • July 24, 2019
david_r wrote:

You could consider using a regular text field for the attribute name.

OK, inserting User Parameter as text in single apostrophes worked!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings