Skip to main content
Best Answer

Choice with Alias (multiple) showing extra choices

  • March 18, 2019
  • 2 replies
  • 29 views

mmccart
Enthusiast
Forum|alt.badge.img+28

I am trying to leverage a Choice with Alias (multiple) User Parameter in a custom transformer. When I add the custom transformer to a new/blank workbench and connect it to an data input (CSV), all the attributes also show up for the user to choose from. Am I missing a setting/toggle somewhere?

 

Parameter Setup:

 

What's showing up when custom transformer is added to an empty/new workbench and connected to a CSV input:

 

Why are these attributes from the input showing up in Choice parameter? If I select Choice with Alias without multiple choice, it works properly.

FME 2018.1.1.2 (Build 18586)

 

Thanks.

Best answer by takashi

It seems that a parameter with Choice (Multiple) and Choice with Alias (Multiple) type accepts feature attribute value(s) by default. If you don't want accept attributes, set Off to the Attribute Assignment parameter in the parameter definition.

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.

2 replies

takashi
Celebrity
  • Best Answer
  • March 18, 2019

It seems that a parameter with Choice (Multiple) and Choice with Alias (Multiple) type accepts feature attribute value(s) by default. If you don't want accept attributes, set Off to the Attribute Assignment parameter in the parameter definition.


mmccart
Enthusiast
Forum|alt.badge.img+28
  • Author
  • Enthusiast
  • March 18, 2019

It seems that a parameter with Choice (Multiple) and Choice with Alias (Multiple) type accepts feature attribute value(s) by default. If you don't want accept attributes, set Off to the Attribute Assignment parameter in the parameter definition.

I figured it was something simple. Thanks @takashi!