Skip to main content
Question

Using a % symbol in a choice type parameter


ebygomm
Influencer
Forum|alt.badge.img+31

Is it possible to use a % symbol in a choice type parameter?

e.g. if i wanted the parameter options to be %y%m%d or %d/%m/%Y

3 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 18, 2019

I cicrumvent the problem by using choice with alias.

The alias i then use for further control.


ebygomm
Influencer
Forum|alt.badge.img+31
  • Author
  • Influencer
  • June 18, 2019
gio wrote:

I cicrumvent the problem by using choice with alias.

The alias i then use for further control.

I'm not able to use a % in either the display name or the value in the choice with alias


Forum|alt.badge.img+2

Hi @egomm,

Unfortunately the GUI for Choice parameters is not properly handling that character as it is used as the separator between different choice values so currently setting %Y%m%d will become three choices: Y, m and d. I have raised issue FMEDESKTOP-9147 to request this is fixed.

As a workaround I would suggest using a different symbol and then using a ParameterFetcher > StringReplacer in your translation to rectify this.


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