Tag: PurgeIndex

The self-closing tag PurgeIndex emulates clicking on the Purge Index for Selected Views function in the Index size for Views and Folders dialog in viewEZ.

<PurgeIndex/>
XML


The
 PurgeIndex action operates on a current selection of views: a selection must be made before the action is executed in order for it to have any effect.Detailed Description


NOTEThis action will purge indexes without any intermediary steps.

Example Script

<YtriaAutomation Version="1.0" Application="viewEZ" ApplicationVersion="16.5" Console="False">
	<Load Database="Mailtest.nsf" Server="ACME01/ACME"/>
	<Unselect>
		<SetParam Name="All"/>
	</Unselect>
	<Select>
		<SetParam NoteID="hC9E"/>
		<SetParam NoteID="3254"/>
		<SetParam NoteID="3282"/>
	</Select>
	<PurgeIndex/>
</YtriaAutomation>
XML

In the script above, the database "Mailtest.nsf" will be loaded into viewEZ and three different views will be selected. The action PurgeIndex will be triggered to purge all of the indexes of these selected views.