This entry was posted on Friday, January 11th, 2008 at 3:11 pm and is filed under Cool Tools, IBM Lotus Notes, Interface, LotusScript, SnTT. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
BizzyBee’s BizzyThoughts
Think Outside The Hive – About Notes and Web
A Notes Mail Database Size Indicator
Wouldn’t it be cool to have this in your mailbox?
Our local admin asked me if this is doable, and I thought it was a brillant idea and a very practical example on how to use this tip: A progress bar in Lotus Notes
It’s an indicator that, eh, indicates how much space you’ve used from your mail database size quotum.
It conditionally displays an image of the total and used space:
- A green bar for used space less than 80%

- A red bar for 80-100% (and up)

- No bar if no quotum exists (you lucky bastard
).
How to implement?
From a designer’s perspective, you need to know if you want it for yourself only (and prohibit design refresh) or for the whole company (do the adjustments in the mailfile template). Obviously, you should first test in your own mailfile.
These are the implementation steps:
- Copy form DbSize from the Mail Database Size Indicator Demo database (what a name
) and paste it in your mailbox template. - (At least for version 6.5 of Notes) Change frameset MailFS Left by adding an extra frame with height=40px (width=relative 1).
- If you want to use other colors, styles or criteria, change the form and the PostOpen script, this is just an example usage.
Play around with it and let me know if you have ideas to expand this…
Articles
Da Honey Pot
About me


(4 votes, average: 4.50 out of 5)
January 11th, 2008 at 3:36 pm
Martin,
Good stuff! I will be demoing Viewnify inone of my Lotusphere 2008 sessions btw. Ping me offline
January 11th, 2008 at 4:08 pm
Thanks Bizzy Bee, that’s a fantastic tip! Richard
January 11th, 2008 at 4:25 pm
Great work man!
January 11th, 2008 at 4:54 pm
this will be part of the offical 801 mail template
January 11th, 2008 at 5:26 pm
Actually this will be a Notes 8.0.1 feature but only if you have a mail size quota. There will be a UI to show how you are doing against your quota
January 11th, 2008 at 7:50 pm
@Bruce, Richard, Vitor: thanks!
. Nevertheless, 8.01 is not here yet, and not everybody can upgrade to the latest version, so there’s still room for this. But thank you for letting me know!
@John, Mike: I looked it up and you’re right: it’s shown overhere: http://www.ibm.com/developerworks/blogs/page/marybeth?tag=8.01
I should spend more time looking around on the web before creating stuff
January 14th, 2008 at 9:56 am
Great, thanks, but there is a little problem: on my databases, if no quotum exists, it says: 0MB, can you tell me why?
January 14th, 2008 at 10:17 am
it seems to be a little bug in the postopen-script. Line 11 sets the field doc.sizedesription if no quota exists:
doc.SizeDescription=Cstr(Round(Size,0))+”MB”
but this shows only “0MB”. It has to be:
doc.SizeDescription=Cstr(Round(db.Size,0)/1024/1024)+”MB”
January 14th, 2008 at 10:42 am
Hi Glod,
Thanks for letting me know! Actually, the variable “Size” is used before it was calculated in the script. I changed this, and updated the zipfile!
January 15th, 2008 at 8:59 am
Hello again. I tried to download the actual Demo-Database but I got a “forbidden”-error. I think you have to check the Access-Rights of the Zip-File
January 15th, 2008 at 9:59 pm
Glod, should be better now! I think I may have zipped the file while my Notes was open :-S
January 16th, 2008 at 9:03 am
Woohoo, very nice thing! Thank you for that!
January 16th, 2008 at 8:45 pm
Thanks Jokeman, I hope you weren’t joking when you wrote this
January 18th, 2008 at 2:34 pm
[...] A Notes Mail Database Size Indicator [...]
March 5th, 2008 at 5:48 pm
I think this is pretty cool. Does anyone have a template that this is already applied in? I am having a tough time getting this to work. If I could see it I might have better luck.
Thanks
March 6th, 2008 at 12:57 pm
Erv,
I sent you a copy of my mailbox design, that should give you an idea…
April 2nd, 2008 at 10:36 pm
I like this, however in my tests it only updates when you open the database (I know, it’s a PostOpen…). Is there another method that might provide a more realtime update ala 8.0.1?
April 13th, 2008 at 8:59 pm
As per this page:
The Mail Quota will not display if the mail database is not based on the Notes 8.0.1 mail8.ntf version, even if the end user is running Notes 8.0.1 as their client.
I’m using the 8.0.1 client but can’t use the built in feature because of the above reason. Martin, I’d really appreciate if you could help me locate the template file and then edit it. I am relatively new to Lotus Notes so don’t know anything about it.
thanks.
July 19th, 2008 at 12:13 pm
Mulder,
Maybe this article I wrote later on may help you: http://www.bizzybee.be/2008/06/10/notes-mail-database-size-indicator-for-notes-8-basic/
November 19th, 2008 at 6:10 am
Thank you , It’s very cool.
April 15th, 2009 at 6:01 pm
After reading through the article, I feel that I need more info. Could you suggest some resources please?
June 16th, 2009 at 1:34 pm
Nice!. It would also be a great extra to have quota info about your maildatabase when you are working on local.
August 23rd, 2009 at 9:05 am
Вообще, на мой взгляд, самое лучшее в личном блоге, так это самопознание.
November 23rd, 2009 at 1:06 pm
Success is the ability to go from one failure to another with no loss of enthusiasm.
December 5th, 2010 at 7:31 pm
That is most likely the perfect article that ever cross my reference. I do not see why anybody should disagree. It may be too easy #for them# to comprehend…anyway good work i’m coming again here for More Great Stuff!!
December 8th, 2010 at 3:46 am
Wonderful thought. My friends had pretty much the same when they looked for Wicked Tickets. I mentioned to them to Buy Wicked Tickets from BuyWickedTickets . net
January 28th, 2011 at 2:40 am
yo
March 13th, 2011 at 9:29 pm
Interesting, really useful post for people
May 22nd, 2011 at 9:37 pm
WONDERFUL Post.thanks for share..more wait .. …
June 14th, 2011 at 6:55 am
Hi, dear sir. What an interesting article, would you mind reading my blog to?
September 21st, 2011 at 5:06 am
Really Interesting post ,I really appreciate the kind of post ,it was really informative,All the best from navbandhan.com
November 18th, 2011 at 3:39 am
Thanks , nice share
January 30th, 2012 at 7:13 am
Get the best price possible by choosing CriketX Design Solutions to handle all of your web design and advertising needs!
February 4th, 2012 at 1:01 pm
Merveillous like my dick. I love your eyes.
I had your blog to my bookmark just bottom my collection of bikers sites and up to Uzlagom favorite site.