Deselect entry previously selected in an embedded view

I have an embedded view in a document where the user selects some documents to be deleted. Before the deletion, i confirm it. If the user selects “Yes”, the document is deleted, if “No” is selected, nothing is done with the document, but it keeps selected on the embedded view. I tried “Call workspace.ViewRefresh”, is works when the deletion is made by the view itself, but doesn’t work when it’s done by the doc where the embedded view is.

Can i deselect these documents?

Thaks in advance,

Renata

Subject: Deselect entry previously selected in an embedded view

NotesUIView.deselectAll()

I do not remember trying it in an embedded view. I alway like to verify view.Count and ask the user before proceeding.

Subject: RE: Deselect entry previously selected in an embedded view

I tried this, worked ok when used by the view, but not when i use it by the document where the view is embedded…Thanks anyway!

Renata