|
Working with folders
(creating/removing/updating searching for folders/adding and removing documents)
Since folders in
Hummingbird DM are
actually one of the types of documents, working with folders is virtually the
same as working with documents (see Working with documents for more
information) except that you must use the FOLDER element instead of DOCUMENT and
the ACTIONS element of the FOLDER element can contain actions specific for
folders:
Example:
< FOLDER
id="fldr"
action="create"
onerror="break">
<PROFILE
form="DEF_PROF">
<FIELD
name="DOCNAME">The
Jack's folder</FIELD>
<FIELD
name="AUTHOR_ID">JACK</FIELD>
<FIELD
name="TYPIST_ID">JACK</FIELD>
<FIELD
name="TYPE_ID">DEFAULT</FIELD>
</PROFILE>
<ACTIONS>
<ADD_ITEM
docnumber="%doc.DOCNUMBER%"
display_name="%doc.DOCNAME%"/>
</ACTIONS>
</ FOLDER>
|