company logo

Set filter condition (SF)

The command restricts the number of visible instances in the current or referenced collection by setting a filter condition. In order to reset the filter, the command may be called without condition.

Parameters:

  • condition - filter expression for the selection. The expression may be a predefined OSI function or an inline expression. When defining inline expressions, those usually have to be quotes. In case of string delimiters within the expression, alternative string delimiters have to be used for the expression. As string delimiters ' and " may be used.
  • -Dn - re-direction to other data source.
  • -Cn - re-direction to other collection in the hierarchy or in the data source referenced by -Dn.

Syntax:

  SetFilter|sf [condition] -Dn -Cn

Examples:

  sf 'name > "S"'   // display instances with name greater than S, only.

                    // Constant string values must be put in quotes.

  sf                // Reset filter condition