OnMenuInvoke Method
The OnMenuInvoke method creates a menu. It returns nothing. It uses the following syntax:
OnMenuInvoke(consts.get("APPLET_NAME")
The applicationcontext.js file includes the following code:
activeAplt.GetMenu().OnMenuInvoke(consts.get("APPLET_NAME")
You can use the following code:
this.ExecuteMethod("OnMenuInvoke", consts.get("APPLET_NAME"),
consts.get("SWE_PREPARE_APPLET_MENU"), consts.get("SWE_MENU_APPLET"), true);