Skip to Content
author's profile photo Former Member
Former Member

KM DocService ActiveX API available?

Hello,

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!

Kind regards,

Sascha.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 11, 2014 at 04:27 PM

    Hello Sascha,

    unfortunatley I do not have any further information, but I would be very interested to hear how exactly you managed to call the KM DocService ActiveX from within your own application.

    We are currently working on a similar project, but have not succeeded in using the KM DocService ActiveX yet. When we take the code snippet (that KM uses when using DocService)

    <OBJECT ID="KMDocService" CLASSID...

    ...

    ...

    </OBJECT>

    and call document.KMDocService.status; we get status = 0; however if we then call document.KMDocService.go(); no download happens and status changes to 11.

    Could you detail how you managed to enable local editing in your application? Any information would be much appreciated!

    Regards,

    Carsten

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.