Monday, December 17, 2012

First couple days with IBM Domino Designer 9.0 Social Edition

Worked 2 days already with Domino Designer 9 (I do not really care about changes in Notes 9, as I believe in 'web' direction). I did not find something really new/impressive for developers, however worked only 2 days and also I do not forget that it is just a beta. My impression:
  • It is fast enough, however I do not feel difference compare to my 8.5.3, perhaps my laptop just too good.
  • Ext Library is included by default.
  • I've also read that now we have an API (Java, LS, C API) for C&S, would be great to have it few years ago, now its too late :), but still thanks!
  • Special places for JAR, I guess it is only for xPages, but not for Java libraries/Agents, need to verify.
  • Server-side JavaScript debugger for use with xPages (need to verify how it works, but options are present, I saw that :))
  • $DesignerVersion still says: "8.5.3" when you save elements. I think that would be changed with Release candidate.
  • There are some new options to "Manage working sets drop-down" I really like, waited for those changes for a long time.
  • Application Properties got 'Xsp Properties'.
  • There are also changes to xPages, but I had no time to look on them.
  • All 'old staff': old window to work with @formula, properties dialog still looks same (and that is sad).
Some words about API for C&S.
I've been working on synchronization Lotus Notes 6.5-8.5 Calendar & Scheduling with huge CRM on my previous job (synchronization in 2 side, from LN to CRM and back) and we spent months to manage that correctly, oh dat recurrent events :), it would help us really a lot if we get such API earlier.

I've read also on some blogs that Domino 9 may have dojo 1.8. which would be nice to have and use.

That's all for now.

Sunday, December 16, 2012

Moved from Ukraine to Denmark


From 1-st December I work and live in Denmark. It's really interesting experience for me and my family. I had been working with e-conomic from Kiev for more than 3 years and at some point company decided that it had sense to invite me to work in main office. Now I'm here, so wanna tell 'hi' to those who live here :)

Couple fresh photos of Copenhagen.

City is ready for Christmas:
Now most funny thing :), we met hundred well organized girls, they marched along the main shop-street of the city and cried slogans about Justin Bieber. It was really funny.

Tuesday, October 09, 2012

What is comfort zone for Domino developers our days?

Lotus Script is no longer in my 'comfort zone' anymore but Java/JavaScript. That's actually it. We already moved all (well 90%) of backend to Java. Now Lotus Script serves only to provide validation/picklist/msgbox on forms/views for existing 'classic' applications. Now we are slowly moving everything to web and I like that.

We are aiming in few years to let our users to un-install LN and simply use browsers and that would be perfect. That time we should have no even 1 line LS and @Formula.

Friday, August 03, 2012

Exception occurred calling method NotesAgent.runWithDocumentContext(lotus.domino.local.Document) null

Tried to run agent with 'context document' in xPage (via SSJS) and got this problem. I did not find a way how to solve that except to enable checkbox 'Run as Web User' for agent, however I need to run agent from 'signer' as 'runner' has Reader access and my agent update should document. It's terrible with this problem (if it is problem ofc :)). What should I do know?

Tuesday, July 03, 2012

ViewEntry and Show multiple values as separate entries

When your view has column with option 'Show multiple values as separate entries' and you use ViewEntry to read data from that column you will have a problem. Result of your getColumnValues() can be different, f.x. in 1 case it can be 'Vector' and in another case 'String'. It depends if entry was really split on few entries because of multi-value. I've lookup around and found this issue already reported on IBM ~3 years ago (IBM whats up?)

Full description of problem

Here is a solution I made
Vector v = entry.getColumnValues();
Object o = v.get(0);
String title = "";
if (o.getClass().equals(String.class)) {
 title = (String) o;
}
else if (o.getClass().equals(Vector.class)) {
 Vector tmp = (Vector)o;
 title = (String) tmp.get(0);
}