Resolve (NotesSession - LotusScript®)

Returns the Domino® object that a URL addresses.

Note: This method is new with Release 5.0.2b.
Note: Prior to Release 6, this property was supported in COM only.

Syntax

object = notesSession . Resolve( url$ )

Parameters

url$

String. A URL that addresses a Domino® object.

Return Value

unknown

A NotesDatabase, NotesView, NotesForm, NotesDocument, or NotesAgent object.

Usage

The general forms of URLs that address Domino® objects are as follows:

protocol :// host / database ?OpenDatabase

protocol :// host / database / view ?OpenView

protocol :// host / database / form ?OpenForm

protocol :// host / database / document ?OpenDocument

protocol :// host / database / agent ?OpenAgent

For local calls, the protocol is "notes" and the host is empty, so the URL starts with "notes:///" ("notes," colon, and three slashes).

The database can be specified by name or replica ID. The name can include spaces (you can substitute plus signs for the spaces but it is not necessary). The name need not include the type suffix if it is NSF. The replica ID can be specified as the 16-digit ID by itself or the 16-digit ID prefixed by two underscores and suffixed by the file type (for example, ".nsf").

The view, form, document, or agent can be specified by name, universal ID, or note ID (not recommended because note IDs change between replicas).

The action (following the question mark) must be specified.

You can use NotesURL or HttpURL in NotesDatabase, NotesView, NotesForm, NotesDocument, or NotesAgent to specify the URL.

Example