Category |
Name |
Value |
General |
Action Name (Id) |
The action's Id. Must be unique inside the web panel. This property's value will be used when naming events and subroutines generated by this action. It is also used as the control name for the action. |
Type |
Indicates how the action should be rendered in the screen. Available options are:
- Button: Will render the action as a button control. The button may include images before/after its caption, see the "Before/After Caption Icon..." properties below.
See Button actions for more details.
Note: Not available for actions inside standard grids.
- Text: Will render the action as a text block with an associated On Click Event (The resulting appearance is similar to a link).
- Image: Will render the action as an image, which can be chosen via the "Image" property.
See Image actions for more details.
Note: Not available in action groups.
|
Caption |
The text that should be displayed on screen. This property is only used when the action's Type property is set to "Button" or "Text". |
Before Caption Icon Source |
Only used in actions with Button Type. Determines where the "before caption" icon should be loaded from. Possible values are:
- Image: the icon will be loaded from an image included in the KB.
- Iconset: the icon will be loaded from an iconset (for example, font awesome).
|
Before Caption Icon Image |
Only used in actions with Button Type where the Before Caption Icon Source property is set to Image. Contains a reference to the image in the KB that is displayed before the action's caption (inside the button). |
Before Caption Icon Set Icon |
Only used in actions with Button Type where the Before Caption Icon Source property is set to Iconset. Contains a reference to the icon that should be used to displayed before the action's caption (inside the button). This property has an editor where the developer can choose the icon from a list of available icons. |
After Caption Icon Source |
Only used in actions with Button Type. Determines where the "after caption" icon should be loaded from. Possible values are:
- Image: the icon will be loaded from an image included in the KB.
- Iconset: the icon will be loaded from an iconset (for example, font awesome).
|
After Caption Icon Image |
Only used in actions with Button Type where the After Caption Icon Source property is set to Image. Contains a reference to the image in the KB that is displayed after the action's caption (inside the button). |
After Caption Icon Set Icon |
Only used in actions with Button Type where the After Caption Icon Source property is set to Iconset. Contains a reference to the icon that should be used to displayed after the action's caption (inside the button). This property has an editor where the developer can choose the icon from a list of available icons. |
Event Type |
Indicates if the action's event should be an custom event created for it, or if it should be associated with the "Enter" event of the web panel. |
Tooltip |
The tooltip text to be assigned to the action's control. Note: Not applicable for Combobox actions. |
Alternate Text |
Alternate Text that should be associated to the image (only applicable when the Image property is set to a value different from "(none)"). |
Condition |
Should contain a condition which will determine in runtime if the action should appear as disabled or not. See more in Condition property in actions. |
Disable Type |
Indicates which action to perform when disabling an action. Available options are:
Disable: The action's associated control will continue to be shown on the screen, but it will altered visually to indicate that the action is not available.
Hide: The action's associated control will not be visible when disabled.
Note: In combobox actions, this property is not available. When a combobox action is disabled, it disappears from the combobox.
|
No Skip |
When set to true, the action will be shown in the same line as the last one. See NoSkip property.
Important: This property existed until K2BTools 13.2. In K2BTools 14.0 it was replaced by the "Element Relative Position" property.
|
Element Relative Position
|
Allows to configure the position of the element relative to the previous element. The possible values are:
- New row
- Same cell
- New cell
For more information read Element Relative Position property
Note: Only present in Actions inside an Attributes node node.
|
Icon source |
Only used if the action Type is "Image". Determines where the action's icon will be loaded from. Possible options are:
- Image: the icon will be loaded from an image included in the KB.
- Iconset: the icon will be loaded from an iconset (for example, font awesome).
|
Icon Set Icon |
Only used if the action Type is "Image" and its Icon source is "Iconset". Contains a reference to the icon that should be used to display the action. This property has an editor where the developer can choose the icon from a list of available icons. |
Image |
The image to be shown when rendering this action. Only valid if action's Type property value is "Image" and the Icon source property is set to Image. |
Disable Image |
The image to be shown when rendering this action when it is disabled. Only valid if action's Type property value is "Image" and the Icon source property is set to Image. |
Image Column Width |
The width for the column that contains the Action. Only available if the action's Type property is set to "Image" and the action is included as a column in a Grid node. |
Position * |
Determines on which side of the screen the action will be shown.
When associated with a grid, this property's possible values depend on the Basic Layout object used in the web panel. See Using the Position property in actions for more information. Not available when the action is inside a ComboAction.
When not associated with a grid, possible values are:
Warning: The "Position" property was named "Layout" in K2BTools 11.1 and prior versions.
|
Move to overflow menu |
Determines if the action should be shown in an overflow menu. Currently available only in actions with Position = InGrid.
Possible values are:
-
Never: Action is never moved to the overflow menu. This is the default.
-
In Extra Small: Action is moved to the overflow menu in the ExtraSmall screen size.
-
In Small and lower: Action is moved to the overflow menu in the ExtraSmall and Small screen sizes.
-
In Medium and lower: Action is moved to the overflow menu in the ExtraSmall, Small, and Medium screen size.
-
Always: Action is always shown in the overflow menu.
|
Security |
Entity Name |
The name of the entity which will be used to check authorization when entering the web panel. See K2BTools Security Model |
Transaction Name |
The name of the transaction which will be used to check authorization when entering the web panel. See K2BTools Security Model |
Standard Activity Type |
If applicable, the activity type which will be used to check authorization when entering the web panel (standard activity types only). See K2BTools Security Model |
User Activity |
If applicable, the activity type which will be used to check authorization when entering the web panel (user activity types only). See K2BTools Security Model |
Appearance |
Class |
The theme class that should be attached to the action's control. |
Confirm |
Confirm |
Indicates if the user should be prompted for confirmation before executing the action's code. See Confirm property in actions |
Confirm Message Expression |
The message to be displayed to the user when asking for confirmation.Must be between quotes. See Confirm property in actions |
Generate Confirm No Subroutine |
Set to true, WPD will generate a user subroutine for the confirm cancel event. Confirm property in actions |
MultiRow |
Row Selection |
Indicates if the action should receive information about the selected items in the grid it belongs to. Possible values are:
- None: If the action should not receive any information about the selected rows in the grid.
- Single: If the action should receive which row is selected, and is designed to receive one row only.
- Multiple: If the action should receive which rows are selected, and can handle multiple selections at once.
For more information on how this property should be used, see Row selection in actions
Note: This property is only available in action nodes inside a Grid node node but not inside columns (outside the actual grid).
|
Row Selection Scope |
Determines if the action will be executed for all selected rows or only to the selected rows that are visible in the grid. |
Error No Select Line Message |
When executing this action, if the "Row Selection" property is set to "Single" or "Multiple" and no items from the grid are selected, an error message will be shown, with the message defined in this property. |
Error Select Mode Than One Line Message |
When executing this action, if the "Row Selection" property is set to "Single" and more than one item from the grid are selected, an error message will be shown, with the message defined in this property. |
Prompt |
Return On Click |
Used when the web panel being built is a prompt implementation. Indicates that after the action's code the prompt should return to its caller. |
Responsive Design |
Show In Extra Small |
Determines if the action will be visible when using a device with a screen with a Extra Small size. See Introduction to Responsive Web Design. |
Show In Small |
Determines if the action will be visible when using a device with a screen with a Small size. See Introduction to Responsive Web Design. |
Show In Medium |
Determines if the action will be visible when using a device with a screen with a Medium size. See Introduction to Responsive Web Design. |
Show In Large |
Determines if the action will be visible when using a device with a screen with a Large size. See Introduction to Responsive Web Design. |
Grid |
Show Action Only If Available |
Determines if the action will be visible always or only when available according to the grid's selection and the Row Selection property. See Using the "Show Action Only If Available" option |