Button components let users perform actions through functions like inserting or updating a record. In a Space, buttons are typically used to perform a quick action that does not require significant user input or confirmation (like flipping a flag).
Type: Select the data source that you want this button to work with, and then choose the type of action, aka function, that you want to perform.
Button Text: This will be displayed on the button.
After Submitting: You can choose to refresh a table component here when you click this button (allowing you to view updated values). “Add another action” allows you to refresh multiple components upon submission.
This section allows you to configure the fields submitted with your button and choose how those fields are populated. You can drag and drop a field to rearrange the ordering or remove a field from this form by clicking on the trash icon.
For auto-generated functions, the fields shown will be the fields (columns) in the resource your function acts on. For custom functions, the fields shown will be the dynamic parameters you defined when creating the function.
Fields and Values
These fields are used to determine the values that are submitted with this button. For buttons, you must configure each field you plan to use, as there is no way for the user to provide any values manually. Click “+ Add Data” to add more fields (only the primary field key is added by default).
Clicking on “Edit” will allow you to configure a field - click here to learn about field configuration.