Configuration of a Custom action button control
- On the Properties panel of the Custom action button control, click the Configuration tab.
-
To set the style, select either of the following for
Default style and
Hover style:
-
Theme: Keeps the default theme.
Themes are defined globally (outside of forms and sites) and are then associated with a site. Forms are rendered as part of a site. The theme associated with the site determines the style for the control.
-
Class: Enter the name of the CSS class. This class is applied to the control only when it is available in the style sheet that is associated with the theme. If the class does not exist in the style sheet, then the control uses the default style.
-
- Select Show image to display the image at runtime. (Default: Clear)
-
To configure each menu item within the control, do the following:
- Click for Menu items. The Menu items dialog box is displayed.
- Enter a name for the menu in the Text field.
-
Do either of the following for
Load image from store (Default: Clear):
- To use an image from the store, select
Load image from store, and select the image on the
Image path list.
The image name must match the name in the database for the image to display at runtime.
- To specify a custom image, clear
Load image from store, and enter the image name or the URL to the image in the
Image path field.
For on-premise TotalAgility, the image needs to reside in the following location: <Installation location>\Kofax\TotalAgility\Agility.Server.Web\Forms\Images>
- To use an image from the store, select
Load image from store, and select the image on the
Image path list.
- Select Causes validation to check if the button validates the control when clicked. (Default: Clear)
- In the Confirmation message field, enter a message for the menu item to display at runtime using a static or dynamic value. Adding a confirmation message can prevent the user from accidentally performing an action that may result in data loss.
-
To associate the actions with the menu item, click
Add, select the required actions, and click
Done. Use the
icons to set the order of actions as needed.
You can update and reset the menu items as needed.
-
Save the form.
At runtime, the Custom action button control is displayed with the dropdown menu which includes actions that are configured.