We are trying to dynamically create the structure of a Book using Java-API.
When trying to add a new Part of the Book using the Collection “Book Part Element” and MegaCollection#add(String name), it doesn’t work complaining about adding to a generic Collection.
How can we tell the API to add a new Object of type “Book Part” to this collection? When using the Object explorer and clicking “new”, a Dialog appears to allow choice of the MetaClass.
In a certain extend, it is possible to use API script to manage the content of a book
See in the Knowledge Base