/ Forums / Advansys Formativ / Creating Solutions with Formativ / Suppress Event – Reply to All

  • Creator
    Topic
  • #4155
    rfaude
    Participant

    Hi,

    is there a way to determine to GW event “Reply to All”


    Sub Main(Client, GWEvent)

    msgbox GWEvent

    End Sub

    The integration is set on OnReply | After GroupWise Event. The result is all the same (GW#C#REPLY). It makes no different if i choose Reply or Reply to All.

    Any idea?

    Or is it possible with “GroupWise.DisableCommand(?)”

    Thanks for assistance.

    Best Regards

    Ralf

  • Author
    Replies
  • #7284
    Support 1a
    Participant

    Hello Ralf,

    You can do this by integrating your applet with the ‘On ItemReplyOpenItem’ event associated with the GroupWise application (not email). Your applet need to look at the first parameter associated with this command, as it tells you what type of reply the user is attempting. The possible values are:

    All = 7
    AllPrivate = 39
    Sender = 1
    SenderPrivate = 33
    Discussion = 16
    DiscussionNNTP = 144
    DiscussionORIG = 256

    If the value was 7 (All) you would then cancel the command. Here’s some sample code:

    Sub Main(Client, GWEvent)
    
       if EventParams.Item(0).Value = 7 then     ' 7 = Reply to all
         MsgBox "You cannot reply to all."
         Groupwise.CancelGroupWiseEvent = true
       end if
    
    End Sub

    See http://developer.novell.com/ndk/doc/gwtoken/gwtokens/data/ag3n400.html for more information.

    I hope this helps.

    Advansys Support

    #7285
    rfaude
    Participant

    Hey Croc Men’s

    All the time great support Smile

    Thanks

    Cheers

    Ralf

    #7286
    Support 1a
    Participant

    Hi Ralf,

    We do our best 😉

    Cheers,

    Advansys Support

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