Delete document from embedded view

I have an embedded view in a form and i have to create a button to delete documents in this embedded view. I tried to use UnprocessedDocuments but it didn’t work.Can somebody help me how to do this?

Thanks in advance,

Renata

Subject: Delete document from embedded view

@Command([MoveToTrash]);@Command([EmptyTrash])

Subject: RE: Delete document from embedded view

This deletes the opened document that has the embedded view. I want to delete one document from the embedded view using a button in the document. Any suggestions??Thanks anyway!

Renata

Subject: Works okay for me

I tested both a button and an action hotspot on a PAGE and FORM containing an embedded view and it works fine. If your view is embedded in a DOCUMENT then you will probably have to use a view action button as others have suggested.

Subject: RE: Delete document from embedded view

You need to put the action in the embedded view, not the form containing the view.

Subject: RE: Delete document from embedded view

And don’t forget to check “Show action bar” on the embedded view properties (new in R6).

Subject: RE: Delete document from embedded view

So, i can’t do it by a button in the form??Well, if there is no other way i’ll add an action to the embedded view.

Thanks a lot!

Renata