home |   products |   partners |   news |   forum |   contacts |
HummingbirdTools.com

Useful third-party tools for Hummingbird DM / RM / Workflow / Portal

 Home  > Products > XML-based import for Hummingbird DM > Online Help
Home    XML-based import for Hummingbird DM - Online Help

Download demo-version NOW!
Prev Next
Welcome
Main features
SQL queries
Global and local variables
Working with documents (create/update/search/remove)
Working with folders (creating/removing/updating searching for folders/adding and removing documents)
Updating numerous documents with one operation
Using references to items
Processing errors
User interface
User interface overview
Defining global variables
Specifying logon parameters for Hummingbird DM
Program settings
XML scheme
XML scheme description
Pseudo scheme
Elements
ACCESSRIGHTS
ACTIONS
ADD_ITEM
CONTENT
CREATE_ATTACHMENT
CREATE_VERSION
DOCUMENT
FIELD
FOLDER
GROUP
HBXMLIMPORT
PROFILE
PUBLISH_VERSION
QUERY
REMOVE_ITEM
SEARCH
SECURITY
USER
VARIABLE
F.A.Q.
Examples
Requirements
Demo version limitations
Licensing, prices, technical support

Global and local variables

 

An XML file can contain variables whose values can change in different files or in one file during the import process. Currently, there are no variables with preset names or values. You can define any number of variables you need. There are variables of two types - static and SQL. The values of static variables are set explicitly at the moment when the XML file is created (but the value of a variable may change in different places of the file). The value of an SQL variable is the result of an SQL query.

 

Sample static variable:

<VARIABLE name="FORM" type="static" onerror="break">DEF_PROF</VARIABLE>

 

Sample SQL variable:

<VARIABLE name="TYPE_ID_SYSTEM_ID" type="SQL" onerror="break">

            <QUERY>

                        SELECT SYSTEM_ID FROM DOCSADM.DOCUMENTTYPES WHERE TYPE_ID = 'DEFAULT'

            </QUERY>

</VARIABLE>

 

The value of a variable can be used in any place of an XML file by inserting the name of the variable enclosed by percent characters.

Example:

<PROFILE form="%FORM%">

 

Or

<DOCUMENT .>

<SEARCH .>

<QUERY>

            SELECT DOCNUMBER FROM DOCSADM.PROFILE WHERE DOCUMENTTYPE = %TYPE_ID_SYSTEM_ID%

</QUERY>

</SEARCH>

.

</DOCUMENT>

 

 

Variables can be global (defined in the program settings) or local (defined in the XML file).

 

Please see the detailed description of the VARIABLE element

Contact Us · Legal · Privacy · Site Map © HummingbirdTools.com All Rights Reserved.