9,334
edits
Line 150: | Line 150: | ||
=== Buttons === | === Buttons === | ||
You can add buttons to the view. Depending on your device, buttons are displayed when you select a record in the list, or when you swipe from the right. | You can add buttons to the view. Depending on your device, buttons are displayed when you select a record in the list, or when you swipe from the right. | ||
[[File:Buttons.png|350px]] | |||
Buttons must be enabled: | Buttons must be enabled: | ||
Line 159: | Line 161: | ||
# The right pane shows your available commands, the left pane shows commands in use. Add buttons from right to left. | # The right pane shows your available commands, the left pane shows commands in use. Add buttons from right to left. | ||
# For some commands you can specify more details, for example, what child entity record to create or which status to set for the record. Select the command and click '''Properties'''. | # For some commands you can specify more details, for example, what child entity record to create or which status to set for the record. Select the command and click '''Properties'''. | ||
# Save all changes and publish the project. | |||
You can also define custom buttons: | |||
# Select '''Buttons''' from the toolbar. | |||
# Click '''New Command''' and enter an internal name of the command and a label, then click '''OK'''. | |||
# Save the buttons editor and return to the view. | |||
# Select '''Button Click''' from the toolbar. | |||
# Using the [[rules editor]], define an action that the button should perform. | |||
=== Actions when multiple records are selected === | === Actions when multiple records are selected === |