Deleting Documents

Hi,

After closing a particulr item that has been forwarded from the view (by closing the tab), I want to be able to delete the underlying document. I am adding a customization to l_stdpagetab after AAA.EVI.sr(3, ‘’, ‘Panel ’ + EWx[i] + ’ is being closed.’) as follows:

var theForm = AAA.EcK.forms[‘h_PageUI’];

theForm.target = “”; theForm.h_SetDeleteList.value = ; theForm.h_SetCommand.Value = “h_ShimmerHardDelete”; theForm.h_EditAction.value = “h_Next”;

the request is reaching the server but HTTP code 302 is returned and the document (corresponding to the UNID is not deleted).

Is there another way to do a hard deletion of a document (given a UNID). There is a method: ‘com_ibm_dwa_ui_actionDeleteDocument’ but this is not defined within this context?

Many thanks in advance,

Marc