Tag: ModifyUNID
The action
ModifyUNID
will emulate the process launched
by selecting the
'Document > Modify UNID…' option in scanEZ including all options available in the corresponding process dialog.
<ModifyUNID OriginalNote="Delete" NewUNID="60CB5503BCA071F38525812F001991FD"/>
Tag Attributes
Attribute Name | Attribute Value | Value Description | Comment |
NewUNID | User defined | Any valid UNID string (hexadecimal, 32 characters) | Not Mandatory – If not used, the new UNID will be generated by the system. |
OriginalNote | Keep
Delete
DeleteNoStub | Defines the corresponding radio button options found in the 'Action' section of the 'Modify UNID' dialog. | Not Mandatory – If not used operation will default to "DeleteNoStub". |
Detailed Description
Options available in the 'Modify UNID' dialog can be specified using the tag attributes.
Example Script
<?xml version="1.0" encoding="UTF-8"?>
<ytriaAutomation Application="scanEZ">
<Load Server="ACME01/ACME" database="maildbtest1.nsf"/>
<Expand Category="Documents" Target="Tree"/>
<Focus Target="Tree" category="ByNoteID" value="h902"/>
<ModifyUNID OriginalNote="keep" NewUNID="60CB5503BCA071F38525812F006886FD"/>
</ytriaAutomation>
In the script above, the replica of database "maildbtest1.nsf" found on the server "ACME01/ACME" will be loaded in scanEZ. The category 'Documents' will be expanded, and the focus set on the document with the noteID "h902". The action ModifyUNID
will trigger the 'Modify UNID…' operation. The values specified in the attributes state that the original note will be kept. Thus, a new note will be created with the UNID defined by the NewUNID attribute value.