Update Rows Demo - All Documents
About This Demo
What you see here is a normal Notes View ("Treat as HTML"). It's inside a PassThru form, which POSTs all fields to an Agent. The agent loops each document (one per row of table) and updates the backend values with those passed.
Try it out by changing as many of the columns as you like in as many of the rows as you like. Press the "Update" button and the code will run and then return you back to the view where the new values then display. You can check this out by opening any given document using the link in the left-most column.
- All documents are saved, no matter whether they've changed or not!
- There's a 64KB limit associated with the Request_Content field. For the view above this equates to a limit of about 300 documents being processed. To raise the bar a litle you could use NoteID rather than UniversalID to save some valuable space (pushes the above form's limit to a staggering 500 rows). The limit on rows depends on how complex the form is. If you find yourself reaching the limit then you should of course be questioning your sanity. One word: pagination!