We are currently using content server SP2 and we have a requirement to capture DataId of the document being deleted in a custom table based on metadata value. We have planned to implement this using CBDelete Nodecallbacks.
We created a custom module , orphaned NodeCallbacks, Enabled the object, set fsubtype to Undefined, fApplTypes to 144, build Ospace and saved the module. We overridden the CBDelete according to our requirement.
However , when we delete a document our CBdelete callback is not being executed. Just added echo to other CB callbacks like CBdeletepre , CBdeleteinfo and CBCreate. All other callbacks are being called , but not our CBdelete. Also tried to delete the document from Undelete Workspace ( Just to check if this is being called after document is being purged)
We don’t have recycle bin Module installed as well. Please let us know where are we doing wrong?
Also wanted to know , if any Folder containing documents is being delete , then will it call CBDelete for all the subitems ? If no then in this case what Object is it advise to override. NodeDeleteSubclassPost ?
Thanks,
Hari