I have a view with an action that calls a simple LotusScript agent that runs on all selected docs in the view.
It sets a new value to a field in each doc.
This new value is then visible in the view.
When I click the action it acts on the selected docs which it finds with dc = db.UnprocessedDocuments.
dc.Count is equal to the number of docs selected.
So far so good.
I have embedded this view in a form and create a doc with this form so the view can be seen in context (= 'context' doc)
Now, when I click on the action at the top of the embedded view, dc = db.UnprocessedDocuments returns only one document which is the current 'context' document, not the documents selected in the view.
I developed this agent earlier specifically to use withing the embedded view and am convinced it was working.
I have rebooted in case Notes had got confused but no change.
Why is this happening?
How can I make the view action in the embedded view actually act on the view docs?
This is stopping me progressing so any suggestions welcome.