Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieveing Domino Person documents 1

Status
Not open for further replies.

serialhobbyist

Programmer
Aug 2, 2007
2
0
0
GB
I've worked out how to retrieve a NotesDocumentCollection of Person documents and filter them to get the actual document that I want. Now I want to store some kind of unique reference so that I can retrieve the document without going through the whole Search thing again. Is this possible? If so, what's the unique reference, and how do I use it to retrieve the document?

I'm used to running LDAP queries and I'm trying to use the Domino NAB the same way - I know there's an LDAP interface to the NAB but ours is read-only and I need to do updates. So, can I do this or am I using the wrong approach?
 
The only unique reference you need is the DocumentUniqueID. With that, you can just use a database object and retrieve the document with doc = db.GetDocumentByUNID(docID).
It can't get simpler than that.

Pascal.


I've got nothing to hide, and I'd very much like to keep that away from prying eyes.
 
Thanks very much - that's exactly what I was looking for. I'd gotten so used to looking in the Document Items (and treating them like properties) that I forgot that the document itself had properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top