Deselecting documents in an embedded view

Hello:

I’m wondering if someone could give me a hint as to why this command isn’t

working as I think it should.

I have a form with an embedded view (notes client - not web).

The embedded view includes a view action that acts on whatever documents

a user has selected in the view (the document collection). Once the agent

has finished, I would like to deselect all documents in the embedded view.

At the end of the script I’ve added uiview.deselectall.

Based on HELP, this should do exactly what I want.

And it does… so long as I have only one document selected in the view.

If there are two or more documents selected, then it returns a "command

is not available" error. The command is not inside of any loop, it is

literally the very last line of the script.

Any ideas?

Cheers.

A.

Subject: Deselecting documents in an embedded view - RESOLVED nevermind.

Subject: RE: Deselecting documents in an embedded view - RESOLVED nevermind.

Perhaps you could post how you resolved this???

Subject: RE: Deselecting documents in an embedded view - RESOLVED nevermind.

can you tell… how you resolved…?? we are trying to do the same…

Subject: Deselecting documents in an embedded view - Bug???

If I run the agent ‘as is’ directly from the view itself (not embedded on the form) - then the .deselectall works perfectly.

Just upgraded server and client to 6.0.1 but this didn’t resolve the problem.