Skip to main content
Version: 4.55

reloadDatabaseTable

Reloads the source of the database table.

Field Configurations

KeyTypeDescriptionDefault Value
"params" (required)Objectundefinednull

Parameters

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"ignoreSince"Boolean,StringSpecifies whether the since parameter should be ignored on reload.null
"maxRetries"NumberAmount of the maximum amount of allowed retries (If greater than 0, the maximum amount of retries of the request before the error event is triggerd).null
"onError"StringEvent to be fired if action failed.null
"onErrorType"OnErrorTypeType of event that will be fired on error.null
"onSuccess"StringEvent to be fired if action performed successfully.null
"onSuccessType"OnSuccessTypeType of event that will be fired on success.null
"retryDelay"NumberDelay in seconds between retries.null
"showRetry"Boolean,StringIf this key is set to true and the loading overlay is visible the current retry is shown on the overlay.null
"table" (required)StringThe name of the database tablenull

Inherited

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples

Example 1: Create a reloadDatabaseTable action.

Goal: Reload the source of the database table "news", set the maxim amount of retries to 3 and a 5 second delay between them.

table, maxRetries and retryDelay have to be assigned within the params object of the action.

{
"type": "reloadDatabaseTable",
"params": {
"table": "news",
"maxRetries": 3,
"retryDelay": 5
}
}

Result:

A reloadDatabaseTable action with described requirements is created.