CimBrowse.Filter (property)

Gets and sets the Filter used by the Browser Object.
Syntax: String = object.Filter
object.Filter = String
Description: CimBrowse.Filter is a string representing the filter used for browsing. The specified filters will be the default filters used when by the browsing dialog when it appears. For example, a filter could be used to only display points from a particular device or for a particular resource. The set of available filters depends on the entity being browsed.

POINT Entity - POINT_ID, DEVICE_ID, RESOURCE_ID, POINT_TYPE_ID, DESCRIPTION, ELEMENTS, and ADDRESS

DEVICE Entity - DEVICE_ID, RESOURCE_ID, DESCRIPTION, PORT_ID



The filter string is composed by building a string containing the attribute name and the filter value. Filter values can use * and ? for filtering. Filters and their values are separated by commas, and filter pairs are separated by semi-colons. When a filter is set the user will be unable to change the filter in the dialog.


In the example below the browse will find all points starting with C for DEVICE_1.


Example

browseObject.Filter ="POINT_ID,C*;DEVICE_ID,DEVICE_1"