The PropertyAnalyzer action, along with a set of nested SetParam child actions, automates the Property Analyzer process.
PropertyAnalyzer
<PropertyAnalyzer> <SetParam Field="TemplateNamesDuplicates" Value="True"/> <SetParam Field="ReplicaIDDuplicates" Value="True"/> <SetParam Field="InheritFromGhostTemplate" Value="True"/> <SetParam Field="DBPercentageOfQuotaRemaining" Value="True"/> <SetParam Field="DBPercentageOfQuotaRemainingValue" Value="1"/> <SetParam Field="NoDataChangeSince" Value="True"/> <SetParam Field="NoDataChangeSinceValue" Value="2"/> <SetParam Field="DesignChangedWithinLast" Value="True"/> <SetParam Field="DesignChangedWithinLastValue" Value="3"/> <SetParam Field="DBSpecificSize" Value="True"/> <SetParam Field="DBSpecificSizeValue" Value="4"/> <SetParam Field="LauncheAnalyzerOnStartup" Value="False"/> </PropertyAnalyzer>
<SetParam Field="TemplateNamesDuplicates" Value="True"/> <SetParam Field="ReplicaIDDuplicates" Value="True"/> <SetParam Field="InheritFromGhostTemplate" Value="True"/> <SetParam Field="DBPercentageOfQuotaRemaining" Value="True"/> <SetParam Field="DBPercentageOfQuotaRemainingValue" Value="1"/> <SetParam Field="NoDataChangeSince" Value="True"/> <SetParam Field="NoDataChangeSinceValue" Value="2"/> <SetParam Field="DesignChangedWithinLast" Value="True"/> <SetParam Field="DesignChangedWithinLastValue" Value="3"/> <SetParam Field="DBSpecificSize" Value="True"/> <SetParam Field="DBSpecificSizeValue" Value="4"/> <SetParam Field="LauncheAnalyzerOnStartup" Value="False"/> </PropertyAnalyzer>
<PropertyAnalyzer/>
Running the action with a set of nested SetParam actions, will trigger the 'Save Settings and run analyzer' options and the fields to set corresponding options as found in the Property Analyzer dialog.
<?xml version="1.0" encoding="UTF-8"?> <ytriaAutomation Application="databaseEZ" ApplicationVersion="16.5"> <Load Server="Acme01/ACME"/> <PropertyAnalyzer> <SetParam Field="TemplateNamesDuplicates" Value="True"/> <SetParam Field="ReplicaIDDuplicates" Value="True"/> <SetParam Field="InheritFromGhostTemplate" Value="True"/> <SetParam Field="DBPercentageOfQuotaRemaining" Value="True"/> <SetParam Field="DBPercentageOfQuotaRemainingValue" Value="1"/> <SetParam Field="NoDataChangeSince" Value="True"/> <SetParam Field="NoDataChangeSinceValue" Value="2"/> <SetParam Field="DesignChangedWithinLast" Value="True"/> <SetParam Field="DesignChangedWithinLastValue" Value="3"/> <SetParam Field="DBSpecificSize" Value="True"/> <SetParam Field="DBSpecificSizeValue" Value="4"/> <SetParam Field="LauncheAnalyzerOnStartup" Value="False"/> </PropertyAnalyzer> </ytriaAutomation>
In the script above, the Property Analyzer will be saved and run using the settings specified in the SetParam child actions