Skip to main content
Solved

Attribute Name User Parameter issue FME Desktop 2019.1

  • Jul 24, 2019 11:55 AM UTC
  • 6 replies
  • 136 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.

View original
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
  • Jul 24, 2019 1:15 PM UTC

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


david_r
Celebrity
  • Jul 24, 2019 1:17 PM UTC

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
  • Jul 24, 2019 1:50 PM UTC

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
  • Jul 24, 2019 1:53 PM UTC

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
  • Jul 24, 2019 1:53 PM UTC

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
  • Jul 24, 2019 2:12 PM UTC

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

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