-
Topic
-
Hello,
I have a “move to folder” applet that works fine. Is it possible to do the same thing with a “link to folder” operation?
Here is what I am doing:
set oDestinationFolder = GroupWise.Account.Cabinet.AllFolders.ItemByName(“Archive”)
iCount = Client.ClientState.SelectedMessages.Count
If iCount > 0 Then
For x = 1 To iCount
‘ Get the currently selected message
Set oMsg = Client.ClientState.SelectedMessages.Item(x)‘ Access message source folder
set oSourceFolder = oMsg.EnclosingFolders.item(1)‘ Move the message
call oSourceFolder.messages.move(oMsg, oDestinationFolder.Messages)set oSourceFolder = nothing
set oMsg = nothingNext
Else
Set oMsg = Client.ClientState.CommandMessage
set oSourceFolder = oMsg.EnclosingFolders.item(1)
call oSourceFolder.messages.move(oMsg, oDestinationFolder.Messages)End If
I would like to change out “call oSourceFolder.messages.move(oMsg, oDestinationFolder.Messages)” with an equivalent ‘link’ operation instead, but I cannot find what the correct code would be.
Thanks!
- You must be logged in to reply to this topic.