Unable to get document from data base by url

i needs to collect all information about NoteDocument selected in view (mail inbox for example).

bases on eclipse framework i obtailns “url” value like to “notes:///C3…3/3…2C/40…63”.

how i can select this document from db ?

Database.getDocumentByURL() returns object not filled yet.

correct result returns from DocumentCollection. search() method. but i unable to build query based on url value.

thanks for any recommendations or help

Subject: I think this will work…

  • The last part of the URL you indicate comes from the framework, 40…63 in your example, should be the universalid for the document. Pick that off and use Database.getDocumentByUNID().

Hope this helps…

Subject: thanks !

it works!