Execute command without selection input defined

Execute command without selection input defined

J.M.MAY
Explorer Explorer
414 Views
1 Reply
Message 1 of 2

Execute command without selection input defined

J.M.MAY
Explorer
Explorer

Hi guys,

 

I want to set up a command for the UI with several optional inputs. I have BoolValueCommandInputs, StringValueCommandInputs and so on. But as soon as i add a selectionCommandInput, the OK-button in the dialog is grayed (as long as there is no selection done) and can't be clicked. I'm wondering, how to execute the command without the selectionCommandInput - or in other words how to define the selectionCommandInput as optional?

Thanks for your help in advance!

0 Likes
Accepted solutions (1)
415 Views
1 Reply
Reply (1)
Message 2 of 2

nnikbin
Collaborator
Collaborator
Accepted solution

You can use SelectionCommandInput.setSelectionLimits Method with minimum argument set to 0. For precise control you can use ValidateInputsEvent Object.