This code creates a menu/sub menu via the arrays taken from a sheet (GApps)
// get globals var arrayMenu = globals.mpMenuItems; var arraySubMenu = gl
You can create handlers using UiInstance's createServerHandler() and createClientHandler() methods.