Skip to main content
Skip table of contents

Search: Find All, Find First, Find Next Entry in Grid

Tag: Search

The Search action will emulate selection of the Search options (i.e. Find All, Find First and Find Next) located in a grid toolbar or the right-click menu.

XML
<Search Find="Next" Target="Grid">
	<Setparam Target="RegexGeneral" Field="Regex" Value="dom"/>
	<Setparam Target="RegexGeneral" Field="CurrentColumn" Value="False"/>
	<Setparam Target="RegexGeneral" Field="CaseSensitive" Value="False"/>
</Search>

Tag Attributes

AttributesAttribute ValuesValue Description
FindAll, First, NextType of search to execute - Not Required (See detailed description)
TargetApplicable Grid Code

N/A - Not Required (See detailed description)

ServerAbbreviated server names (separated by comma)

N/A - Only applicable in consoleEZ (See detailed description)

IndexPositive integerWindow index number - Only applicable in consoleEZ (See detailed description)

SetParam Options

AttributesAttribute ValuesValue Description
RegExGeneralRegExGeneralDescribes the referenced dialog box - Not Required (See detailed description)
RegExUser definedThe string to search for or the regex to be applied - Required
CurrentColumnTrue / False

N/A - Required

CaseSensitiveTrue / False

N/A - Required


Detailed Description

The action Search allows you to automate the 'Find All…', 'Find First…', and 'Find Next…' functions found in the toolbar of each grid panel, and in the right-click menu.



The type of search is selected by using the attribute Find.


SetParam child actions are used to set the values and options found in the dialogs of the possible searches.

The Server attribute is only applicable to consoleEZ, in which case it will be required for Target="LogAnalyzer" or Target="VolumeAnalyzer".

The Index attribute is also only used in consoleEZ and is required when using Target="LogAnalyzer" or Target="VolumeAnalyzer", it is the value found on the Log Analyzer and Volume Analyzer windows.


Example Script

XML
<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="aclEZ" ApplicationVersion="16.5">
	<Load Server="ACME01/ACME" Select="True"/>
	<Select Lines="All"/>
		<Search Find="All" Target="SelectedACL">
			<Setparam Target="RegexGeneral" Field="Regex" Value="ytria"/>
			<Setparam Target="RegexGeneral" Field="CurrentColumn" Value="False"/>
			<Setparam Target="RegexGeneral" Field="CaseSensitive" Value="False"/>
		</Search>
</ytriaAutomation>


In the script above, a 'Find All…' search using the string 'ytria' would be carried out on all contents of the Selected ACL grid in aclEZ.


JavaScript errors detected

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

If this problem persists, please contact our support.