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)