Quick tip: passing data

This combines a variety of already familiar ideas. A coworker was trying to pull some data to another platform with minimal itegration effort. Using “?readviewentries” plus the “&StartKey=” and “&Untilkey=” arguments causes Domino to return one (or a small number) document in XML format using the columns defined in the view. This is a great lightweight way to do that (assuming you have a somewhat unique key). Using a non-unique key will return multiple docs.

Examples:

http : //domain.com/MyDB.nsf/viewname?readviewentries&StartKey=101+Stratford+Rd&UntilKey=101+Stratford+Rd~

http : //domain.com/MyDB.nsf/viewname?readviewentries&StartKey=101&UntilKey=101~

Sometimes the best solutions are the simplest.

(spaces added to URLs so that they would not be hot)

Subject: Quick tip: passing data

Oh yeah, simply repeat the key with an additional char.