Home
TeamSite
Automatically open an iManage document from Access
Cathi
I am very new to this, so please forgive me if this a really dumb question.
All I want to do is to write a vba procedure (in Access 97) that will allow the user to automatically open an iManage document by document number. I was able to get it to launch DeskSite (version 6.05.00 (SP1a), but that's as far as I can get. I'm not even sure this is the correct approach.
What am I missing? I have GOT to figure this out.....can anyone help?
Find more posts tagged with
Comments
Migrateduser
I think you are using WorkSite, not WorkSIte MP,right? I'll see if I can have someone from the WorkSite team look at your question. In the future, you should post WorkSite posts here:
http://devnet.interwoven.com/forums/cgi-bin/postlist.pl?Cat=&Board=worksitent
regards,
lissa
jny
If you could in VBA of Access97 reference the imanage.dll and imanext.dll to consume their API's, then you can create a WorkSite session, query for the WorkSite document by number and version, and invoke the IManExtLib.OpenCmd to open this WorkSite document.
You would need the reference information, and the code examples, of the following SDK manuals:
iManCOMManual.pdf:
Chapter 2 Tutorial: Lesson 1 Logging in.
Chapter 3 Reference: NRTDatabase
imancom.HLP: Methods: GetDocument Method (NRTDatabase)
iManExtManual.pdf: Chapter 4: Command Object Reference: OpenCmd.
-- PLEASE NOTE: after the OpenCmd is successfully invoked, you must use the IManExt.OpenCmd.ING.FileLocation ContextItem to get the WorkSite checkout path, then open the file in Access using Access Object Model.
Please keep in mind that the SDK API's are COM Type Libraries thus you must be in a development environment that can consume COM.