Skip to main content
Skip table of contents

SelectionInclude / SelectionExclude - Database selection filter

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

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

Multi-server example

XML
<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>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.