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
Property | Description |
---|---|
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
Property | Description |
---|---|
ButtonCssClass | Class name that defines the image that is displayed on the button. |
ButtonText | Text that is displayed on the button. |
TooltipText | Tooltip that will be displayed when a user hovers over the button. |
GroupName (advanced) | Group that the button belongs to. |
Behavior
Property | Description |
---|---|
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. |
ValidatesPageControls | Indicates whether Infor Public Sector will validate the data entered on the page when a user clicks the button. |
IsPrimaryAction | Only one button on a page can be marked as the primary action. If a button is the primary action for a page, then its action is invoked when the user presses Enter on the page. |
PredefinedType | Type 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. |
Layout
Property | Description |
---|---|
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
Property | Description |
---|---|
ValidationFormula | See 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
Property | Description |
---|---|
Context Menu | Lists the options that will be displayed in the popup menu when a user clicks on the button. For example, an Infor Public Sector shows the Context Menu Collection dialog box, which you can use to define the available options. | button typically shows a list of actions that users can perform on selected records. When you click the button,