Manage Learn to apply best practices and optimize your operations.

Opening Database elements in Notes Client

Sometimes in lotusscript it is not possible to open other notes databases or other database elements like views folders, documents, pages, framesets etc. A solution to this problem is by using the OpenURL method of the notesuiworkspace class.
To open a notes database use:
Call ws.Urlopen("Notes://serverName/DatabaseName")
Example:
Call ws.Urlopen("Notes://Notes2000/Intranet/Store.nsf")
Note: Instead of the database name you can use the database replica id.

Similarly to open a view/folder use:
Call ws.Urlopen("Notes://serverName/DatabaseName/ViewFolderName")
Example:
Call ws.Urlopen("Notes://Notes2000/Mail/nverma.nsf/Inbox")
Note: Instead of the view/folder name you can use the universal id of the
 view/folder.

To open a document use:
Call ws.Urlopen("Notes://serverName/DatabaseName/ViewFolderName/documentUniqueID")
Example:
Call ws.Urlopen("Notes://Notes2000/Mail/nverma.nsf/Inbox/38D46BF5E8F08834852564B500129B2C")

To open a page use:
Call ws.Urlopen("Notes://serverName/DatabaseName/PageName?OpenPage")
Example:
Call ws.Urlopen("Notes://Notes2000/Mail/nverma.nsf/Calendar Picker?OpenPage")

To open a frameset use:
Call ws.Urlopen("Notes://serverName/DatabaseName/FramesetName?OpenFrameset")
Example:
Call ws.Urlopen("Notes://Notes2000/Mail/nverma.nsf/CalendarFS?OpenFrameset")

Dig Deeper on Domino Resources - Part 5

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close