The Reload Query action allows you to manually refresh queried data from a SQL data source. Changes made in the SQL database aren’t instantly synced in Glide, so the Reload Query action lets users manually refresh data when they make a change.
The action only appears in the action menu, either in the Layout Editor or in the Action Editor, if you already have a SQL data source in your app.
Setting up the Reload Query Action
In the Layout Editor
Click on the plus (+) sign in the Components panel and select the Component you want to trigger the action.
In the General tab on the right side of the Layout Editor, navigate to the Actions section and select Reload query.
Select the icon and descriptive text to use in your app.
Select the data source you want to refresh the data for.
Choose which table the action should reload the query from.
When used with some components, you can optionally add Conditions for certain criteria to be met before a user can trigger this action.
In the Workflow Editor
Select the + New Workflow button. If you have existing actions, click on the plus (+) sign in the left panel.
Select the data source for your action.
Click the first step in the workflow to change it.
Search for the Reload query action.
You can also add conditions to your actions, if needed.
To add new actions to the flow, hover just underneath an action and click the plus button. In this way you can add the Reload Query action as just one step in a larger workflow.
Check the Introduction to Actions page for a full list of components that can be used to trigger actions.