Domino 9 und frühere Versionen > ND7: Entwicklung
Wiederholdender Kalendereintrag per Agent ändern
Matthias1974:
Ich habe einen Agent in Lotus Script welche alle Kalendereinträge auf bestimme Inhalte überprüft und ggf. modifiziert. So auch bei den Feiertagen und Betriebsferien welche eingetragen sind.
Problem/Frage:
Bei einem wiederholdenden Kalendereintrag darf der Agent nur den ersten Kalendereintrag ändern, diese Änderung soll auf die wiederholdenden Kalendereinträge angewendet werden. Ich werde wohl das Feld "Repeats" bzw. "RepeatInstanceDates" überprüfen müssen, wie allerdings komme ich per Agent immer auf das erste Dokument der Wiederholung und überspringt sozusagen den Rest der wiederholenden Einträge :-:
m3:
1) Forumssuche schon mal bemüht?
2) IBM Lotus Notes Calendaring & Scheduling Schema schon angeschaut?
Glombi:
Wiederholende Termine sind doch nur 1 Dokument mit Mehrfachwerten für CalenderDateTime ???
Oder ist das in R7 anders?
Andreas
m3:
Also laut IBM nicht:
--- Zitat ---Repeating entries consist of a minimum of two documents. Both use the “Appointment” form, but one is a child of the other.
...
The child documents have “CalendarDateTime” items and therefore appear in the Calendar View (repeat instances are the same document displayed multiple times).
The parent document has no “CalendarDateTime” item and can be seen only in the “All Documents”, “Meetings” (versions 5-6), or “All Calendar Entries” (versions 7 & later) views.
The parent document contains two important items unique to repeating:
+) RepeatInstanceDates – always a list of the original datetimes of the meetings.
+) RepeatDates – a corresponding list of the current datetimes of the meetings.
The position of the elements of these lists cannot change. Even if one of the meetings days is canceled, the item is not removed from these lists.
There exists one child document for each run of consecutive days in which all the items of the meeting are the same. The RepeatInstanceDates of each child document have just the consecutive initial meeting dates for this run. The StartDateTime item has the current meeting start dates & times for this run, and the EndDateTime item has the current meeting end datetimes.
--- Ende Zitat ---
Glombi:
Da, das stimmt zwar, aber ist es das was er will?
Will er das nicht im Kalender angezeigt Dokument manipulieren oder soll nur im Kalender für den ersten Tag ein anderer Text angezeigt werden.
Letzteres geht nicht, da es wie gesagt nur 1 Dokument im Kalender ist.
Andreas
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln