Automate the Database selection filter panel in single-server and multi-server applications.

SelectionInclude allows to select and load the databases matching the given filter.

SelectionExclude allows to unselect and unload the databases matching the given filter.

Tag Attributes

Attributes

Attribute Values

Value Description

DatabaseFilter

All / Databases / Templates

All: any file type
Databases: Only databases
Templates: Only templates

Regex

User definable

The regex used to filter databases

CaseSensitive

True / False

Only when Regex is provided.
If True, the regex is case sensitive.
If False, it’s not.

SearchFullPath

True / False

Only when Regex is provided.
If True, the regex applies to the database full paths.
If False, it applies to database displayed title.

Servers (multi-server applications only)

Semi-colon separated server list

Servers to which the filter applies.

Example Scripts

Single-server example

<ytriaAutomation>
  <SelectionInclude DatabaseFilter="Databases" Regex="^a" CaseSensitive="True" SearchFullPath="False"/>
  <SelectionExclude DatabaseFilter="Databases" Regex="a$" CaseSensitive="True" SearchFullPath="False"/>
</ytriaAutomation>
XML

Multi-server example

<ytriaAutomation>
  <SelectionInclude DatabaseFilter="Databases" Regex="^a" CaseSensitive="True" SearchFullPath="False" Servers="ACME01/ACME;ACME02/ACME"/>
  <SelectionExclude DatabaseFilter="Databases" Regex="a$" CaseSensitive="True" SearchFullPath="False" Servers="ACME01/ACME;ACME02/ACME"/>
</ytriaAutomation>
XML