Question

Using a % symbol in a choice type parameter


Userlevel 1
Badge +10

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

Badge +3

I cicrumvent the problem by using choice with alias.

The alias i then use for further control.

Userlevel 1
Badge +10

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

Badge +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.

Reply