On this page
AX2082
Controlling when an Axiom query is refreshed
Axiom queries support several options to control when an Axiom query is refreshed. By default, Axiom queries will refresh in the following situations:
- When a user manually refreshes the sheet (such as by clicking the Refresh button in the ribbon).
- When the file is processed by a feature that includes performing a refresh, such as Process Plan Files, File Processing, or Process Document List.
If desired, you can disable these options so that a refresh does not occur in these circumstances, and/or you can enable other refresh options, such as automatically refreshing on open, or refreshing before multipass processing occurs.
NOTE: In all circumstances, Axiom queries will only refresh if they are active. If a query is not active, then it is essentially ignored by all processes.
Configuring refresh options for an Axiom query
Refresh options are located in the Refresh behavior section of the Control Sheet:
The following options are available:
Item | Description |
---|---|
Refresh on manual refresh |
If enabled, the query will be refreshed when a user manually refreshes the sheet. For example, the user could click the Refresh button in the ribbon, or click a task pane item that is configured to perform a refresh, or press F9. This option is enabled by default. If you disable this option, then the query will not refresh when a user manually refreshes the sheet. For example, you might disable this option if you have a query that you only want to run when the file is opened, and not during any subsequent manual refreshes. NOTE: In plan files only, users cannot manually refresh Axiom queries unless they have the Run AQs in Plan Files permission. If you have a query that needs to be run in plan files, but you do not want to give users this permission, then you can enable Refresh on file open for the query. |
Refresh during document processing |
If enabled, the query will be refreshed when the file is processed by a feature that includes performing a refresh, such as Process Plan Files, File Processing, or Process Document List. Some of these features, such as Process Plan Files, allow you to disable refreshing particular queries as part of that particular processing job. For other features, the query will always be refreshed if this option is enabled. This option is enabled by default. If you disable this option, then the query will not be available to processing features that include performing a refresh. |
Refresh during template processing |
If enabled, the query will be refreshed when the file is processed by the Scheduler task Process Template List. This option only applies to file group template files; it has no effect in any other file type. When the query is processed by Process Template List, the Last refresh time of the query is updated in the template. This feature is intended to enable use of time-stamped Axiom queries in virtual plan files, by time-stamping the query in the template. |
Refresh on file open |
If enabled, the query will be refreshed automatically whenever the file is opened, whether by a user or by a system process (with one exception: Process Plan Files—see notes below). This setting is disabled by default. When this setting is enabled, you can use the Open Without Refresh option if you need to open the file without running the Axiom query. This option is available to administrators from the right-click menu in Open Plan Files, Browse Reports Library, or Axiom Explorer. NOTES:
|
Refresh once before multipass processing |
This option only applies when the file is processed using the multipass option of File Processing. If enabled, the query will be run once before multipass processing begins. If you do not want the query to also be run during each individual pass, then you should disable Refresh during document processing. This option is disabled by default. You might enable this option if you have a query that needs to be run to bring an initial set of data into the file, but you don't want to set the query to refresh on open because the query is quite large and causes an unnecessary delay when opening the file for editing. |
Refresh after save data |
If enabled, the query will be refreshed automatically after a save-to-database occurs, whether the save is initiated by a user or by a system process. The refresh occurs regardless of whether any data changes were actually saved. This setting is disabled by default. You might enable this option if you have a configuration where the save-to-database process adds or updates a record that would be returned by a second Axiom query in the workbook. In order for the data in the second Axiom query to be updated automatically for the changed data, you would need to enable this option (otherwise the user would not see the changed data until they manually refresh). This feature may be especially useful in Axiom form design. NOTE: The behavior of this option depends on whether the sheet-level setting Convert Axiom Query results to zero on save is also enabled. If "zero on save" is enabled, then the Axiom query is first zeroed, then the file is saved, then the Axiom query is refreshed with data. This order is so that the data is not saved within the file. However, if "zero on save" is not enabled, then the Axiom query is refreshed before the file is saved, which means that the current data will be saved within the file. This does not apply when interacting with Axiom forms, because in that case the file is never saved. |
Most of these refresh options are not available on the Sheet Assistant and must be configured on the Control Sheet if you want to deviate from the default behavior. There is one exception—if you want to configure a query to refresh on open, this setting is available in the Refresh Settings section of the Sheet Assistant:
AX2082
Get more information and training resources: www.kaufmanhall.com |
Was this topic helpful? refresh_settings.htm |
