Button properties

A button performs a specific task when a user clicks it, such as saving information or closing a form. Infor Public Sector provides a variety of standard buttons and a blank button that you can personalize.

General

Property Description
ID (advanced) Identification code for the button.

You cannot change the IDs of the out-of-the-box controls.

You can change the IDs that Infor Public Sector generates for agency-defined controls, but we recommend that you use the default values.

Access

PropertyDescription
ViewAccessId (advanced)Access ID for the permission that users must be granted that users must be granted to view the button.
ViewAccessPath (advanced) Path of the permission that users must be granted that users must be granted to view the button.

The access path is an alternative to the access ID. For example, the access ID for the permission to create a work order is 8434, and the path is Work Management/Work Order/Create Work Order.

Appearance

PropertyDescription
ButtonCssClassClass name that defines the image that is displayed on the button.
ButtonTextText that is displayed on the button.
TooltipTextTooltip that will be displayed when a user hovers over the button.
GroupName (advanced)Group that the button belongs to.

Behavior

PropertyDescription
ValidatesPageControls Indicates whether Infor Public Sector will validate the data entered on the page when a user clicks the button.
PredefinedTypeType of button you want to add to the page. You can select from a list of predefined types, each with a set image and default rules for the button, or you can select NotAPredefinedType to define your own rules.

See Predefined button types.

Enabled (advanced)Indicates whether the button is enabled for user interaction.
FollowsAfter (advanced)ID of the control that the button follows in the page's tab order.

Layout

PropertyDescription
Left (advanced)Position of the left edge of the button, in pixels.
Top (advanced)Position of the top of the button, in pixels.
Note: When you add a button to a toolbar, you must set the value of this property to 0. Otherwise the button will not be displayed correctly in the toolbar.

Rules

PropertyDescription
ValidationFormulaSee Validation.
ClickRuleId (advanced)Method that will be executed when a user clicks on the button.

See Rules.

JavaScriptRule (advanced)JavaScript that will be executed when a user clicks on the button.
ServerRuleParameter (advanced)Parameter to be sent to the server when the rule defined for the button is executed.

Value

PropertyDescription
Context Menu Lists the options that will be displayed in the popup menu when a user clicks on the button. For example, an Action button typically shows a list of actions that users can perform on selected records. When you click the “Context Menu” button, Infor Public Sector shows the Context Menu Collection dialog box, which you can use to define the available options.