dms.GetUserTrayObjects

This job returns both typed and typeless objects from the logged-in user’s tray. The result is returned in DMS Content format. The same output format options apply as for the job dms.GetResultList.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Flags to control the output format
0x00000010 (16) = XML result is returned as a file, otherwise as buffer

2. Output Parameters

Name Type Dependency Description

TotalHits

INT

Number of objects in the user tray

[Result]

BASE64

Optional

Object list in DMSContent XML format (when Flags is not 0x00000010 (16))

3. Output Files

Name Description

[FileCount]

only one file is always returned

[FileList]

Name and path of the DMSContent XML file containing the hit list

4. Return Value

(INT): 0 = Job successful, otherwise error code
Complete list of error codes

For output (HOL format):
<DMSContent format="HOL" version="4.60.617.4328" timestamp="2004-12-03T14:25:01" user="LIEBE" station="MLIEBE">
  <Archive name="Pressearchiv" id="1" osguid="8EE74447EFC7430F8793F2939A9C044F">
    <ObjectType name="Word-Texte" id="262144" maintype="4" cotype="0" osguid="838360EF620443EF9A66A280CF52F4AE" type="DOCUMENT" modul="WINDOWS" table="object2">
      <ObjectList>
        <Object id="73145">
          <Fields>
            <Field name="links" system="1" datatype="INTEGER" dbname="links" ostype="9" osguid="1114" size="10"> 0 </Field>
            <Field name="anzahl" system="1" datatype="INTEGER" dbname="anzahl" ostype="9" osguid="1101" size="10">1</Field>
            <Field value="2" name="flags" system="1" datatype="INTEGER" dbname="flags" ostype="9" osguid="1102" size="10"> NOT_ARCHIVABLE </Field>
            <Field value="0" name="lockuser" system="1" datatype="INTEGER" dbname="lockuser" ostype="9" osguid="1116" size="10"> UNLOCKED </Field>
            <Field value="4" name="haupttyp" system="1" datatype="INTEGER" dbname="haupttyp" ostype="9" osguid="1108" size="10"> WINDOWS </Field>
            <Field name="Autor" datatype="TEXT" dbname="feld1" ostype="X" osguid="F60B3D9B9E9C4FE8AE6CB78E4DE25826" size="50"> Liebe </Field>
            <Field name="Quelle" datatype="TEXT" dbname="feld2" ostype="X" osguid="E3EDAF50F4F4404C860E6043D7894272" size="150"> Quelle1 </Field>
            <Field value="4711" name="Text2" datatype="TEXT" dbname="feld3" ostype="X" osguid="18C0D7D305DE40BB87A160B1115FC2A3" size="50"> Dokumententext </Field>
          </Fields>
        </Object>
      </ObjectList>
      <Statistics startpos="0" pagesize="-1" total_hits="1"/>
    </ObjectType>
  </Archive>
  <TypelessObjects>
    <TypelessObject id="61359" maintype="2" module="BLACKWHITE" user="LIEBE" timestamp="18.10.2002 11:19:10" pagecount="1"/>
    <TypelessObject id="61360" maintype="2" module="BLACKWHITE" user="LIEBE" timestamp="18.10.2002 11:19:12" pagecount="10"/>
    <TypelessObject id="63399" maintype="3" module="COLOR" user="LIEBE" timestamp="21.01.2003 15:23:36" pagecount="1"/>
  </TypelessObjects>
  <Messages/>
</DMSContent>