BizzyBee’s BizzyThoughts
Archive for the 'IBM Lotus Notes' Category
After reworking an application in my Designer 8.5 I asked my collegue to test it in his Notes 6.5 client. To my surprise he couldn’t open any document, the only thing he saw was a white screen and an hour glass. Many trials, errors and crashes later, I found out that the older Notes versions have issues with too many subforms.
Here are a couple of links to add Notes.Net to your Internet Explorer/Firefox search bars. Enjoy!
In an older post, I wrote about how the left margin can disappear when you try to insert a subform in a tabbed table, f.e.

How it was
A while ago, the company I currently work for used an adapted version of the resource reservations database for Domino 6.5. You know how it works: users wanted extras like checkbox-room-has-a-projector or checkbox-we-want-coffee-with-the-room or checkbox-send-a-mail-to-the-guard. The programmer says yes to every question and bingo, you have a RR database that’s not so standard any more.
Finally multitasking and app groups came to the iPad! Needless to say I was eager to do the upgrade… So I saw iTunes discovered the new version, suggests I should upgrade, the progress bar appears…

… appears to get stuck on 90%. No panic yet… just do it again, right? Now iTunes tells me the iPad needs recovery and then there’s an error stating recovery did not succeed. Ok, tried again, after reboot of iMac… same story.
Ah, internet! Let me take a look… hmm… lots of people with similar issues… Force recovery mode… Blam! Dead at 95%! Some people suggest you should keep waiting and this will eventually disappear, but I kept waiting a couple of times…
The solution that worked for me
Just when I thought I was left with an expensive mirror or that I would have to go to an Apple Service Center to make it “just work”, I read a post where somebody explained he reinstalled iTunes, then tried the recovery. Don’t ask me why (hell, maybe they don’t know why at Apple yet), but this did the trick.
Non-breaking space? Not so non-breaking in Notes Client…
I have a form in Notes with a computed passthru html table on it, and I really really would like to see the values in a certain column displayed on one line without wordwrap. Guess what: it’s not gonna happen, because Notes doesn’t care about width attributes or styles. It’s as if Notes thinks these are more like suggestions instead of rules.

If you ever bump into this message when opening, refreshing or saving a document, there’s probably a field on your document breaking the 32K or 64K limit of the maximum field size for simple text fields.

I know the website was down for a (long) while, but since I wasn’t really posting any articles for a while, I didn’t really bother.
But thanks to the “community-feeling” present at ILUG, I started thinking about my website again… I may not be a top XPage developer, but there are still things out there that don’t use XPages (yet). And in my day-to-day job I still discover errors and have ideas that are also useful to others.
So this weekend I wanted my website up again, and after all it seemed just a WordPress plug-in that caused the troubles. Many thanks to the chat helpdesk of my provider one.com to assist me in this!
We know the power of action and link hotspots. It would be great if we could create them computed, f.e. to give it a computed description or to create a number of hotspots that can vary. I’m sure you know some applications for this yourself (just nostalgically think of those times you bumped your head against the wall in rage
).
It turns out not to be that difficult, but there are some gotchas and restrictions. But don’t be afraid, I’ll take you by the hand and show you where the mines are…
How does it look?
It could look like this:

Did anybody else notice this? Everytime I restart Notes Standard Edition, the buttons in the toolbar have moved. And not only just moved, they do it in a way they take up as much space as possible. Then I clean up, rearrange, and next time: tada, back to messy!
It’s like cleaning up the toys of your child, turning your back, look again and… welcome back, toys! That’s probably what Lotus meant with Lotus Domino Everyplace
.
Today I had this: double text properties!

It’s like the little gnomes that do the icon arrangements were thinking: “You can never have enough text markup!”.
If you’re like me, you like the design of the action bar in the inbox of your R8 mailbox.

The round buttons, the orange gradient and the blue match the new client very well.
Unfortunately, for us, developers, these are features that are out of reach to build in regular views and forms at this moment. Even in the mailbox the buttons on the memoform have “normal” looks.
I tried to get as close to this “ideal” as possible and this is the result.
Do you like the Refresh Design functionality as it is now?
- Go to menu Application – Refresh Design…
- Select the correct server.
- Wait…
- Repeat for the next databases.

I needed a way to see if an agent is running. To my knowledge, there’s no such thing possible with “normal” Notes-programming (is there such thing is normal programming in Notes?).
Collegue Jo Van Eynde (all credits go to him) came with the idea of sending a console command and capturing the output the console returns. Brilliant!
If the agent manager isn’t doing anything, it’s just idle, otherwise it returns something like Running agent ‘x’. Once you know that, it gets really simple.
My last post was about how to monitor if agents didn’t run for any reason (not only because they weren’t signed well).
There were some restrictions though:
- Currently we are running on Domino 6.5.
- I prefer a free solution
- It needs to be simple and do this specific task.
Today I have a question for the community. Actually, the question came from my boss with my current customer. As always, the simplest questions seem the hardest to resolve
. The problem is: there are a number of agents that should run on a daily basis, but every now and then, it happens that something goes wrong (f.e. a design update with an id with insufficient rights) and the agent don’t run.
Of course it is possible to do some agent logging, send mails if an agent ran or gave errors, but is it possible to do the opposite? Receiving messages when an agent DIDN’T run? Are there any agent monitor tools or techniques? Or am I missing something very obvious here? Any ideas?
Did you ever play with the InViewEdit event? Do you also believe it’s a bit of a dangourous feature? Users that accidentally change documents because they click an editable cell? I know, there are ways to prevent this from happening in code, but a good indication of what cells can be edited (and thus “be careful when you click those”), could help. Also, this helps the user in viewing what cells can be edited from within the view.
In the example below, can you tell what cells are editable?
After creating a Notes Mail Database Size Indicator – graphic version, a version for Notes 8 Standard was introduced on Conxsys Blog.
This is a nice peace of work. The only thing I wondered: why would I need it, if you have a mail indicator as a standard feature on the Notes server? Some weeks later I found an answer on this question myself: with my client, they installed Notes 8 Basic (unfortunately not my decision) while keeping the Notes 6.5 server as running platform (unfortunately not my decision).
I saw a post on IdeaJam asking for a solution to this problem.
The thing is: if you have an action button on top of an embedded view and this button tries to run code that refreshes or saves the uidoc (t.i. the document that has the embedded view on it), this will crash your client.
In the first part of this article I talked about why you should consider the Spry framework as a valid alternative for input validation in the browser. Now I’ll demonstrate how it works in Dreamweaver and in the next article, how to transfer the validation to Domino Designer (I decided to split up the article in different parts for the Dreamweaver side and for the Domino Designer side).
Adding the input validation to a form in Dreamweaver CS3
I invite you to start the beetorial to the left. In less than 5 minutes it shows you how to add input validation to a form in Dreamweaver CS3 (although it took more than 5 hours to build it
). I recommend running it in full screen (press <F11> in most browsers).
It’s not only intended for Notes developers, but is also useful for anybody that wants to learn about input validation in Dreamweaver CS3.
In the beemo I start with a form I already prepared (it’s loosely based on a form I found in The Art & Science Of CSS, a very inspiring Sitepoint book about practical and visually stunning CSS techniques.
I add validation to fields for name, email, date and checkboxes and I show how it looks like in the browser.
Bare in mind that the validation messages look a bit boring at the moment, but in a future part I will demonstrate how easy it is to create validation eyecandy.
Thanks to all those who took the time and the effort to vote for a Forum Friday image. And the winner is…

Articles
Da Honey Pot
About me



