Hello
I am developing a application which associates documents with a calendar entry. If the date of a meeting changes, this change should be reflected in associated documents. For single entries this has been fine (using the apptunid as a lookup key).
The problem comes with repeating entries. Obviously the id remains the same because there is only one document. How do I associate documents with repeating entries so that a change in one of the repeats will reflect in the associated document?
Thanks
Subject: How do I obtain which repeat I’m editing
That’s a question I’ve been wrestling with for 2 years now…
Stephen Lister
Subject: Multiple future repeating entries are not actually separate documents
Our testing this week determined that for repeating appointments, there is one parent document, and for all future occurrances, there is one combined child document. If you change one of the future meetings, choosing the option “just this instance” in the process, that one instance becomes a separate child document to the same parent (a sibling to the combined doc for the rest of the unmodified future meetings). Past meetings similarly are separate child documents to the parent, but I don’t know what triggers the separation of these from the combined child.
To see a built-in view of this setup, go to View, Go To…, Meetings by Category. (use [Ctrl]-[Shift]-Go To… in R5).
You’ll want to grab the UNID of the child of a changed doc after it breaks off from the combined child upon edit. It doesn’t exist as a doc of its own before that.
BTW, the child docs are what display in Calendar views.
Bill
Subject: RE: Multiple future repeating entries are not actually separate documents
Hello
Thanks for that info. Something I thought would be a simple job is turning into a nightmare! As far as I can see, I’m going to have to try and separate all repeats on the creation of the meeting so that all child documents are created and hence have their own UNIDs.
Thanks for the input…
Regards
Tom
Subject: RE: Multiple future repeating entries are not actually separate documents
When you’re creating a repeating entry, how is the ‘RepeatInstanceDates’ field set? Do you, the programmer, calculate every instance of the repeating item or can you enter some other field and parameters to get this field calculated?
Thanks in advance,
Justin