Examples: GetDocumentByURL Method

This script creates a copy of the page at the specified URL and stores it in the Personal Web Navigator database, MYURLDB.NSF.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim webDb As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set webDB = session.getDatabase("","myURLdb.nsf")
Set doc = webDB.GetDocumentByURL("http://www.notes.net/
notesua.nsf/f84c48e2e594b4338525665e0056fba4/
0f3e22f4ea8746068525666e005adde0?OpenDocument")