Tag: RevertSummarizedDB

The self-closing tag RevertSummarizedDB emulates selecting the 'Revert to Summarized Information' (or Ctrl + U) in the Edit menu of databaseEZ.

<RevertSummarizedDB/>
XML


Example Script

<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="databaseEZ" ApplicationVersion="16.5">
	<Load Server="Acme01/ACME">
		<Load Database="mail\jwill.nsf" Select="True"/>
		<Load Database="mail\jdoe.nsf" Select="True"/>
		<Load Database="archive\a_log.nsf" Select="True"/>
		<Load Database="log.nsf" Select="True"/>
		<Load Database="names.nsf" Select="True"/>
		<Load Database="mail.box" Select="True"/>
		<Load Database="admin4.nsf" Select="True"/>
		<Load Database="cldbdir.nsf" Select="True"/>
		<Load Database="ddm.nsf" Select="True"/>
		<Load Database="catalog.nsf" Select="True"/>
		<Load Database="schema.nsf" Select="True"/>
		<Load Database="certsrv" Select="True"/>
		<Load Database="reports" Select="True"/>
	</Load>
	<Select Target="Grid" Lines="All"/>
	<LoadCompleteDB/>
	<Export Target="Grid">
		<SetParam target="ExportToFile" field="FilePath" value="D:\ExportChartGridTest.xml"/>
		<SetParam target="ExportToFile" field="ExportType" value="XML"/>
		<SetParam target="ExportToFile" field="ExportContent" value="AllGrid"/>
		<SetParam target="ExportToFile" field="FileOutput" value="ASCII"/>
		<SetParam target="ExportToFile" field="OpenFileOnceGenerated" value="true"/>
	</Export>
	<RevertSummarizedDB/>
</ytriaAutomation>
XML

In script above, database information will revert to "Summarized" after loading the complete information for an export operation.