LoadQueryFilterFile
- Last UpdatedAug 14, 2021
- 1 minute read
Load from an xml file with query and filter favorites entries with different override options. Return false for any error.
Syntax
AlarmClient.LoadQueryFilterFile(FilePath, OverrideOption);
Parameters
FilePath
Name of the path to the query filter favorites file to import.
OverrideOption
-
Append: Add to the query and filter favorites. If a duplicate entry is already present, it will not append.
-
Overwrite: Delete all current query and filter favorite entries and add the new entries from the file.
-
Replace: Append and replace any duplicated entries with the contents from the file.
Example
AlarmClient. LoadQueryFilterFile("c:\users\public\file1.xml","Append")