Ok, so in another incarnation I was working in a company that was using TS 5.5.2, and they had a custom menu item to allow ALL users to unlock their own files. It was a PERL script that was called with a CGI wrapper. The nice thing about this PERL script was that it unlocked a generated page AS WELL AS the associated DCR - and it was just one PERL file - wasn't no fancy bells and whistles workflow instigated from a CGI or anything terribly difficult like that...
Now... a few years down the track, in a new life, I'm finding that the standard IWUNLOCK function from the edit menu is not unlocking DCRs, and users are screaming because they've got to unlock a generated page, then go into the templatedata folder and unlock the DCR as well...
If I was really proactive I would've made sure I burned ALL of the custom files from my previous system to a CD - but of course, I missed a few... Now I really need that PERL script... And writing the whole thing again gives me nightmares because (a) I didn't write the original PERL script - I just knew it was there, and (b) my PERL sucks...
So... does anyone else have a similar script that they'd like to share, or does anyone have suggestions of where I should start to code this little beastie...
I'm fairly sure the script went something like this:
1. get list of selected files
2. get DCR filenames from the selected list
3. unlock all of the files
4. print out list of files that were unlocked
5. print out list of files that users were unable to unlock because they don't have permission (for whatever reason)
Any help would be appreciated...
Note: "use unlock.ipl" is not a suitable answer

----------------
SELECT * FROM users WHERE clue > 0
0 records returned.