/ Forums / Advansys Formativ / Creating Solutions with Formativ / BUG: Retreiving the Subject of CurrentItem / Reply To: BUG: Retreiving the Subject of CurrentItem
September 9, 2008 at 6:26 pm
#8014
If the draft message view is open then you can delete the attachments using the code below. I haven’t tried with other scenario (message view not open, delete attachments using Object API, etc)
iTotalAttachments = GroupWise.ItemAttachmentGetCount("X00") if iTotalAttachments > 0 then for sndIntCounter = iTotalAttachments-1 to 1 step -1 msgbox groupwise.throwtoken("ItemAttachmentDelete(""X00"";" & sndIntCounter & ")", iReturnVal) next end if
Regards,
Advansys Support