Tag: EditSelected

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

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.


0

SetParam Options

Field NameCompatible Field Values
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

Sub Actions

Tag: ApplyAndReload

Example Scripts

<EditSelected KeepAlive="False">
XML
<ytriaAutomation>
	<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>
XML

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.