« The Domino Developer Bell Curve | Main| Movie Review: Batman Begins »

A question for the class....

   
Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 


I had a peer write me and ask me the following question:

I know this is old-school but and hoping you can point me in the right direction.

Have you ever come across a LotusScript agent that takes a repeating calendar entry and explodes it out into discrete calendar entries ? I've got to believe someone did this hack at some point (either within Lotus or a customer / partner). If you know of any code for this, I'd love to see how it works.


Well, I haven't written any code like this, but I am sure it has been done. Anyone have this written, and would be willing to share with the class? Bonus points if you turn your work in early ;)

Rock
**I never drink water because of the disgusting things that fish do in it. - W.C. Fields

Comments

1 - I wouldn't have a clue, but if I had to do this I would sync to a PDA with some poor software, then sync back into a clean mailfile from the PDA which will quite conveniently create a fresh notes calendar document for each PDA entry.

2 - I haven't tried this, but it looks like it should be pretty straightforward. In a repeating holiday I have on my calendar, there are several fields that list out the repeating dates. These fields should just be date fields allowing multiple values and using a separator. You should be able to generate an array of the repeating DateTime fields and create new documents using the other field data and then passing in the dates from the array position for the respective fields:

CalendarDateTime
EndDateTime
RepeatInstanceDates
STARTDATETIME

Make sure you check out this devWorks doc:

http://www-10.lotus.com/ldd/today.nsf/625c2f03e734191a85256468005e76f6/ef17968b584fcc088525648500577dfa?OpenDocument

3 - Sorry to be a little late to this post (I've been out of town), but this might help a little:

http://www.nsftools.com/tips/NotesTips.htm#repeatdates

It doesn't do exactly what you're talking about, but it's a decent explanation of how to use the undocumented repeating dates functionality from the Notes calendar in your own applications. That could shed a bit of light on the problem.

- Julian

Meet Rocky

Rock - February 2010
Rocky Oliver
If you see me at a conference, please stop me and say hi!

Calendar

Search

Categories

Proudly Employed By

Wofkflow Studios

LOTUS GEEK gear

Social Networking


Add to Technorati Favorites

View Rocky Oliver's profile on LinkedIn

Rocky  Oliver

LotusGeek Blog Roll

Why display a blog roll when Planet Lotus does it so much better?

Dilbert

Buy my book!

Blog Buttons

Atheist - Unitarian - Humanist

Poker Players Alliance