Start a Conversation

Unsolved

This post is more than 5 years old

1180

October 28th, 2012 15:00

How to Connect to Documentum through Word VBA (DMCL vs DFC 6.7)

Are there any differences using Word VBA when trying to connect using Documentum Client Library (DMCL) as opposed to Documentum Foundation Classes 6.7 (DFC)?

Current Situaton:

Have a Word VBA macro that connects to Documentum via DMCL. The organization is making switch to DFC 6.7.

Are there any architectural/programmatic changes that need to occur in order for this type of macro to function without error using DFC 6.7? Is it a matter of referencing different libraries?

The MS Word macro currently has references to the following libraries as seen in image below:

refs.jpg

The main calls in use are:

Dim sessionID As String 

        Dim loginMgr As New DCLOGINMGRLib.DcLoginManager

      

        Dim liDocbase As String

        On Error Resume Next

        liDocbase = loginMgr.DocbaseName("s0")

        If liDocbase = "" Then

        liDocbase = loginMgr.DocbaseName("s1")

        End If

      

        'If already login then grab existing one

        If liDocbase = "" Then

        sessionID = loginMgr.Connect("", "", "", "", 0)

        Else

        sessionID = loginMgr.Connect(liDocbase, "", "", "", 0)

        End If

      

        If sessionID = "" Then

        GoTo Exit_Terminate

        End If

        Dim docbase As String

        Dim userOSname As String

        Dim user As String

        Dim domain As String

  

        Set cx = New DfClientX

        Set client = cx.getLocalClient

        loginMgr.GetSessionInfo sessionID, docbase, userOSname, user, domain

  

        Set session = client.findSession(sessionID)

Are there any architectural/programmatic changes that need to occur in order for this type of macro to function without error using DFC 6.7?

No Responses!
No Events found!

Top