Hi
We like to create RM Classifications dynamically using API, either CWS or RESTful API.
Rajender
An API to do that I doubt it maybe Rest but here’s how people before you have done it. The RM module has convenient transports built as XML file transfer from time immemorial. So what I do when I had to do this in 2006 was take the file plan which was in excel and build out 4 levels as in Primary/ secondary/ tertiary/quaternary. Then I went to the GUI and built a quaternary by hand exported the XML and wrote some VBA to do the full thing. Things I learned the nesting you have to build as if you try to want one rm classification to be a child then the parent has to exist first and so on. Then RM uses a ‘validating DTD’.I have used RM API’s to do things to nodes but I have not seen APIs make RM Classification Objects Perhaps now they have it. Old LAPI code had a way where one could create Classifications and RM Classifications through code but I do not know if SOAP or REST put in ways to do that.BTW its a very trivial tasks in REST to add it yourself if need be in Oscript.
This is SOAP RM API which does not create RM Classifications similarly there might be one for REST which I can't quite find.
https://knowledge.opentext.com/knowledge/piroot/llesrcm/v160204/llesrcm-pre/en/html/_manual.htm
BTW: Almost everything in RM at that time was portable using the RM built-in utilities. Perhaps now the "Transport Warehouse" may have it included.