IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     

developerWorks  >  Lotus  >  Forums & community  >  Best Practice Makes Perfect

Best Practice Makes Perfect

A collaboration with Domino developers about how to do it and how to get it right in Domino

I've been working on the web UI for the SmartCloud Notes administration, and we recently ran into a limitation. We have a lot of Custom Controls, and are translated into a lot of languages, so that means there are a whole lot of automatically generated .properties files that you don't see in the Domino Designer UI (unless you open the Navigator or Project Explorer view). Each of these files is considered a design element, part of the design collection of the database, and Designer (and the Notes client) unfortunately can't deal with more than about 7,000 design elements total (your mileage may vary).

So when we hit that limit, we went looking for design elements we could delete. One thing we noticed right away was that many of these .properties files didn't actually contain any messages -- Designer was creating them whether or not there were strings to localize. If we could just get rid of those, we'd be in good shape. And as it happened, we could get rid of them -- I wrote a script to do that -- but they come back every time you do a build.

Fortunately, the XPages team are available to us on SameTime, so I found a helpful fellow to add an option for us. Turn this on, and Designer will no longer create .properties files unless it has some messages to put in them. This will be available starting in release 9.0.2.

It will not get rid of superfluous .properties files that already exist -- you still need a script for that. But it will stop the creation of new ones. This has allowed us to continue developing those new SmartCloud admin features you like so much, and also adding even more languages -- Croatian and Romanian are in the queue for release in the near future.

You might never have enough design elements for this option to be useful for you. But if you do... here it is!

Andre Guirard | 5 August 2015 10:59:31 AM ET | | Comments (0)


 Comments

1) Hum...
Michael | 8/5/2015 12:50:25 PM

Why would one want to generate empty files in 9.0.2 ??? Should be at least checked by default or maybe even a non-ui option.

2) wow
David Leedy | 8/5/2015 3:30:48 PM

I wonder if this will help with the Source Control problems where stupid metaData updates occur...

3) guess not...
David Leedy | 8/5/2015 3:32:57 PM

bummer...

 Add a Comment
Subject:
   
Name:
Comment:  (No HTML - Links will be converted if prefixed http://)
 
Remember Me?     Cancel

Search this blog 

Disclaimer 

    About IBM Privacy Contact