Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
I can get all the collections by the following codeTaminoStore store = new TaminoStore(“http://localhost/tamino/mydb”,userID,passWD);Iterator iter = store.getCollectionNames().iterator();while (iter.hasNext()) { String coll = (String) iter.next(); System.out.println("Collection : " + coll); }How can I get the list of docType in a collection?Can you give sample code?Thanks.
The TaminoStore doesn’t have a getDoctypesNames method. However, its quite easy to add one. You could use the getCollectionNames method as a starting point and replace the getCollectionNames call inside with a getDoctypeNames call.MichaelSoftware AG Germany, Darmstadt