We need to create Content Items in Channels in WEM programmatically with Java. So far I found the comments on importing WEM objects (OpenText Web Experience Management 8.5 Content Management SDK Development Guide.pdf) from XML. This is probably more about importing WEM objects that have been exported from WEM before (and may be modified). However, we need to create new Content Items and Channels. When I take a look at the XML export of channels, as for an example, I found several attributes that are obviously to be generated by WEM on channel creation.
My questions is: What is the preferred way of programmatically creating objects in WEM using Java. Is it by means of certain API methods - which ? or is it by importing XML - how to get the values for the system ids (or exclude them from XML?) ?
xml fields in question are e.g. :
<VignVCMId>75411ec6ecd40410VgnVCM100000146d91c3RCRD</VignVCMId>
<page-ref>601bf5cd85080410VgnVCM100000146d91c3RCRD</page-ref>
<id.id>65411ec6ecd40410VgnVCM100000146d91c3____</id.id>
Thanks,
Ralf