Skip to main content
Best Answer

Attribute Name User Parameter issue FME Desktop 2019.1

  • July 24, 2019
  • 6 replies
  • 68 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

stalknecht
Contributor
Forum|alt.badge.img+22
  • 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

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

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

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

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

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