Web View with Multi-Select Checkboxes for Selecting and Processing Multiple Documents

Mindwatering Incorporated

Author: Tripp W Black

Created: 11/04/2003 at 11:21 PM

 

Category:
Notes Developer Tips
JavaScript, ViewTemplates

The code below is sample code that allows a user to select and approve multiple documents. It is based on the Lotus web selection code introduced in 5.05 for selection and deletion. It has an extra component in that it posts to a "dummy" form which kicks off the "real" agent which processes the user selected documents. This allows the code to be adapted for many diverse possibilities.

web_select_approval.txt

Note:
Left out of these instructions is to add a $$SelectDoc field (multivalue / text / editable / HTML, "type=\"hidden\"") to the $$ViewTemplate form. Add the fields in HTML format as passthru HTML - the view is naturally in read format. (I also tend to add it to the temporary/hack form, as well.)

previous page