Tag: Evaluate

The self-closing tag Evaluate emulates clicking the 'Evaluate' button found within the Values dialog in scanEZ; it is a required command in order to add a custom column within the values grid.


<Evaluate/>
XML

Example Script

<YtriaAutomation Version="1.0" Application="scanEZ" ApplicationVersion="16.5" Console="False">
	<load server="ACME01/ACME" database="Mailtest.nsf"/>
	<focus target="tree" category="Documents" type="Memo"/>
	<Values KeepAlive="false">
		<SetParam Target="SelectDocumentItems" Field="AddItem" value="Form"/>
		<SetParam Target="SelectDocumentItems" Field="AddItem" value="From"/>
		<SetParam Target="SelectDocumentItems" Field="AddItem" value="DeliveredDate"/>
		<ShowTypeColumns value="false"/>
		<AddCustomColumn Name="Created By">
			<SetParam Field="TitleOptionType" Value="System"/>
			<SetParam Field="TitleOptionSystem" Value="Created By"/>
		</AddCustomColumn>
		<Evaluate/>
		<Export>
			<SetParam field="FilePath" value="D:scanEZ-Values.html"/>
			<SetParam field="ExportType" value="HTML"/>
			<SetParam field="SelectedRowsOnly" value="False"/>
		</Export>
	</Values>
</YtriaAutomation>
XML

In the script above, the database "Mailtest.nsf" will be loaded into scanEZ and the selection tree focus will be placed on the document category Memo. The Values operation will be launched on these documents and the Values grid's columns will be set to the items "Form", "From", and "Delivered Date". A custom column will then be added using the Note Info value "Created By". The Evaluate action will then trigger the custom column to populate with the individual values of this Note information. All rows within this grid will then be exported to an HTML file, and the Values dialog will close.