dms.XMLUnknownToKnown
This job changes a typeless document to a document with a type. Typeless documents are either in the user tray or workflow tray. For this, either the job option INWFTRAY or INUSERTRAY should be activated, in addition the option 'ISTYPELESS' should be enabled. The type to which the document should be changed is set in the 'ObjectType' tag and the ID of the typeless document is in the 'Object' tag as the 'object_id' attribute.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
general options for the job (see Flags) |
|
STRING |
Yes |
semicolon-separated job options (e.g. INWFTRAY=1;CHECKACCESS=0) (see Parameter Options) |
|
BASE64 |
Yes |
contains object description in XML format (see DMSData XML Format and the parameter XML) |
|
STRING |
Yes |
determines the user context (see the parameter JobUserGUID) |
2. Return Value
(INT): 0 = Job successful, otherwise error code
Complete list of error codes
No job-specific return values.
| The following XML examples always contain all tags and tag attributes that can be used for the respective action. Unused tags or attributes can naturally be omitted. |
<?xml version="1.0" encoding="UTF-8"?>
<DMSData>
<Archive id="-1" internal_name="press_archive">
<ObjectType id="-1" internal_name="word_documents" type="DOCUMENT">
<Object object_id="54">
<Fields>
<Field internal_name="author">Testbenutzer</Field>
</Fields>
</Object>
</ObjectType>
</Archive>
</DMSData>