Hi,
When user tries to update a Lotus Notes recurring meeting then it prompts for:
"You are modifying a recurring entry.
How would you like these changes to be applied to the related entries?
-
Just this instance
-
All instances
-
This instance and all previous instances
-
This instance and all future instances"
Is there any way to detect which is the option that user has selected?
Please help me for, How do I find out which is the option that user has selected for the above mentioned case.
Thanks,
Abhi
Subject: temporary variable set
look at value of {document}.tmpChangeWhich
Subject: How can I use tmpChangeWhich item in my C component?
Thanks Watka Naidoo.
Through Lotus script using Source.Document.GetItemValue(“tmpChangeWhich”) I am able to find out the user selected option for recurring meeting (in update meeting case).
I have one C component through which I want to access value of tmpChangeWhich Item. Is there any way to get the value of tmpChangeWhich Item using CAPI? Is it possible to hook the events for specific options that user has selected for the recurring meeting case?
How can I get tmpChangeWhich item value using Lotus Script or CAPI while deleting repeat meeting?
Can you please help me to find out the answers of the above question?
Thanks,
Vishvanath
Subject: C is not my area, but…
you should be able to read the value of a field just the same as you do it in LS - by creating an object equal to the Document.
Subject: Please help to find out tmpChangeWhich item value through my module developed in C.
Hi Watka Naidoo,
I have tried to get tmpChangeWhich item value using NSFItemInfo CAPI through my module. This module is developed in C language. But I am getting ‘Item not found’ error.
Please help to find out tmpChangeWhich item value through my module developed in C.
Thanks,
Abhi
Subject: Please help to find out tmpChangeWhich item value through my module developed in C.
Hi Watka Naidoo,
I have tried to get tmpChangeWhich item value using NSFItemInfo CAPI through my module. This module is developed in C language. But I am getting ‘Item not found’ error.
Please help to find out tmpChangeWhich item value through my module developed in C.
Tghanks,
Abhi
Subject: No simple answer
Ok, this topic was asked in another forum and the answer is still the same: There is no simple answer to get the users selected action. The GUI has it but at the NSF level that info is not available.
Before I go on as to why I want to cover the tmpChangeWhich question. Temp items are just that, temporary. They are not meant to be saved so if you are trying to read them when the note is being saved it could be that we have already stripped off the note before it is getting to the place where you are looking for it. Hence ITEM_NOT_FOUND.
As for why you cannot just read a single item and know what the user did, the reason has to do with the way repeating docs are managed based on the users actions. I will explain by example. If you create a 5 day repeating meeting then there is just 1 doc to worry about: the child doc that represents all 5 days.
If the user modifies the middle entry and selects “Just this instance” then the template will slice and dice the set into 3 documents: one for the first 2 days, one for the middle day and one for the last 2 days. So you really need to see the set of changes (2 new docs and 1 changed doc) to know what action they selected.
You cannot just peek at the instance doc changes and say “Oh they only worked on one instance”. If the user now selects the 2nd date and selects “This and all future” then they template will have to A) modify the first doc to represent just the first (and still untouched) instance, create a new doc for the 2nd instance, modify the second 3rd instance only doc and modify the third 4th/5th instance doc.
If you look at just the discrete document level changs you will not get a true view of what the scope of the change was. You need to look at the set both before and then after to determine what they chose.
Bruce
IBM
Subject: Please help to find out tmpChangeWhich item value through my module developed in C.
Hi Watka Naidoo,
I have tried to get tmpChangeWhich item value using NSFItemInfo CAPI through my module. This module is developed in C language. But I am getting ‘Item not found’ error.
Please help to find out tmpChangeWhich item value through my module developed in C.
Thanks,
Abhi