#7960
Support 3
Participant

You can approach it by the following two ways:

Option 1: Cancel the GroupWise event that caused an applet to execute.
You can include the following line which will cancel the GroupWise event (i.e. message view will not display)

groupwise.CancelGroupWiseEvent = true

You need to change the “OnReply” event direction to “Before the GroupWise Event”. Click the arrow next to “OnReply” event to see the available direction.

Option 2: Close the mail window

Following code will close the window. It make sure the mail window is opened. Incorrectly calling the “CloseWindow” can result closing the GroupWise client window.

  
  if (lcase(groupwise.EnvCurrentViewName) = "mail") then
    groupwise.CloseWindow()
  end if

We will recommend to use the Option 1 because the user don’t have to see the mail window open and close. See the Formativ language Guide for more information about the available methods.

quote:


I really hate to ask for more handouts, however i am really struggling to find what other predefined variables I can call on
such as: GroupWise.Account.Owner.DisplayName etc etc, where can I find more information on what variables i can call up? I have been trying the programmers chm guide (from your website.


“GroupWise.Account” return the logged in user object. You can view the available methods/properties in the Novell Object API documentation: http://developer.novell.com/documentation/gwobjapi/index.html?gwobjenu/data/h7ikbsqg.html

Regards,
Advansys Support