Ytria logo DOCUMENTATION
⚠ This page requires javascript enabled in browser
Automation / designPropEZ Automation

 

Tag: EditSelected

The EditSelected tag, along with a set of SetParam child actions, allows you to automate the editing of design properties.

SetParam Options

Field NameCompatible Field ValuesValue DescriptionComment
InheritFromUser defined
ProhibitDesignRefreshTrue/ False
PropagateProhibitionTrue/ False
DoNotShowInMenusR4True/ False
HideFromWebTrue/ False
HideFromNotesR6True/ False
HideFromMobileTrue/ False
LanguageLanguage as found in the dropdown Multilingual Options list
SortOrderOption as found in the dropdown Multilingual Options list
UnicodeStandardSortingTrue/ False
RunAgentAsWebUserTrue/ False
AllReadersAndAboveTrue/ False
ReadersListUser
PublicAccessTrue/ False

Detailed Description

All of the options available within the Update Properties dialog window have a corresponding SetParam option. This action will update the selected design properties to the values specified in the script block.

Sub Actions

Tag: ApplyAndReload

Example Script

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<ytriaAutomation Application="designPropEZ" ApplicationVersion="16.5">
<Load Server="Acme01/ACME" Database="mail\daltmann.nsf"/>
<Select>
<SetParam Name="Views"/>
</Select>
<Audit>
<Select Lines="All"/>
<EditSelected KeepAlive="False">
<SetParam Field="ProhibitDesignRefresh" Value="False"/>
</EditSelected>
<ApplyAndReload/>
</Audit>
</ytriaAutomation>

In the script block above, the mail database "daltmann.nsf" will be loaded into designPropEZ and the category "Views" will be selected. All rows within the main grid will be selected and the Prohibit Design Refresh property will be deactivated on all Views. The action ApplyAndReload will apply these modifications and reload the grid with the resulting data.