Save runtime modifications to queries and filters
- Last UpdatedOct 09, 2024
- 1 minute read
You can save modifications made to queries and filters at run time. There is an option to save user queries and filters in the Run-Time Behavior tab of the Edit Animations dialog box. It is selected by default, as shown below:

When this option is selected, modifications made to queries or filters at run-time are saved on a per user and AlarmApp instance to a XML file. For example, a saved query will save as UserQueryFilter_001.xml.
Modifications are saved in the following default directory:
C:\Users\<OS Login Name>\AppData\Local\Wonderware
The map between the AlarmApp instance and the above XML file is saved in a map file, "InstancesMap.dat".
Modified queries and filters will be available upon closing and restarting the AlarmApp window or WindowViewer.
If you uncheck the Save User Queries and Filters option, updates made to queries and filters during run-time will not be saved.
Note: When the Save User Queries and Filter option is checked, the Overwrite Design Time Queries and Filters option is enabled and checked by default. When checked, this option resolves naming conflicts between design-time queries and filters and run-time queries and filters loaded from the XML file. Naming conflicts will be resolved by overwriting the design time queries and filters.