Hosted By

Subscribe to keithstric.com

Misc Links

Domino 7 OpenNTF BlogSphere CoComment Custom Button

Lotus Notes Blog Search

Ads by Google

OpenNTF

Disclaimer

The opinions and ideas posted on keithstric.com are not necessarily the opinions and ideas of my employer. The solutions, techniques and code provided here are not guaranteed or warranted in any way and are free for you to use at your own risk.

05/08/2008

Hidden NotesSession properties

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

I was poking around the OpenNTF Codebin today and found this little gem by Andrew Jones. I don't know if this has been around for awhile or not, but it's pretty handy none-the-less. I had been using this class, also from the OpenNTF code bin to perform this type of stuff, though I never could find anything to get the internet domain name. Now I can, which is cool...


05/03/2008

Selling Lotus Notes within your organization

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

This is a followup to my answer over on Ed Brill's site. I wanted to write more about how I sold Lotus Notes solutions within the Government agency I work for and the role it's played.

When I arrived at my current position Lotus Notes didn't really have a very good name. It was seen as ugly and only email with the exception of training sign-up trackers, simple document repositories and other basic applications, nothing complex. There was a current Lotus Notes project that was started prior to my arrival for doing building assessments after a natural disaster that was prompted by the aftermath of Hurricane Katrina. While the application worked, it kind-of wasn't what it could be. I took on this application with the goals of a) Improving the overall way it looked b) Adding more notification capabilities c) Simplifiying the interface. With these goals in mind, version 2 of the application was a success and version 3 will be much better. The community liked it, the managment staff liked being notified of events and less hand-holding was required. While some of the people that used it aren't very technically savvy and still required some hand-holding the majority of people understood it and were able to use it.

This application started the ball rolling of more awareness of what Notes is capable of. This application also had a sister application for managing building contacts. Some of the assessors would go to a building, have a contact number to call to gain access to the building but when they called that number, the phone inside the building was ringing. This was unacceptable and a new application was started to manage all the contacts for a building. The building manager, elevator contractors, janitorial contractors, etc. This proved to be invaluable and improved the response times by providing people the information they needed when they needed it. With the release of this application it really opened management's eyes about what was possible and that maybe Notes should have a bigger role in disaster response tools for keeping track of tasks, who is assigned tasks, who needs to be contacted to complete a task and communication between people in the field and people back in the office space. Since then a couple of other disaster response applications have been developed and are looking to be nationally used within the agency I work for.

Now, with all the applications I develop I try and come up with a nice color scheme and get inspiration from people such as Chris Blatnick , Nathan Freeman and Martin Vereecken for simple, elegant user interfaces. I can't stress enough how important a nice interface is. It really does affect the way that Notes is portrayed within an organization. If you can't provide nice UIs and include features that can at least compete on some level with your .NET applications, people won't even think twice about waiting for .NET developers to become available to work on their particular problem.

Fast forward to today. Now, if a project has a tight deadline or has been waiting for .NET developers to become available for a long time, it's now considered acceptable to at least ask if it's a fit for Lotus Notes. If it truly is a problem that Lotus Notes can solve I'll say so and sell it passionately. If it's not a problem that Lotus Notes can solve then I'll say so for that too and defend it. I'm not a "Notes can do that" guy if Notes isn't the most logical solution to a certain problem. Some applications NEED a relational database behind it. While notes can be a solution for most any problem if addressed properly, it really isn't for everything. With this in mind, if the customer wants an application to only be web based then it'll usually (9 times out of 10 anyways) be a .NET application. If the customer really isn't sure of what they want, it'll usually end up being a Notes application, with this the .NET developers and myself have come to a mutual respect. They get to do what they love and I get to do what I love, win/win.

I wrote this to show that a single person can make a difference in how Notes is perceived within an organization and how often it is looked at to solve a particular business problem. If someone is a "Notes can do that" person no matter what the problem might be, you probably won't be taken very seriously within your organization and get a lot of eye rolls. If you are passionate, yet still are willing to say, "maybe Notes isn't the best solution" when it's really not the best solution people will have much more respect for you and Notes which in turn will bring more people to your doorstep seeking a solution. To go along with this you have to be able to at least show what the product is capable of, provide nice UIs, include "added value" features such as charting capabilities, inclusion of reporting features (we use SQL Server 2005 Reporting Services with LEI pumping data to SQL Server), inclusion of other .NET applications embedded within Notes (via a Microsoft Web Browser control) when it makes sense and they compliment each other. Do all of these things and anything else that will shed a positive light on Lotus products and yourself, avoid taking on project that will show the weaknesses of Lotus Notes and yourself, and you'll always come out ahead.


05/02/2008

SnTT: DominoField class

QuickImage Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

I know it's been awhile since I've written, but today I've been working on an extender class for a Notes Field. Now, I'm still relatively new to creating classes and all this might not really be all that good, not sure really. But this class is called the DominoField class and adds some properties which I think would be useful. If you can think of anything that I'm missing, got obviously wrong or you think would be cool, let me know and I'll add it.

Now looking at this I don't think I'm actually extending the Notes field class. I think this is just a way to capture more information about a field. I couldn't find any documentation on extending a base Lotus Notes class but I am still looking. I tried inheiriting from the Field class but it never would compile and would actually crash my client, so you may not be able to inherit from an included base class. Then again, it could be that I just didn't know what I was doing

But some of the properties we've got here are:

  • fieldLabel - This allows you to define a label for the field for friendly validation, or whenever you need to present a field name to the end user
  • fieldModifier - This will store who the last person to modify the document was. If the value of the field has changed it will display the current user, else it'll show the last entry in the NotesDocument.Authors property
  • fieldName - This will return the name of the field
  • fieldValue - This will return the current value of the field
  • oldValue - This will return the value of the field when the DominoField class was initialized
Like I said, I don't think this is really extending the Field class but adding some useful functionality none-the-less. You can find the .lss file over in the downloads section, enjoy


04/20/2008

Rambling on...

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

I was speaking with one of my co-workers Friday that has kept me thinking this weekend. Ever since I've got started with Lotus Notes/Domino development/administration I've worked for very large companies (i.e. Coca-Cola, U.S. Govt, Sprint, Etc..) and somehow I've always been a lone developer/administrator with no one to run my work by, no mentor. Now while the things I do seem to get the job done and I like to think that the job is done elegantly, but I really have no way of knowing.

But this conversation got me wondering how many other developers/administrators are in this position?


04/04/2008

Cool Feature - Input Enabled

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

OK, I just found a cool feature. Now this may have been around for a while and I just wasn't aware of it . But one of the Events of a field is called "Input Enabled". Here you can put a formula that evaluates to "0" (False) or "1" (True). If the value evaluates out to "0" then an end user will not be allowed to change the value of the field. In the past I just made it "appear" that the field wasn't editable or I hid it and showed a computed for display field instead or whatever means I could think of to hide the fact that it was still editable. While this worked it wasn't very elegant.

Now, if you look at the help file on "Input Enabled" you will notice that it says this event is for an "Native OS Style" field and doesn't mention any other "style" of field. Well, it works on any style field, not just "Native OS Style". With a Native OS Style field it actually greys out the field, but with a Notes style field you just can't change the value. This is cool


04/03/2008

FeedDemon Weirdness

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

I came in this morning to some weirdness with FeedDemon 2.6. It seems to be showing 7 pages of feeds from "N/A" with "N/A" in the body. Kinda weird. I'm wondering if leaving it up all the time causes it to freak out a little bit. Don't get me wrong here, I've been extremly happy with FeedDemon with the exception that you can't use a browser other than IE with it, that's really my only complaint. I think it's a great reader, not to mention that now it's FREE, so you certainly can't beat the price

feeddemon-weirdness.jpg

04/02/2008

Post Title - Blogsphere Bug resolved

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

OK, I posted a discussion post over on OpenNTF in the BlogSphere project about the Post title not showing up in Google Analytics. This happened after I upgraded to the 3.0.1 B8a version of BlogSphere and I moved my Google Analytics code over to the Configuration document. Well last night I got to thinking about where in the header the title tag showed up. So I got to looking and the title tag was at the very bottom of the head tag (hope that makes sense). I modified the RenderEngine.Blog lotusscript library, RenderEngineBlogHTMLHeader function. I moved this code up above all the script tags:

If permaLinkDoc Is Nothing Then
    RenderedText = RenderedText + ""+configDoc.cfg_basic_BlogName(0)+"" + Chr(13)
Else
    RenderedText = RenderedText + ""+configDoc.cfg_basic_BlogName(0)+" :: "+PermalinkDoc.EntryTitle(0) + PermalinkDoc.AlbumName(0) + PermalinkDoc.PhotoTitle(0) +"" + Chr(13)
End If

This seems to have corrected the problem and all the visits from today are now showing the post title.


04/01/2008

@Thisvalue and @Thisname

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

Since I've started wearing a developer hat instead of an administrator hat I've gotten to the point of how did we ever manage without @Thisvalue and @Thisname. Those two @Formulas make it easy for validation, computed for display fields whose only purpose is to make a page more readable among other things. Heck, for those computed for display fields you can even copy/paste the exact same formula all around. For example, you have 2 fields called FirstName and LastName, you then have 2 computed for display fields called dspFirstName and dspLastName. For the computed for display fields they can have the exact same formula of:
@GetField(@RightBack(@ThisName;3))
This will just display the values of the FirstName and LastName fields and not have the OS Style fields look like they can be edited. Simple huh?

While I know this post is kind-of trivial, but it's something I've come to depend on and use in a variety of situations. Now if only we could get some @Formula functions to use


04/01/2008

Seal to receive Medal of Honor

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

Heard about this today on the Mark Levin show. (Text from Navy Times)

SAN DIEGO — A California-based SEAL who threw his body on a grenade to save his comrades in Iraq will posthumously receive the Medal of Honor, a Defense Department official has confirmed. Master-at-Arms 2nd Class (SEAL) Michael A. Monsoor, of Garden Grove, Calif., was holed up on the roof of a Ramadi house with three other SEALs on Sept. 29, 2006, when an insurgent grenade landed nearby. Monsoor, a 25-year old with SEAL Team 3, grabbed the grenade and clutched it to his chest. The blast killed him, but his actions, officials said at the time, saved the men on the rooftop. Monsoor will be the second member of the Navy to receive the Medal of Honor since the wars in Iraq and Afghanistan began, and the first sailor to receive it for combat in Iraq.

Monsoor, a platoon machine gunner, had received the Silver Star, the third-highest award for combat valor, for his actions pulling a wounded SEAL to safety during a May 9, 2006, firefight in Ramadi.

There have been 3 other Medals of Honor awarded posthumously during the combined missions in both Iraq and Afganistan. To all these brave soldiers and their families I give Thanks and you will be in my prayers. If you see one of our soldiers on the street, in a resturant or elsewhere, please tell them thank you. If you can, cover their meal for them. While it may not mean that much to us to tell them thank you, it means a lot to them.


03/31/2008

bPhone -- an iPhone BB theme

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

I've been using this theme for my Blackberry Pearl for a couple of weeks now and I must say I like it. It's got beautiful graphics, nice icons and all the text is very readable. All in all a great theme. Here are some screenshots of it I got from My BlackBerry Pearl 8130.

Icon theme:
bphoneicon.jpg
Today theme:
bphonetoday.jpg
Zen theme:
bphonezen.jpg

If you download it and like it make donation to the author.