Entry Not Found In Index - With No @DBLookups!

Hi, i’m using the following link in a web View called TimeSheets:

“<a href=‘’ onClick="Javascript:window.open('TimeSheets/”+UNID+“?OpenDocument’,‘test’);return false;">”+Store+“”

I get an “Entry Not Found In Index” error. I’ve just created the document, the link opens in a new window and the URL is fine :

http://132.147.5.100/Dev/Lee/TS2.nsf/TimeSheets/D0AE5F042413149280256DDB005132D1?OpenDocument

I’m not using any DBLookups in my code, so i’m wondering what alternative possible causes there are for this error message?

Subject: Entry Not Found In Index - With No @DBLookups!!

With the help of Ben Poole, i’ve got the above problem solved. The error was caused because I was setting my UNID field to Computed When Composed, which was actually giving me an incorrect UNID.

When I changed the field to Composed and re-saved the document, the link works fine. It seems that the doc gets one UNID when it’s composed, and it’s changed when it’s saved. I never knew this one…

Subject: The document has NO UNID until it is saved i.e. it should be = “”.

Subject: RE: The document has NO UNID until it is saved i.e. it should be = “”.

Hi Bill,

I find that, with a Computed When Composed field, a UNID is created, though as has been mentioned it changes when it’s saved.

So I don’t know where it picks up the original.

Subject: Did you have another document highlighted when you were composing the doc?

Subject: Entry Not Found In Index - With No @DBLookups!!

The error has nothing to do with @DbLookup, and everything to do with Domino not being able to get a handle on the document in that view.

I think you’re saying that the full URL you provide does work, so this suggests that something is going awry with the “UNID” variable referenced by the Javascript. You might want to check that. Whilst it may contain a value that looks like a valid unique ID, are you positive that this is the value you’re expecting (“D0AE5F042413149280256DDB005132D1” in your example)?

I’m not 100% sure about this, but I think it’s the case with Domino that when you create a document, an initial UNID is generated, which may well change when the document is saved. Take a look at the UNID specified in document properties on the in the notes:// tab.

Subject: RE: Entry Not Found In Index - With No @DBLookups!!

Thanks for that Ben. I’m computing the UNID with @Text(@DocumentUniqueID), and i’m using a Computed When Composed field, so you may well be spot on.

I’ll check it out tomorrow morning and post a response here if anyone’s interested.

Thanks for the suggestion.