|
|
|
|
|
|
|
|
|
|
|
|
|
|
Integrating Domino.Doc with other applications (continued)
But in the above we've got the myODMAdoc, which is actually the "document" object that you will find in the "DominoDoc.Api" type library. Hence we are able to do whatever we want to do with the document, based on the API. For example:
ddFile = "c:\" + myODMAdoc.FileName
Call myODMAdoc.getContents(ddFile)
|
This will save the file you chose in the ODMA UI to "c:\".
Likewise we can use the API directly by using:
Set myAPI=CreateObject("DominoDoc.Api")
|
Now we can move around in the API type library, exactly as we did in the ODMA. After getting a handle to the API, you need to connect to a library by using:
Now get the binder or cabinet by calling methods of the library. You can even search for documents directly from the library. For example:
Set myResults=myLibrary.SearchDocuments("FIELD dominopower='yes'")
|
And so forth. You'll see a more detailed example of how to use both the API and the ODMA in real life when you read my forthcoming articles in DominoPower.
Thomas Kocks, ex-Lotus employee, Domino developer, and integrator, can be reached at tkn@lotusdomino.dk.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done.
Native to Lotus Domino. The User Experience unseen for Lotus Domino.
Do more with less. Really.
See the possibilities Docova unleashes for Lotus Domino. |
-- Advertisement --
Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.
Register by April 10 to save $200. |
|
|
|
|
|
|
|
|
|
|