Tag: EditSelected

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

0

<EditSelected KeepAlive="False">


XML

SetParam Options

Field NameCompatible Field ValuesValue DescriptionComment
InheritFromUser defined

N/A

N/A

ProhibitDesignRefreshTrue/ False

N/A

N/A

PropagateProhibitionTrue/ False

N/A

N/A

DoNotShowInMenusR4True/ False

N/A

N/A

HideFromWebTrue/ False

N/A

N/A

HideFromNotesR6True/ False

N/A

N/A

HideFromMobileTrue/ False

N/A

N/A

LanguageLanguage as found in the dropdown Multilingual Options list

N/A

N/A

SortOrderOption as found in the dropdown Multilingual Options list

N/A

N/A

UnicodeStandardSortingTrue/ False

N/A

N/A

RunAgentAsWebUserTrue/ False

N/A

N/A

AllReadersAndAboveTrue/ False

N/A

N/A

ReadersListUser

N/A

N/A

PublicAccessTrue/ False

N/A

N/A

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>
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.