• Creator
    Topic
  • #4424
    ctaleck
    Participant

    How do you select a particular message in the Client UI (based on MessageID) using the Token API?

    I am using the Groupwise.ItemReply() token to reply to a message, but sometimes the incorrect message is selected in the Client UI. This is especially true if the user opens a message using Groupwise Notify.

    Thank you.

  • Author
    Replies
  • #8143
    Support 3
    Participant

    Not sure any Token available to select a message. Another alternative to reply the message using Object API then open view.

      
      set oMsg = GroupWise.Account.GetMessage("xxxx-Message-ID-xxxx")
      set oReplyMsg = oMsg.Reply("", true, true, false)
      call GroupWise.ItemOpen(oReplyMsg.MessageID, "")
    
      set oReplyMsg  = nothing
      set oMsg  = nothing
    

    Regards,
    Advansys Support

    #8147
    ctaleck
    Participant

    I had tried the Object method as well, but nothing opened using the Reply command.

    Your code points out to me that is a separate operation using the ItemOpen Token command.

    Sometimes the connection between the Object model and the Token model is not apparent.

    Thank you.

    #8146
    ctaleck
    Participant

    Further testing using your method shows that message is created and sent.

    However, a blank e-mail with a pencil icon is left behind in the users mailbox.

    How do I get rid of this “orphaned” item?

    #8145
    ctaleck
    Participant

    A colleague found the solution to the orphaned “pencil” e-mail: use the delete method.

    So the new code would be:

       
      set oMsg = GroupWise.Account.GetMessage("xxxx-Message-ID-xxxx")
      set oReplyMsg = oMsg.Reply("", true, true, false)
      call GroupWise.ItemOpen(oReplyMsg.MessageID, "")
      oReplyMsg.Delete()
      set oReplyMsg  = nothing
      set oMsg  = nothing
    
    #8140
    ctaleck
    Participant

    An interesting artifact is showing on the messages created using oMsg.Reply. There is some garbled text where the AM/PM indicator is supposed to be in the heading. I’ve tested this on a couple of machines. Can you confirm this is a bug with Groupwise? The reply seems to be created in ‘plain text’ view instead of my default ‘HTML’ view. I wonder if that affects this?

    >>> <Name> 11 /06/2009 04:32:48 ÐïÄÐ >>>
    #8142
    Support 3
    Participant

    It appears to be a bug in GroupWise client. We can reproduce the behaviour in GroupWise 7.0.3 (build 08/05/2009) but are unable to reproduce it in GroupWise 8.0.1 (build date 26/08/2009).

    Could you please let us know which version of GroupWise client you are running (see Help – About GroupWise)?

    We will report this issue to Novell and post any update in this thread.

    Regards,
    Advansys Support

    [This message was edited by Support 3 on November 08, 2009 at 04:24 PM.]

    #8144
    ctaleck
    Participant

    Our organization is using Groupwise 7.0.2 HP 5/24/2007 Build number: 562.

    #8141
    Support 3
    Participant

    We have reported this issue and Novell created Bug 554676 “Garbarge chars in reply delimeter when using reply method”. Considering it works in GroupWise 8, Novell not confident that it will get cycles before GroupWise 7 ends development support.

    Regards,
    Advansys Support

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.