Many times the URL which is passed to DominoPDF needs to be "built" in LotusScript code.
The examples below demonstrate techniques for meeting this requirement.
URL for Notes View
The URL for a Notes view can be built by referencing the NotesView.Name property.
By using the host and database examples above a URL for a document can be built.
For example;
Dim session as New NotesSession
Dim oDB as NotesDatabase
Dim oView as NotesView
Dim oDoc as NotesDocument
...
Set oDB = session.Current Database
Set oView = oDB.GetView("Contacts")
sHost = "http://localhost/"
sDBPath = GetDBPath(oDB)
...
sURL = sHost & sDBPath & |/| & oView.Name & |/?OpenView|