Deletion Agent

The manually run Agent should allow documents to be marked for deletion. These records will then be removed from all live views but should be displayed only in a system administration view.

And for each deletion of the document a new form/doc should be created prompting the user to input why they are deleting the document.

Basically i want to catch the document which is set for deletion and move it from a particular view to Admin view. But how and where can i implement this code.

Please can anyone help me in this agent.

Thanks in advance.

Regards,

Pam

Subject: Deletion Agent

You can write a manual agent.

Subject: Deletion Agent

use the QueryDocumentDelete database event to capture the deletion attempt. Here you can prompt your user for the reason for deleting the doc. To exclude the doc from all views just add a field to the doc or key off a value and use that in your view selection formulas to either include or exclude it from the view.