You could remove the OOTB delete functionality...
And what will happen when somebody deletes a DCR using File System?
You let your users use windows explorer to delete files? man that's gotta be scary.
Not sure about you, but I code for various Audiences: Content Contributors, Business Users, System Administrators, Developers, etc...Admins and some Developers may have SFS Access. Also keep in mind that certain Deletions may be executed by Workflows,Customized Components, CGIs, Scheduled Scripts etc, both existing and perhaps future ones. I can easily see a Use Casewhere single module automatically maintains DCRs referential integrity
it's okay i'm relaxed (and i code for various users too) Well, the OP didn't say "how" the dcr is to be deleted and generally when dealing with TS the normal way I've seen files deleted are with workflow and the OOTB deletion. So, based on that info IMO the best route would be to do a custom deletion and replace the OOTB version. I thought about mentioning workflow but that should be handled through the custom deletion function anyway.Anything deleting files outside of TS GUI was either created by a Developer or Admin ,who should know the environment pretty well and should have coded their process properly to handle these deletes. Now if you're manually performing the deletes, well good luck to you because that's a poor way to go about it and opens you up to human error and no amount of coding is going to be able to help you there.
Hi,In one scenario, i want to Delete Master DCR but before deleting that master DCR, i want to delete all respective child browse in that master.For this scenario, i m not able to get any trigger on file deletion of DCR.I have checked file FSE events for delete. but not getting triggered.Please guide me here. how can i handle this scenario?TS 6.7.1
Ah, let's see... Instead of the single unified mechanism you would recommend the following (with three "should's")Mechanism #1: "do a custom deletion and replace the OOTB" ANDMechanism #2: "workflow [...] should be handled through the custom deletion function" ANDMechanism #3: "Developer or Admin [...] should know the environment [...] should have coded their process properly" ANDMechanism #4: Can not be done anyway - "no amount of coding is going to be able to help you there"That is certainly a valid way of doing things. Using Triggers is another, equally valid. Whichever one you like
the submit trigger only works if you've got files previously submitted to the staging area.
Thanks Adam. its working.... TS 6.7.1For display customize option after Delete option in File menu..but How can i get this "id" of Delete to add custom link below Delete option.?<iwov-move-before id="iw.ccstd.home.tasks.portlet">