OpenNTF.org - VIC CRM for Notes
VIC CRM for NotesOpenDocument[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: VIC CRM for Notes (Managed by Dave Leigh)
Actions:

Hide details for The bugThe bug
Bug ID: NOSS-6V6SS5
Description
Submitted by:Dave Leigh
Project Master Chef:Dave Leigh
Bug type:Functionality
Brief Description:Notification doesn't work
Severity:Low
Version20060220
Status:

Details
Putting an email address in the Notify field of a JournalEntry does nothing. It SHOULD set the email notification on the Notes Calendar document if calendar synchronization is checked.

This can be worked around by opening the calendar document manually after synchronization and setting the email addresses there, hence the low priority.


Action taken
Status:Fixed
Implemented in Release:20061118
Fix Details:In CratchitCalendarLibrary Script Library (in the Config database and copied to the Journal), make the following changes to function "fUpdateCalendarEntry":
1. Append "niAlarmSendTo As NotesItem" to the list of parameters.
2. Add "Dim set_notify As Boolean" to the declarations at the top of the function.
3. Comment out "Call cal_doc.ReplaceItemValue("$AlarmMemoOptions","")" (line 58)
4. Insert the following starting at line 69:

set_notify = Trim(niAlarmSendTo.Values(0)) <> ""
If set_notify Then
Call cal_doc.ReplaceItemValue("$AlarmMemoOptions","2")
Call cal_doc.RemoveItem("$AlarmSendTo")
Call niAlarmSendTo.CopyItemToDocument(cal_doc,"$AlarmSendTo")
Else
Call cal_doc.RemoveItem("$AlarmSendTo")
Call cal_doc.ReplaceItemValue("$AlarmMemoOptions","")
End If

Then, In the Journal, in the JournalEntry document's QSave_CalendarSynch subroutine, add the following prior to the "If update_calendar Then" line:

Set niAlarmSendTo = doc.GetFirstItem("Notify")

And append niAlarmSendTo to the list of parameters in each call to fUpdateCalendarEntry. (there are 4)

Modification history
Entered 02-Nov-2006 16:07 by Dave Leigh. Last Modified 02-Nov-2006 16:07 by Dave Leigh.