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

SQL queries

 

An XML file can contain QUERY items that perform SQL queries to the database.

 

NOTE: If you use Hummingbird DM 5.1.0.5 or later, you should activate the «Allow SQL Passthrough» option in the Library Maintenance tool to be able to perform SQL queries. See Requirements for additional information.

 

Queries can modify data in various tables.

<QUERY onerror="break">UPDATE DOCSADM.DOCUMENTTYPES SET MAX_VERSIONS='200' WHERE TYPE_ID='DEFAULT'</QUERY>

This query will set the maximum number of versions to 200 for a document of the 'DEFAULT' type.

 

Or add new records to tables:

<QUERY onerror="break">INSERT INTO DOCSADM.MY_CUSTOM_TABLE (FIELD1, FIELD2) VALUES (1,2)</QUERY>

This query will add a new record to the table MY_CUSTOM_TABLE.

 

Or delete records from tables:

<QUERY onerror="break">DELETE FROM DOCSADM.MY_CUSTOM_TABLE WHERE FIELD1=1</QUERY>

 

Besides, the results of SQL queries can be saved to variables for future use (see VARIABLE for more information) and used to search for documents in order to update them or check if document with the specified parameters exist in the library (see DOCUMENT / SEARCH for more information).

 

Please see the detailed description of the QUERY element.

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