Tag: LoadNoteCounters

The LoadNoteCounters action, along with a set of SetParam child actions, lets you automate the Load Note Counters process.


<LoadNoteCounters>
	<SetParam Field="Total" Value="False"/>
	<SetParam Field="Documents" Value="True"/>
	<SetParam Field="Designs" Value="True"/>
	<SetParam Field="Forms" Value="True"/>
	<SetParam Field="Views" Value="False"/>
	<SetParam Field="Filters" Value="True"/>
	<SetParam Field="Fields" Value="True"/>
	<SetParam Field="ReplicationFormulas" Value="True"/>
	<SetParam Field="PrivateDesigns" Value=True"/>
	<SetParam Field="DeletionStubs" Value="True"/>
	<SetParam Field="ReloadPrevious" Value="False"/>
</LoadNoteCounters>
XML

SetParam Options

Field NameCompatible Field ValuesValue DescriptionComment
Field NameTrue/ False

N/A

N/A

Compatible Field ValuesTrue/ False

N/A

N/A

Value DescriptionTrue/ False

N/A

N/A

CommentTrue/ False

N/A

N/A

TotalTrue/ False

N/A

N/A

DocumentsTrue/ False

N/A

N/A

DesignsTrue/ False

N/A

N/A

FormsTrue/ False

N/A

N/A

ViewsTrue/ False

N/A

N/A

FiltersTrue/ False

N/A

N/A

FieldsTrue/ False

N/A

N/A

ReplicationFormulaTrue/ False

N/A

N/A

PrivateDesignsTrue/ False

N/A

N/A

DeletionStubsTrue/ False

N/A

N/A

ReloadPreviousTrue/ False

N/A

N/A

Detailed Description

Every option that is available in the 'Select the Note Counters to be loaded' dialog can be set through a SetParam value.

Example Script

<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="replicationEZ" ApplicationVersion="16.5">
	<Load Server="Acme01/ACME" Select="True"/>
	<Select Target="Grid" lines="all"/>
	<LoadNoteCounters>
		<SetParam Field="Total" Value="False"/>
		<SetParam Field="Documents" Value="False"/>
		<SetParam Field="Designs" Value="False"/>
		<SetParam Field="Forms" Value="False"/>
		<SetParam Field="Views" Value="False"/>
		<SetParam Field="Filters" Value="False"/>
		<SetParam Field="Fields" Value="False"/>
		<SetParam Field="ReplicationFormulas" Value="False"/>
		<SetParam Field="PrivateDesigns" Value="False"/>
		<SetParam Field="DeletionStubs" Value="True"/>
		<SetParam Field="ReloadPrevious" Value="False"/>
	</LoadNoteCounters>
</ytriaAutomation>
XML

In the script above, all Note Counters will be loaded for the lines selected in the main grid.