Quick Action Widget

< appboard | 2.4 | builder | widgets

The Quick Action Widget provides a simple mechanism for filtering Data Collections, and is designed to provide contextual filtering for other Widgets on a Board.

A Sample Quick Action Widget

1. How To Create a Quick Action Widget

For instructions on creating a Widget, see the general instructions in Adding Widgets. The Quick Action Widget type is located under the System category on the Widget selection screen.

2. How To Configure a Quick Action Widget

  1. Follow the instructions above to create the basic "Quick Action" Widget.
  2. Enter the following information on the Data tab:
    • Data collection: Select the name of the Data Collection that will provide the data to be displayed in the Quick Action.
    Note: For convenience, buttons are provided for Adding, Editing, or Previewing a Data Collection.
    Note: If the selected Data Collection has polling enabled and the data within the Data Collection has a tendency to change, it is recommended that a primary key be set in the corresponding Data Source.
    • Label Field: Select the field in the Data Collection which contains the values that will populate the Quick Action's drop down menu.
    • Startup Selection: This setting allows a value from the "Label Field" to act as an initial selection, pre-filtering the data displayed when first arriving on a board.
      • First Value & Last Value: These settings will use either the first or last value in the data set as the initial selection. Use these settings if the values in the Label Field change frequently.
      • Specific Value: This setting lets the Widget designer fix the initial selection based on a value that is available in the Data Collection at the time of configuration. This works well if the values are fairly static. However, If the values in the dataset change, then it is recommended to use First or Last Value, in conjunction with a sort, to provide the initial selection.
    • Initialize Action: This setting determines when the Actions associated with the Quick Action widget will fire.
      • Select "On Startup" If you want the initial selection to act as a pre-filter for the Widgets on a Board.
      • Select "On Selection" to show all available data initially. This option forces an explicit selection before applying filters to data.
  3. Provide additional configuration on the Options tab. For details on the available Options, see Options.
  4. Click Next to proceed to the Actions tab.
  5. Click Add Event Action to configure one or more Actions to be invoked when a user clicks on the Quick Action Widget. The action will apply to the current data record being displayed.
  6. Click Finish.
  7. In the Builder Modes panel, select Builder and navigate to the appropriate Board to observe the new Quick Action Widget.

3. Sample Data

Perform the following steps to create a Quick Filter using sample data provided with Appboard:

  1. Follow the instruction on the Sample Chart Data page to create sample Data Collections.
  2. Select any of the Data Collections to use as the Data Collection for the Quick Filter.
  3. Select any field in the Data Collection to use as the Label Field for the Use this setting.