-
Topic
-
We have just switched from Groupwise 7 to Groupwise 8 and so I installed Formativ V2.02 Beta.
Most of our applets are running well but one is not working anymore. This applet is using the .Attachement.Add method with a selected message in Groupwise.Is this an error in Formativ V2.02 Beta?
Or an error in Groupwise 8?
Or is there an change in the GW8 interface?I have break down the applet into a short example reproducing the bug very easily:
‘
Sub Main(Client, GWEvent)
dim Msg
dim MyNewtask
dim i
dim index
dim Kategorien
dim TaskPrio
dim TaskCat
dim BuOn Error Resume Next
Set Msg = Client.ClientState.CommandMessage
If Msg Is Nothing Then
exit sub
End If
On Error Goto 0set MyNewTask = GroupWise.Account.Calendar.Messages.Add(“GW.MESSAGE.TASK”, fgwPersonal)
With MyNewTask
‘.FromText = GroupWise.Account.Owner.DisplayName
.FromText = Msg.FromText
‘.OnCalendar = FALSE
‘.Priority = fgwNormal
.AssignedDate = today
.StartDate = today
.DueDate = today
‘.Completed = FALSE
.Subject = “New job”.TaskCategory = “A”
.TaskPriority = 1.Attachments.Add(Msg) ‘ <<— Error
End Withset MyNewtask = nothing
Set Msg = nothing
End Sub
- You must be logged in to reply to this topic.