Show collections


Is there a way to get a list with all collections from a DB? And a list with all doctypes?



Hi Marco,

With the ActiveX API you can simply query the ino:collection collection for tsd:schema documents. Each schema contains a tsd:schemaInfo element and this has children tsd:collection and tsd:doctype elements each containing a name attribute (the name of the collection and doctype resp.) So a query such as :


will get all schemas in the mydb database. You can process the information with DOM methods.

Hope this helps.

Stuart Fyffe-Collins
Software AG (UK) Ltd.

:slight_smile: Many thanks! This is exactly what I need!

Marco Loprete