Skip to main content
Solved

Parameter Pick List - How to remove 'blank' value

  • Jul 20, 2017 1:46 PM UTC
  • 4 replies
  • 66 views

Forum|alt.badge.img

Hi,

I am using FME Desktop 2015.1

I have created a Parameter (Choice - Single selection) and populated my pick list with the required values 10,20,30. however, when the parameter is invoked, an 'additional' blank value is also included. Is there a way which I can remove this from the selection options as I do not want someone to make this selection? Admittedly, I could build a series of downstream test to check for the non-value, but if I can avoid having to do this I would prefer to.

Thanks in advance.

Rob

Best answer by zzupljanin

Did you check off Optional checkbox? Also, did you define default value?

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.

4 replies

zzupljanin
Contributor
Forum|alt.badge.img+5
  • Contributor
  • Best Answer
  • Jul 20, 2017 1:59 PM UTC

Did you check off Optional checkbox? Also, did you define default value?


zzupljanin
Contributor
Forum|alt.badge.img+5
  • Contributor
  • Jul 20, 2017 2:03 PM UTC

Did you check off Optional checkbox? Also, did you define default value?

like this...

 


Forum|alt.badge.img
  • Author
  • Jul 20, 2017 2:06 PM UTC

Hi @zzupljanin

Yes, I did both those things.

I have discovered that it was user error! Apologies. A 'blank line' appears in the parameter definition dialog, and also appears when you select the parameter in the navigator window. But when you actually please workbench 'play' and the parameter dialog appears the blank line is not present.

Apologies.

 

Rob


Forum|alt.badge.img
  • Author
  • Jul 20, 2017 2:20 PM UTC

Hi @zzupljanin

So when you run the process and the dialog fires up then the blank line is not in the drop down (it was misleading me as I was making the selection directly, but not actually playing the process.

example2.png

Thanks

Rob