In previous versions of servoy you could use setText(“MenuName”) to set the name property of your menu item. However, in servoy 4.1 you must use set(“MenuItem”). The servoy docs say setText still exists. The console pointed me to the setText function. Once I made the change my custom menu worked. Please correct me if I am wrong, but if I’m right i’ll save somebody alot of time.
old: setText(“MenuItem”)
New: set(“MenuItems”)
Error =" TypeError: Cannot find function setText. (C:\Documents and Settings\ME\servoy_workspace\solution\globals.js#363)
at C:\Documents and Settings\me\servoy_workspace\solution\globals.js:363 (MenuAccess)"