Selecting Documents in an embedded view on the web

I have an embedded view in a form being displayed in the web. I want to select certain documents to be marked as invalid. Here is my code to create a checkbox in the view column: unid := @Text(@DocumentUniqueID);“[<input type="checkbox" name="Invalid" value="” + unid + “">]”

Here is my WebQuerySaveCode:

Sub Initialize

Dim session As New notessession

Dim db As notesdatabase

Dim doc,doc1 As notesdocument

Dim doc2 As notesdocument

Dim item,item1 As notesitem

Set db = session.currentdatabase

Set doc = session.documentcontext

Set item = doc.GetFirstItem( “Selection” )

Forall v In item.Values

Set doc1 = db.getdocumentbyunid(Cstr(v))

doc1.valid = “no”

End Forall

End Sub

It doesn’t get the unid that is set in ‘Selection’. Does anyone have any suggestions how to get this to work?

Thank you to anyone that can help.

Subject: This topic was just addressed in the R4/R5 forum

Or at least a topic very, very much like this one. Try this thread:http://www.lotus.com/ldd/46dom.nsf/ShowMyTopicsAllFlatweb/cc405992fc54b81e85256e3f0062fb74?OpenDocument