Zip Search
Overview
The Zip Search application allows you to seamlessly iterate through your archived data to find historic records. For example, if an order has failed to import and you would like to inspect the XML, you would select the workflow name, specify the order number as the input, and the application will return you a list of archived files which contain that order number.
You can filter the archive data returned by amending the settings in the application.
Settings
Workflow Or Directory
This group of settings allows you to choose which workflow to search, or manually specify a directory containing workflow archives.
- Workflow - Select a workflow to search from the list. The directory containing the archives will be determined automatically, and displayed in the directory setting. If for any reason it can't be determined automatically, a message will be displayed and you will need to specify the directory manually.
- Use manual directory - Tick this box if you want to specify the directory containing the workflow archives manually.
- Directory - When the 'use manual directory' option is selected, you must provide the path to your archive folder here, e.g
C:\Users\joe.harrison\Archive. If the 'use manual directory' option is not selected, the directory that was determined automatically will be shown here.
Search Settings
This group of settings allows you to configure the parameters of the search.
- Input - The term you are looking to search for, typically an order number or customer name. You can optionally search for multiple values by comma separating your input, e.g 'ORDER-1, ORDER-2, ORDER-3'.
- Match case - Select this option if want the search term to be handled on a case sensitive basis.
- Min Matches - The minimum number of matches. The search will only return files where the search term appears at least this many times. Defaults to 1.
- Recursive - You can enable this option if you would like to search for archives within your archives.
- Decrypt encrypted files - If some of your files are encrypted, you will need to enable this option. Please note, enabling this option will increase memory usage.
Date Filtering
This group of settings allows you to optionally filter based on the date the archives were created.
- From - Tick this box if you only want to search archives created since the specified date/time.
- To - Tick this box if you only want to search archives created before the specified date/time.
File Filtering
This group of settings allows you to optionally filter the files within each archive based on certain metadata. Only files that match all of the filters will be searched. Filters can be added by clicking the '+' button, or removed using the '-' button.
- Operator - The type of filter to apply. The following options are available:
- NameMatchesPattern - Only files where the name matches the specified pattern will be searched e.g.
customers_*.xml - NameNotMatchesPattern - Only files where the name does not match the specified pattern will be searched e.g.
*_success.xml - NameContains - Only files where the name contains the specified value will be searched
- NameNotContains - Only files where the name does not contain the specified value will be searched
- NameEquals - Only files where the name equals the specified value will be searched
- NameNotEquals - Only files where the name is not equal to the specified value will be searched
- NameStartsWith - Only files where the name starts with the specified value will be searched
- NameNotStartsWith - Only files where the name does not start with the specified value will be searched
- NameEndsWith - Only files where the name ends with the specified value will be searched
- NameNotEndsWith - Only files where the name does not end with the specified value will be searched
- SizeGreaterThan - Only files where the original (not compressed) size is greater than the specified value will be searched
- SizeLessThan - Only files where the original (not compressed) size is less than the specified value will be searched
- NameMatchesPattern - Only files where the name matches the specified pattern will be searched e.g.
- Value - The value to base the filter on
View Data
Once you have clicked the 'Search' button, a set of results matching your criteria will be returned.
Each file matching your criteria will be returned individually, even if two files in the same archive contain the search term, and you can view the data in the file by double clicking the item.
You can right click each individual row and then choose to either view the file in your default text editor, to open the zip file in explorer or delete the result from the table.