Software
PermaLink (Updated) Setting Selective Replication via LotusScript (and C API)06:36 AM
Update: this technique works in two databases and fails in two others.  I have no idea why.  I think "Enforce Consistent ACL" is being used in all cases.

I spent more time than I'd like this week figuring out how to set a replication formula via the Notes C API (but calling the C API via Lotusscript).  The basics were done for me already, but there were a couple of weird gotchas that made setting a selective replication formula useless till I figured them out.

Here's the summary.  To make the code below work, you need to have your server explicitly in the db's ACL.  Having the server name in a group (such as LocalDomainServers) doesn't seem to work.  Your ID needs to have a minimum of editor access.  NoteDatabase.Replicate(<server>) needs the canonical server name.  If you don't get these details right, you'll see a replication occur, but the selective replication formula won't take effect.

Note:  this is tested on Notes 6.5.4.  I don't think it can work on versions earlier than 6 (NotesReplicationEntry came in with 6).  If you happen to try it on 7 or higher, let me know what happens.

Technorati:
(2)

PermaLink Oops! - found a bug in class BetterListStr08:47 PM
Some work I did on a potential open source project turned up a problem in the BetterListStr class I posted a while back. Turns out there's a flaw in my "double-indexing" technique. Why didn't it crop up before? Because I used the class in a new way. Or, put another way, there wasn't a test plan or a unit test for the class. It was just a little class after all...



Technorati:
(1)

PermaLink Cool new Google app12:53 PM
Google has a beta application called Notebook that works with selected blocks of text in the browser window. You right click on the selected text, and one of the options is to direct the text to a notebook. The text is copied, with any links intact, to the end of the current notebook. The web page that the text came from is also recorded with the selection. Notebooks can be divided up into sections, and It's possible to have many notebooks and to share them. I think I'll be using this quite bit.

For me, this solves the annoying problem of how to keep track of useful web pages when I work on multiple machines. Yes, I could export/import bookmarks, but I'm lazy. This is even easier.
Technorati:
(0)

Powered By :

BlogSphere V1.2 Beta 3

Join The WebLog Revolution at BlogSphere.net

Contact Me
The BlogRoll
What is a Jagular?
It is a malapropism for jaguar found in Winnie the Pooh and has nothing to do with jugulars.

usually

for more information about jagulars try here
Lotus Domino ND6 RSS OPML List RSS News Feed RSS Comments Feed Geo URL netcraft RSS Validator Blog Admin Lotus Geek Chris. A. Brandlehner Open Notes Picture Database OpenNTF CoComment Integrated BlogSphere
Calendar
No calendar found.
By Category
Hot Blogs
No Hot Blogs
Monthly Archive