we are developing an Netweaver Portal application which uses the KM DocService ActiveX to enable local editing of KM documents from within our application.
Until now, we learned on how to deal with the ActiveX by using browser developer tools and inspecting how Netweaver KM does it.
So far, it's working good, but I'd like to improve it.
Is there any API documentation available?
Especially I am interested in getting some result status from the ActiveX object whether the actions "Download" (i.e. checkout), "Upload" (i.e. checkin) or "Delete" (i.e. cancel checkout) were successful or whether some error occured.
I've inspected the ActiveX object, especially (let's say KMDocService is my ActiveX object) there is KMDocService.object.status.
During my analysis I discovered these status codes:
- 0: at start
- 10: document downloaded an checked out
- 20: document uploaded (checked in)
- 40: checkout cancelled (action "delete")
- 11: Download failed
- 23: Upload failed
Is my analysis on these codes correct?
Are these status codes consistent over all versions of the KM DocService ActiveX?
Are there more status codes which can occur?
Any further information is highly appreciated!