We have some custom delete task(done by perl script) working as expected.1. User invokes a delete action (through File Menu->Delete) 2. File is deleted from Workarea first.3. Changes are submitted to staging through "iwsubmit" to delete the file from staging.4. final step deletes file from webserver through Open deploy mechanismBut now, some users want to keep the file in workarea but want to delete it from STAGING and webservers. Can we do this? My understanding is we need to delete in WA first and submit those changes to staging. How can we bypass the workarea delete step? any ideas?ThanksJeff
It's easy to do, but...An idea to keep in WAs non-private assets removed from STAGING is extremely bad one. It goes against TS architecture, ramifications can be very unpleasant. What do "some users" really need? TS provides you with history, versioning, etc... For example, Publish an Edition of your STAGING Area before deleting the File and you will have recoverable Version without creating orphans
I am back on this thread again. I am thinking to do this way.1. Create a temporary backup folder (in the workarea) to hold the files to be deleted.2. Copy files/folders to be deleted to temporary backup folder (as a backup).3. Execute regular deletes (workarea->staging->webservers) in the workarea.4. Dump the files/folders back from temporary backup folder to the workarea.5. Delete the temporary backup folderGhoti, this is similar to your suggestion but I modified little bit in step 1. Rather than creating a separate workarea I am creating a new temporary folder. Am I doing anything wrong here? can you confirm?Also, which perl command I should use to copy directories (iwcp or XCOPY??). I read lot of postings in this forums but found nothing useful about copying directories from a custom perl script. any ideas??TS 6.1 on w2k3Thanks- Jeff