#6724
Support 2
Moderator

    When you view the applet source code within FormativCentral, you see the full code to be executed. Apart from some internal flags used by Formativ, there is no additional applet code generated when you select the startup event.

    When the applet is executed, all GroupWise event integration defined for the applet is handled by the Formativ solutions engine.

    As a side note, when an applet executes you can check the Sub Main’s GWEvent parameter to determine which GroupWise event initiated the applet. This enables the applet developer to provide different functionality depending on how the applet is triggered.

    The 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

    I hope this helps.

    Regards,

    Advansys Support