NoteID Issue

I have looked up the Help documentation about this and it tells me that the value doc.noteid should equal the value displayed in the document properties.Using this code:

Dim session As New NotesSession

Dim db As NotesDatabase

Dim view As NotesView

Dim entry As NotesViewEntry

Set db = session.CurrentDatabase

Set view = db.GetView(“By Category”)

Set entry = view.GetEntryByKey(“Volkswagen”)

Messagebox entry.NoteID

Using the above code entry.Noteid =105A6 for a particular document.

Yet when you look up the document the NoteID in its properties is NT0000105A6.

Prior to upgraded from 5.0.9 to 6.5.2 I was not getting any problems with NoteID. In our production system the agent uses this code to produce a url: http://servername/vwNonDraftRequests/entry.noteid?opendocument

This now fails. Can some one educate me about noteid and using it in a url. Has something changed.

Subject: NoteID Issue

NoteID is an unique identifier for a certain document in a database. They are not the same in all replicas of this database (but unid is).

I don’t see any problem here.

this NT000105A6 is just another notation, same as 105A6.

i’m no webexpert, but arent docs usually refered by their unid (cause they work even for other replicas / clusters - maybe that link is opened in a cluster (which this doc has different noteid)?

or there’s something wrong with url, don’t know…

try to use http://servername/view/unid?opendocument

(unid you’ll get from notesdocument.documentuniqueid)

Markus Seitz

markus.seitz@icodex.com