/ Forums / Advansys Formativ / Creating Solutions with Formativ / Compose command in C3PO…

  • Creator
    Topic
  • #3866
    bkirkby
    Participant

    Does formativ expose the #compose command in the C3PO as an event?

    Thanks,
    -bk

  • Author
    Replies
  • #6441
    Support 2
    Moderator

    Sure, on the Integrations tab in FormativCentral, just select the On Compose check box under the desired message type -> Events tree options. Once selected, this means that the applet will execute when the #compose event fires.

    You can also interrogate the applet’s global GWEvent variable to determine which GW event initiated it. For example, to test whether the the On Reply event initiated the applet, you could use:


    If GWEvent = "GW#C#REPLY" Then
    'Do something
    Else
    'Do something else
    End If

    The other GWEvent constant string values are shown below. These are the same as listed in the Novell C3PO SDK header files.

    GW#C#ACCEPT
    GW#C#ARCHIVE
    GW#C#COMPLETE
    GW#C#COMPOSE
    GW#C#DECLINE
    GW#C#DELEGATE
    GW#C#DELETE
    GW#C#DOC_CHECKIN
    GW#C#DOC_CHECKOUT
    GW#C#DOC_RESETINUSE
    GW#C#FORWARD
    GW#C#INFO
    GW#C#OPEN
    GW#C#PRINT
    GW#C#PROPERTIES
    GW#C#REPLY
    GW#C#RESEND
    GW#C#SAVE
    GW#C#SAVEAS
    GW#C#SETALARMS
    GW#C#UNDELETE
    GW#C#VIEW
    GW#C#SEND

    Please let us know if you have any further questions.

    Best regards,

    Advansys Support

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