Contact Information
- Email: ctoohey@dominoguru.com
- BleedYelow.com: Chris Toohey
- Skype: ChrisToohey
- Gizmo: ChrisToohey
- Yahoo!: ChrsToohey
- Google: ChristopherToohey
(ctoohey@dominoguru.com) - AIM: ChrisToohey
- Twitter: ChrisToohey
- Facebook: ChrisToohey
- LinkedIn: Chris Toohey
- Videos:vimeo.com/christoohey
- Podcast Information
http://www.yellowcast.net
YellowCast @ Twitter - RSS:

- Guru Tag:

Like what you see? Help feed-the-beast by donating to the site and it's humbly thankful author!
My Twitpic Updates
My Twitter Updates
Publishings
Domino Development and Data Store Architecture 06/06/2008Domino Development RIM's Blackberry Connections Client - First Impressions (Part 2) 05/19/2008
My Gear RIM's Blackberry Connections Client - First Impressions 05/19/2008
My Gear Remove my name from the Domino Directory!! 02/05/2008
Lotus Notes Quick and Dirty Mail Application Document Importing 01/24/2008
Methods and Strategies Publishings Archive
Examples & Downloads
Showtime: Blackberry Enterprise Server Push Utility for the Lotus Notes Client - Release v0.1 11/13/2008Examples and Downloads MixMaster v0.1 - Remote NotesItem Manager 10/06/2008
Examples and Downloads No-View NotesDocument Lookups, UNID Logic, and Environment Variables - Example Application and Video Tutorial 09/16/2008
Examples and Downloads xCopy v0.2 - OS xcopy Client for Lotus Notes 08/07/2008
Examples and Downloads xCopy - Local Archiving and File Copying Utility for Lotus Notes 07/22/2008
Examples and Downloads E & D Archive
Resources
PlanetLotus.org [ Community ] Alan Lepofsky's Notes Tips [ Community ] Chris' The Business Controls Caddy [ Community ] Petr Stanicek [pixy] [ CSS ] JoeLitton.net [ Community ] Resources ArchiveDisabling $KeepPrivate documents!
03/19/2003 03:20:57 PM | Chris Toohey | Saylorsburg, PA
The other day I got an email that I thought that my boss should see. Of course, the originator sent the email message to me (and other people) having used the "Prevent Copying" attribute, which would not allow me to print, forward or copy the message. I could have always taken a screen print of this, but with my "Disable Privacy" SmartIcon I was able to forward the e-mail message along.
Now before you start thinking about the moral conflicts in disabling the "Prevent Copying" safeguard; sharing information etc. that was FYEO, you have to understand that people who curse you out in an unprofessional tone (I say that having been cursed out before in quite a professional tone before) because you informed them that, due to company policy, they cannot send a 15 MB M$ Powerpoint presentation to 200 of their closest friends are not subject to the same treatment as someone who's sending you personal and confidential information. I'm not telling you to use this when your HR department sends you your payroll information, or your fellow co-workers send the server information for joining the MOHAA-LAN party. This is to be used for those times when the aforementioned non-professionals nasty-gram you just for doing your job.
A slight modification (added logic and better client UI) of the old formula implementation sits in a SmartIcon that has saved me having to call people over to my desk to read something that wasn't meant for anyone else to see!
Once you've selected the SmartIcon that you wish to use, have added it to the SmartIcon bar, paste this code into the Formula section:
FIELD $KeepPrivate := $KeepPrivate;
@If($KeepPrivate != "";
@Do(@SetField("$KeepPrivate";"");
@Prompt([OK];"$KeepPrivate Flag Disabled";"The selected message can now be forwarded/copied!"));
@Prompt([OK];"$KeepPrivate Flag Not Found";"The selected message does not appear to have forwarding/copying disabled."))Now, that you have your SmartIcon, let's use it!
If the document's $KeepPrivate field value is set, it changes the value to "" or blank and lets you know that the message can now be forwarded and/or copied.

If the $KeepPrivate field is not set, it simply lets you know that the message doesn't appear to have the "Prevent Copying" Delivery Option selected..

After running this small-but-useful bit of formula, you can now forward that nasty-gram on!
Like what you see? Help feed-the-beast by donating to the site and it's humbly thankful author!
Chris Toohey | Domino Guru

Comments
Some ";" are missing. I added them and everything works fine ;-)
FIELD $KeepPrivate := $KeepPrivate; @If($KeepPrivate != ""; @Do( @SetField("$KeepPrivate";""); @Prompt([OK];"$KeepPrivate Flag Disabled"; "The selected message can now be forwarded/copied!") ); @Prompt([OK];"$KeepPrivate Flag Not Found"; "The selected message does not appear to have forwarding/copying disabled.") )09/20/2007 10:01:57 AM
Thank you, that was an awesome fix! Amazingly effective. Glad i learnt that the Prevent Copy is so easily disabled! Much respect to the author and the first commentator. =)
12/06/2007 01:48:57 PM
I have Notes 7. I put in the button, and the message comes back that it disabled prevent copy, but it still cannot be copied. Repeated use of the button always says prevent copying has been disabled. It seems to recognize the flag, but cannot reset it. Using the button on notes that do not have keep private get the message that the flag was not found. Thanks
http://www.dominoguru.com
12/06/2007 01:57:02 PM
I've run into this as well - the Notes 6.5/7/(possibly)8 mail template triggers the UI code which locks (as far as I can tell) the ability to modify the $$KeepPrivate field/flag.
Run this from the view, and you should be good to go!
04/21/2008 10:03:35 AM
This still doesnt allow me to forward. I try opening the email, running the script, I get the "selected message can now be forwarded/copied", but when I hit forward, it says its locked.
Any ideas?? I have lotus notes 6.5
04/21/2008 10:05:56 AM
Nevermind, I did this from the view and it worked perfectly.
Thanks Chris!
05/14/2008 01:01:12 PM
What do you mean "Run this from the view, and you should be good to go!". From the preview?
I've tried it , but no luck. Thanks in advance.
http://www.dominoguru.com
05/14/2008 01:49:17 PM
@Chevy:
Any UI rendering of the document - either Preview or by opening the email itself - will result in the code that "locks" the document from this edit. So you'll need to do trigger this SmartIcon while in your Inbox/View/Folder.
05/14/2008 11:06:46 PM
Thank You. That was awesome. I have a jerk that I work with that just tries to be difficult. By having the KeepPrivate flag on his email it forced me to have to reply to all without any context to the original email. This will make my life easier. You're the best.
11/04/2008 02:23:46 PM
It works fine thanks a Lot.