Skip to main content
Skip table of contents

Edit ACL Entries

Tag: EditEntries


The action EditEntries, along with the applicable SetParam child actions, lets you automate the ACL editing options found in the Attributes Panel.



Detailed Description

None of the SetParam options are mandatory. If they are not set within the script block, they will not be changed.

SetParam Options

Field NameCompatible Field ValuesValue Description
CreateTrue / False

N/A

DeleteTrue / False

N/A

CreatePrivateAgentsTrue / False

N/A

CreatePrivateFoldersTrue / False

N/A

CreateLSAgentsTrue / False

N/A

ReadPublicTrue / False

N/A

WritePublicTrue / False

N/A

ReplicateOrCopyTrue / False

N/A

TypeExact display text of the dropdown menu item or Index value integer

This is can also be set with the Index field attribute and an integer value

Dropdown menu text conforms to the installed product language, the Index value is always compatible

AccessExact display text of the dropdown menu item or Index value integer

This is can also be set with the Index field attribute and an integer value

Dropdown menu text conforms to the installed product language, the Index value is always compatible

ApplyClick

N/A

ResetClick

N/A

Example Scripts

XML
<EditEntries>
	<SetParam Field="Create" Value="true"/>
	<SetParam Field="Delete" Value="true"/>
	<SetParam Field="CreatePrivateAgents" Value="true"/>
	<SetParam Field="CreatePrivateFolders" Value="true"/>
	<SetParam Field="CreateSharedFolders" Value="true"/>
	<SetParam Field="CreateLSAgents" Value="true"/>
	<SetParam Field="ReadPublic" Value="true"/>
	<SetParam Field="WritePublic" Value="true"/>
	<SetParam Field="ReplicateOrCopy" Value="true"/>
	<SetParam Field="Type" Value="Person"/>
	<SetParam Field="Access" Index="3"/>
	<SetParam Field="Apply" Value="Click"/>
	<SetParam Field="Reset" Value="Click"/>
</EditEntries>
XML
<ytriaAutomation>
	<Load Server="ACME01/ACME" Partial="True">
		<Load Database="activity.ntf" Select="True"/>
		<Load Database="admin4.nsf" Select="True"/>
		<Load Database="admin4.ntf" Select="True"/>
	</Load>
	<Select Lines="ByValue">
		<SetParam ColumnID="ACL4" Value="server group"/>
	</Select>
	<EditEntries>
		<SetParam Field="Type" Value="Person"/>
		<SetParam Field="Access" Index="6"/>
		<SetParam Field="Apply" Value="Click"/>
	</EditEntries>
</ytriaAutomation>

In the script above, the databases "activity.ntf", "admin4.nsf", and "admin4.ntf" found on server ACME01/ACME will be loaded into aclEZ selection tree and the main grid. The rows that contain the value "server group" in the Type column will be selected, and the properties "Type" and "Access" will be set to "Person" and "Manager" respectively. These settings will be applied by using the "Apply" field option.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.