Fields – Command

A command field allows the user to bind a specific command/event/wizard to a button on the field. Additionally you can bind one of the command bar buttons to this component to perform the same action but just have the button in the form instead of the command bar.

Here is an example of the command field:

An example command button, showing the label above and the button with the text “test command 1”

If the command selected in the field definition cannot be executed in the forms current state this is what will be displayed:

An example of the same command as the previous image, with a message instead of the button visible to indicate that the command cannot be executed in the form’s current state

Below is the field definition for a command:

The Action Type determines if the Command/Event/Wizard will be executed or you intended to replicate a command bar button.

The Command/Event/Wizard field in the field definition will have a dropdown that contains ALL available commands, events, and wizards for that form. Select the one you wish to bind to a button and on the form if the command/event/wizard can be executed in the forms current state then the button will be visible. Once the button is clicked the command/event/wizard will be executed.

The Custom Button Text field allows you to alter the text displayed on the button. If this field is left empty then the name of the selected item will be used instead.

The Command Bar Action field determines which command bar button you want to replicate and use in this field.

IMPORTANT NOTE: The command bar buttons will still follow the visibility rules imposed on the command bar, for example if there are no changes to save the save button will not be visible. In this case if you’re replicating the save button it will not display until there is something to save.

Updated on September 26, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment