About Duffbert...

Duffbert's Random Musings is a blog where I talk about whatever happens to be running through my head at any given moment... I'm Thomas Duff, and you can find out more about me here...

Email Me!

Search This Site!

Custom Search

I'm published!

Co-author of the book IBM Lotus Sametime 8 Essentials: A User's Guide
SametimeBookCoverImage.jpg

Purchase on Amazon

Co-author of the book IBM Sametime 8.5.2 Administration Guide
SametimeAdminBookCoverImage.jpg

Purchase on Amazon

MiscLinks

Visitor Count...



View My Stats

« @Environment Trims Extra Spaces when Returning Values from Notes.ini | Main| Final game of the hockey season last night... »

Opening Left Parentheses Character "(" as First Character in View or Folder Hides Element in R5

Category Software Development

I *so* wanted to blame Runtbert for this one...  At my new job, we had a name lookup routine that used a view that just had the opening parenthesis in it.  Since it was Joe's routine, I decided to ask him if he did that on purpose for some reason.  He quickly denied that the view was his, and he only used the view that was already present in the NAB.  So I guess with this KnowledgeBase item, it helps to solve the "what" of what was happening.

Opening Left Parentheses Character "(" as First Character in View or Folder Hides Element in R5

Document Number:  1087273

Problem
The documentation and Online Help for Domino Designer R5 states that in order to hide a design element such as a view or folder, the name of the element should be enclosed in opening and closing parentheses, for example (All).  In R5, however, design elements are hidden even when only the first character in the name is the opening left parentheses "(" character.  In Domino 4.5 and 4.6, the entire name had to be enclosed in order to hide the design element.  The following table illustrates the problem:

View or Folder Name Result in 4.5x and 4.6x Result in 5.x
(January) Hidden Hidden
(1) January Visible Hidden
January (1) Visible Visible


This issue is a problem when databases are migrated from R4 to R5 and views that were previously visible are now hidden.

Content
This issue was reported to Lotus Quality Engineering and has been addressed in Notes 6.0.  Notes Domino 6 functions similarly to how Notes 4.x does.  If any views were created with only an opening parentheses at the beginning of the view in R5, they will be visible in Notes 6.  Designers do need to enclose the view name in both parenthesis.

As a workaround for 5.x, rename the design element so that the left parentheses character is no longer the first character in the name.

Comments

Gravatar Image1 - I guess doing Notes 9 years (Monday was my 9th anniv.) and hanging around the motley LotusPhere Group had to take its toll on my mental faculties.....

Gravatar Image2 - No need to do that in this shop. Never took the coward's way out, and always used the closing parenthesis as good programming practice. But I was aware of the issue and actually had tested it at one point in time.

Gravatar Image3 - Had someone asked me yesterday, I would have sworn that it's been this way (left "(" hiding views and folders) forever, and I've been doing Notes since R3. Now you have me questioning my memory. :>(

Gravatar Image4 - That's OK, Bas... the rest of us have been questioning your memory (and other things about you) for far longer than that...

Gravatar Image5 - Two things:

1. I guess 'Runtbert' is better than 'Baldbert'

2. Regardless of whether it works to use only the leading parenthesis, I still say that it is terrible form to do so. Just look at all the questioning - the time and therefore MONEY - that has been wasted on this. Had the original developer used an opening and a closing parenthesis, the view would still be hidden and no one would be wondering what the heck was going on. Now you know the real reason I had to move 3,000 miles away....That view name was just making me lose too much sleep.

Seriously, since you guys have TeamStudio, I think you should change the name of the view to be enclosed in parentheses, and run a Configurator agent to cycle through the directory and locate any references to this view in the various databases, changing the references to use the new name. Who needs the coward's way out of just using an alias!


Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Want to support this blog or just say thanks?

When you shop Amazon, start your shopping experience here.

When you do that, all your purchases during that session earn me an affiliate commission via the Amazon Affiliate program. You don't have to buy the book I linked you to (although I wouldn't complain!). Simply use that as your starting point.

Thanks!

Thomas "Duffbert" Duff

Ads of Relevance...