Skip to main content
Skip table of contents

Remove Document from Folder

Tag: RemoveFromFolder

The action RemoveFromFolder will emulate selecting the option 'RemoveFromFolder…' found in the CheckBox Selection menu in scanEZ.


Detailed Description

All options available in the Remove Documents from Folder dialog can be specified by the tag attributes.

A document MUST be selected (Checkbox selection) in the selection tree in order to use this operation.

Tag Attributes

Attribute NameAttribute ValueValue Description
ShowName
Alias
NameAlias
Radio button options for folder info display within the 'Add documents to folder…' dialog Not Required - If not used, operation will default to "NameAlias".
ViewFolderListUser definableThe name and/or alias of the folder to select Required
ShowPrivateTrue / FalseEquivalent of 'Show Private Views and Folders' checkbox Not Required - If not used, created folder will not inherit from any other view or folder.

Example Scripts

XML
<RemoveFromFolder Show="Name" ViewFolderList="Folder1" ShowPrivate="True"/>
XML
<ytriaAutomation>
	<Load Server="ACME01/ACME" database="maildbtest1.nsf"/>
	<Select Category="ByNoteID" Target="Tree" Value="2314"/>
	<RemoveFromFolder Show="Name" ViewFolderList="Folder1" ShowPrivate="True"/>
</ytriaAutomation>

In the script above, the database "maildbtest1.nsf" will be loaded in scanEZ, and the document with noteID "2314" will be selected in the selection tree. The action RemoveFromFolder will then trigger the 'Remove from Folder…' operation and remove the selected document from the folder named "Folder1".

JavaScript errors detected

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

If this problem persists, please contact our support.