The EditSelected tag, along with a set of SetParam child actions, allows you to automate the editing of design properties.
EditSelected
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.
<?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.
ApplyAndReload
Last Updated On: 10/31/2017