APPLICATION DESIGN
Caution If the database property "Do Not Allow URL Open" is set, these URL commands are disabled.
Note The URLs shown below are for example only. They do not point to existing Web sites.
Redirect
Syntax
http://Server/Dummy.nsf?Redirect&Name=notesserver&Id=To=encodedurl
Where:
http://mercury.com/dummy.nsf?Redirect&Name=Mister%2FHankey&Id=0525666D0060ABBF&To=%FAView%3FOpenView
Note If you force a logout using the ?Logout command, you can redirect to another Web site using the &RedirectTo parameter.
OpenDatabase
http://Host/__DatabaseReplicaID.nsf?OpenDatabase
Examples
http://www.mercury.com/leads.nsf?OpenDatabase
http://www.mercury.com/sales/discussion.nsf?OpenDatabase
http://www.mercury.com/__852562F3007ABFD6.nsf?OpenDatabase
OpenView
http://Host/Database/ViewName?OpenView
http://Host/Database/ViewUniversalID?OpenView
http://Host/Database/$defaultview?OpenView
http://www.mercury.com/leads.nsf/By+Salesperson?OpenView
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F300702264?OpenView
http://www.mercury.com/leads.nsf/$defaultview?OpenView
Optional arguments for OpenView
Append optional arguments to refine the URL. Combine any of the following arguments for the desired result except where otherwise noted.
Collapse=n
Where category is the category to be displayed in the view.
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?OpenView&CollapseView
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?OpenView&ExpandView
http://www.mercury.com/leads.nsf/By+Category?OpenView&RestrictToCategory=pricing
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?OpenView&Start=3&Count=15
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?OpenView&StartKey=F
ReadViewEntries
Use this command to access view data in XML form without appearance attributes such as fonts, list separators, date formats, HTML settings, view templates and frame redirections.
Note This command only returns the documents a user is allowed to access.
http://Host/Database/ViewName?ReadViewEntries
http://Host/Database/ViewUniversalID?ReadViewEntries
http://Host/Database/$defaultview?ReadViewEntries
http://www.mercury.com/leads.nsf/By+Salesperson?ReadViewEntries
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F300702264?ReadViewEntries
http://www.mercury.com/leads.nsf/$defaultview?ReadViewEntries
Optional arguments for ReadViewEntries
ResortDecending=column number
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?ReadViewEntries&CollapseView
http://www.mercury.com/leads.nsf/By+Category?ReadViewEntries&Endview=1&Count=3
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?ReadViewEntries&ExpandView
http://www.mercury.com/leads.nsf/By+Category?ReadViewEntries&NavigateReverse=1&Start=50
http://www.mercury.com/leads.nsf/By+Category?ReadViewEntries&outputformat=JSON
http://www.mercury.com/leads.nsf/By+Category?ReadViewEntries&PreFormat
http://www.mercury.com/leads.nsf/By+Category?ReadViewEntries&RestrictToCategory=pricing
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?ReadViewEntries&Start=3&Count=15
http://www.mercury.com/leads.nsf/DDC087A8ACE170F8852562F30070226400000196?ReadViewEntries&StartKey=F
http://www.mercury.com/leads.nsf/By+Department?ReadViewEntries&StartKey=312&KeyType=number
OpenAbout
Use the OpenAbout command to access the "About This Database" document.
http://Host/Database/$about?OpenAbout
Example
http://www.mercury.com/leads.nsf/$about?OpenAbout
OpenHelp
Use the OpenHelp command to access the "Using This Database" document.
http://Host/Database/$help?OpenHelp
http://www.mercury.com/leads.nsf/$help?OpenHelp
OpenIcon
Use the OpenIcon command to access the database icon.
http://Host/Database/$icon?OpenIcon
http://www.mercury.com/leads.nsf/$icon?OpenIcon
See Also