Monday, January 21, 2008

Lotus Notes and SAP will join for Project Atlantic

This is an article from Ed Brill blog

The announcement I've been waiting months to talk about!


Today, IBM and SAP announced a joint product development, codenamed "Atlantic". From the press release:
Currently planned for inclusion in the first release of project "Atlantic" is support for SAP workflows, reporting and analytics, and the use of roles from within the Lotus Notes client. In addition, tools are planned to be included to provide the ability to extend and adapt these roles and capabilities, as well as leverage additional collaborative and offline capabilities inherent in Lotus Notes and Domino products. The initial release is planned to ship in the fourth quarter of 2008 and will be sold by both companies.

"SAP and IBM Lotus are strategic partners to The Coca-Cola Company," said Jean Michel-Ares, CIO, Coca-Cola Company. "Our IT goal is to help our people to be more responsive, productive and effective, and SAP and IBM Lotus have helped us get closer to that goal. The partnership between IBM Lotus, SAP and The Coca-Cola Company promises to deliver additional value to our associates and improve the tools they use every day."

Friday, January 18, 2008

how to don't save computed fields in document

this question was at ibm's forum, so I wish to refresh memory... don't forget about:

notesItem.SaveToDisk=false/true

by the way, and don't foget about this simple thing. How we can add authors or readers in documents.

notesItem.IsAuthors=true
notesItem.IsReaders=true

Thursday, January 17, 2008

approches to transmit parametres from conf.document

usually every application has at least one configuration document which contains some information about our application and of course you should to use these data in your application.

1. @DbLookUp and @DbColumn every time
first way is to create a view where you can find this document (@DBLookUp or @DbColumn)and receive needed data each time when you want, but it's very slowly way and stupid, because there are a lot of dblookup will be.
2. transmit Id of config doc
there is one another way which I prefer to use is to transmit the id of conifg documents (using @dblookup or other ways) and then each time when you need some data, you can use @getdocfield(id; fldName)
3. collect all data in 1 field in profile and then use this field
Another one good approach is to save all data in configuration document in one field, for example [fldName1]fldValue1:[fldName2]fldValue2:[fldName3]fldValue3 and so on, after that you can load this field using just 1 @dblookup and then parse it and receive this data. This method I used very often too, but now I switch to method #2.

ok, i know that we can you real profile documents, but i don't like to do it, and I'm not able to tell you why is it so :)
but any suggestion and new idea will be appreciate !

Thursday, January 10, 2008

OpenView & RestrictToCategory & StartKey

today i found this stupid? bug.
i had a view that has 1 column as category and second as sorted namelist and some other columns... what i wanted was to take one category and then using StartKey shown only what i wanted... but it didn't work :) . i looked at ibm's forum regarding it and found a lot of posts about this bug...
So don't use this RestrictCategory with StartKey, but i read that it also doesn't work with many other parametres.

Enjoy Lotus !

Tuesday, January 08, 2008

compare arrays

I've seen many different functions which compare arrays, so I've decided to write my variant of this function. I suppose my function much simpler.

here is the script o function

Function ArraysAreEqual (vA As Variant, vB As Variant) As Variant

Dim rez As Variant

rez = Evaluate({@implode(@sort(@Explode("} & Join(vA, "~") & {"; "~")); "~") = @implode(@sort(@Explode("} & Join(vB, "~") & {"; "~")); "~")})

If rez(0) = 0 Then ArraysAreEqual = False Else ArraysAreEqual = True

End Function


advantages of my approach:
- more simple, just 1 line;
- faster;
- we can compare any number of arrays

but any advices will be appreciate! especially disadvantages !