Refresh Query
This action provides functionality to refresh a data source.
Set up
Select the element where you want the instruction to be executed.
Open the Uncodie plugin and go to the components section.
In actions, create a new action.
Choose the event that will trigger the action and select the “RefreshDataSourceQuery” option.
Use cases
Refresh a screen
Automatically update real-time table data: By using RefreshDataSourceQuery, you can configure a table to automatically refresh with the latest data without having to reload the page.
Refresh a form
Refresh form information: If there are fields in a form that depends on an external data source, such as a dropdown list of options, you can use RefreshDataSourceQuery to update those options without reloading the entire page.
Refresh a search result
Update search results on a page: When performing a search on a web page, RefreshDataSourceQuery can be used to dynamically update the list of results as search criteria are entered.
Synchronize data between modules
Synchronize data between different components or modules of an application: If there are multiple components or modules in an application that need to access and display the same data, RefreshDataSourceQuery can be used to ensure that all components or modules are always up to date with the latest information.
Reload a list or table
Automatically reload a list of messages or notifications: In a messaging application or notification system, RefreshDataSourceQuery can be used to automatically refresh the list of messages or notifications without requiring the user to perform a manual action, such as clicking a refresh button.
Parameters
Name
Description
Datasource or GraphQL query name to refresh, either provided by the system or created by the user, see:
Required
Last updated
Was this helpful?