Create a dropdown menu in the header that is populated with records retrieved from other actions.
As preparation, create an app to define the dropdown contents and add records.
In the customization of Customine, first, retrieve data from an app using actions like “Retrieve All Records” to define the contents of the dropdown.
Next, configure the “Make Pulldown to Select a Record in Header” action and set up the prepared Blank space fields, records, and so on.
The records selected by the user will be the result value of the action. The result value of the action can be referenced using expressions like “= $1”. The result value of the action also changes every time the user changes the selection.
You can also set the “Make Pulldown to Select a Record in Header” action in the parameter to specify records in other actions.
You can determine whether the dropdown is selected or not using “If the Count of Records is Zero” or “If the Count of Records is Greater Than Zero.” If the result is “one or more”, it means that some records have been selected.
The action is completed when the dropdown is created. The result of the action at this point depends on the parameter representing “not selected, ‘------'”.
When the user changes the dropdown selection, “When the dropdown selection is changed” is triggered.
Set Place, Label, Record, Datasource App Fields to Display, Minimum Width, Maximum Width, and Add 「—–」.
Specify the location to display the dropdown.
Set the label to be displayed in the dropdown. This parameter is optional.
Select the action you used to retrieve the records that will be the content of the dropdown.
There is no error even if the record is empty. In that case, only “-----” indicating that nothing is selected will be displayed in the dropdown.
Specify the fields to be displayed as dropdown items. Select from the fields of the original app for the records selected with the “Record” parameter.
This parameter accepts the following field types: Fields in tables cannot be selected.
Specify the minimum and maximum display width of the dropdown. This parameter is optional.
The display width of the dropdown automatically changes according to the items displayed in the dropdown, but it can be adjusted by specifying the minimum and maximum widths.
Select whether to add “—–” indicating unselected as a dropdown option.
Selecting “Add” adds “-----” to the top of the dropdown, and this will be the selection immediately after the dropdown is created. The value of the result immediately after executing the action is empty.
Selecting “Don’t Add” does not add “-----”. After creating the dropdown, the first item in the dropdown will be the initial selection. The action result value after executing the action will be saved as the first record.
When using the “Place Custom Buttons in the Menu Area” action to position a button directly to the right of a pulldown menu created with the “Make Pulldown to Select a Record in Header” action, the button’s display width will be narrower than usual.