例: GetDocumentByURL Method

次のスクリプトは、指定した URL のページのコピーを作成し、[個人 Web ナビゲータ] データベース「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")