Domino server doesn't contain any functionality to do this for you -- it would require a fair bit of custom coding. But it could be done.
The most straightforward way would be by way of a Java applet that reads the view's data via XML (ReadViewEntries URL command) and uses the Java/CORBA interface to modify data on the Domino server. I don't offhand know anyone who's done this, but if you search around the code libraries listed in today's blog, you might find something.
Another option is to use a lot of passthru HTML in the view. There's a view option to do the whole view as passthru, or you can use [square braces] to designate just the column data as passthru and let Domino generate the enclosing tables for you. I'm going to assume Domino server 6 or later -- you could do it with earlier versions, but the formulas would be different. You would have a first view column that generates a form tag:
"[<form method=\"post\" action=\"" + @WebDBName + "/someview/" + @Text(@DocumentUniqueID) + "?SaveDocument&FromView\">]"
Then for each field in the view, you have to create the passthru HTML for the field to edit that form. For example, if it were a yes/no field, you might generate the passthru for a <select> tag. Note, of course, that you have to supply the current data as the default value, and that means that you have to convert any characters that don't work in HTML, such as <, > and &, to their corresponding &codes. The @ReplaceSubstring function works nicely for this. Then in the final column, you might have the passthru HTML for a "submit" button, and the </FORM> tag.
Alternately, you could have just one <FORM> tag, your view columns still with the passthru, and just a single Submit button for the whole screen. That would be easier for the user -- but then you can't submit it to a form. You would have to use an OpenAgent URL in the "action" attribute of the <FORM> tag. The agent uses the Request_Content CGI variable to read off all the fields from each row (you could use @DocNumber to give them each different names), including a hidden field that lists the document UNID for that row. Then the agent would locate the documents in question and update their fields, finally using [[double square brackets]] to return a Web page that redisplays the view with the changed data.
All this is just of the top of my head. I haven't tried any of it and would not be surprised if there's some obstacle I haven't thought of.
Dig Deeper on Web Development for Lotus Notes Domino
Related Q&A from Andre Guirard
Learn how you can use LotusScript and OLE to create and populate Microsoft Excel spreadsheets, as well as a little bit about Lotus Symphony. Continue Reading
Discover options you can use if you'd like external users to be able to access a workflow-based Notes Domino application through different ... Continue Reading
Learn why you may receive the error message: "Illegal circular use: Audit Trail" when trying to open Lotus Notes documents that use copied forms. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.