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/