Computer & Program FiltersOverviewFilters are listed on the left hand side of both the Computers and Programs windows. They are used to filter the display of these windows, allowing an Administrator to quickly find and focus on only certain items.
For example, compare a [search for all programs that ARE published by Microsoft] with a [search for all programs NOT published by Microsoft]. Chances are that there exist program line items (i.e. program variants listed in the Programs window) that satisfy both searches! All it takes is a variant that includes one program version with Microsoft in the publisher field while a second program version (aggregated into the same variant) has no publisher in the publisher field. Starting with KeyServer 6.1, filters can also have associated rules which are applied when programs or computers are discovered (or when new information about an existing item is discovered). With KeyConfigure 6.0.0.9 and later, filters can also be used to restrict the scope of reports. With a filter selected, right-click to see the drop down menu which includes a list of all the reports that will accept the selected filter as a restriction. For example, a program filter can be used to restrict any report that deals with programs (e.g. a report whose detail lines are programs). Filters can be applied to the main window by clicking just to the left of the filter you wish to apply. Doing so will change which programs or computers are displayed in the main window. You can also double-click a filter, which will open up a new window that will display only the filtered items. This window will not have the left-hand section which the main window has. You can edit a filter by right-clicking on it and selecting Edit Filter ... Doing so will open a dialog box to specify the values for the filter. Check marks are used in each pane of the Display column (left side of the window) to activate individual Filters, Divisions, Folders, Actions, or Login status. A combination of check marks will select all items that match at least one check marked condition in every pane that is used for the selection (e.g. has at least one check mark). This means that when a pane is being used for selection (so it has at least one check mark), an additional check mark will generally increase the number of items displayed as a match. If an additional pane is activated for the selection (by adding a check mark to a pane that had none), then the number of items displayed as a match will generally decrease. Filter DialogThere are two different ways of specifying a filter - either with Match These Values or with Match This Filter. Using Match These Values is the simplest method - there is a graphical interface which shows the various values you can specify. These values correspond to various fields in the underlying database, but it is not necessary to understand the database in order to create a filter - the graphical interface is largely self-explanatory. Specifying multiple values means that all the fields must much your criteria - that is, the conditions which you specify in the graphical interface are combined using the "AND" operator.
The Match These Values option allows for custom selection criteria specified using less common fields which are not included in the graphical interface. Also, it allows you to specify multiple values for the same field, or use boolean logic beyond simply the "AND" operator. If you start out by choosing various conditions in the Match These Values section, and then change to Match This Filter, you will see a text representation of the filter you have specified. The basic format is a series of conditions in parenthesis, separated by " && ". Each condition involves one field name and one constant. There are multiple ways of referring to a particular field. For example, in a program filter, the field which contains the date on which a program was discovered can be specified by "Discovered" or "programDiscovered". Here is a list of rules for writing filters.
Here are some complex examples:
|
|||
Related TopicsComputers WindowPrograms Window Reports KSComputers Table Description KSPrograms Table Description Help Index |