Examples of menu entries

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Sep/2016, at 13:33

A typical GN4 menu appears in the XXX_TABITEMS.XML file, under GN4ShellMenus:

<?xml version="1.0" encoding="utf-8" ?>

<GN4ShellConfiguration

         <GN4ShellMenus>

           <Menuset Name="FredMain">

                    <Menu xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

 

        [here comes the menu]

 

                    </Menu>

           </Menuset>

         </GN4ShellMenus>

</GN4ShellConfiguration>

There could be more menusets and menus that act depending on the current context.

hmtoggle_plus1A drop-down menu with only one item
hmtoggle_plus1A drop-down menu with one item and a tooltip
hmtoggle_plus1A drop-down menu with a horizontal separator
hmtoggle_plus1A drop-down menu with a nested menu
hmtoggle_plus1A recent items list
hmtoggle_plus1A menu entry with parameters

Menu in browser

A typical browser menu has the following structure:

  <menus>

    <!-- Calendar, task & event-->

    <menu name="Planning">

      <menuItem text="New" iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_NewForm&amp;Size=16&amp;Default=t">

        <menuItem text="Task" iconUrl="do.ashx?Cmd=Icon&amp;Name=t_task&amp;Size=16&amp;Default=t" navigateUrl="javascript:this.menuWebPart.showDialog('WFForm.aspx?wf=newTask&amp;autoCloseMode\=2' ,null,870,650);" />

        <menuItem text="Task copy" iconUrl="do.ashx?Cmd=Icon&amp;Name=t_task&amp;Size=16&amp;Default=t" navigateUrl="javascript:this.menuWebPart.showDialog('WFForm.aspx?wf=newTask&amp;autoCloseMode\=2&amp;Ids='+this.menuWebPart.selectedIdList() ,null,820,650);" enable="One" />

        <menuItem text="Upload iCalendar files" iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_upload&amp;Size=16" navigateUrl="javascript:this.menuWebPart.showDialog('WFForm.aspx?wf=uploadICal&amp;pars=type:task',null,600,400);"/>

      </menuItem>

      <menuItem text="Edit" iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_Edit&amp;Size=16&amp;Default=t" navigateUrl="javascript:this.menuWebPart.showDialog('EditObjectsForm.aspx?Ids='+this.menuWebPart.selectedIdList(),null,870,670);" enable="Some" />

      <menuItem text="Delete" iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_Delete&amp;Size=16&amp;Default=t" navigateUrl="javascript:this.menuWebPart.showDialog('DeleteForm.aspx?Ids='+this.menuWebPart.selectedIdList(),null);" enable="Some" />

      <menuItem text="Send" iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_Send&amp;Size=16&amp;Default=t">

        <menuItem text="Send Forward" iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_SendForward&amp;Size=16&amp;Default=t" navigateUrl="javascript:this.menuWebPart.showDialog('WFForm.aspx?wf=ContinueTaskCopyFlow&amp;autoCloseMode\=1&amp;ids='+this.menuWebPart.selectedIdList()+'&amp;pars=type:sendOn',null,820,650);" enable="Some" />

        <menuItem text="Send Back" iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_SendBack&amp;Size=16&amp;Default=t" navigateUrl="javascript:this.menuWebPart.showDialog('WFForm.aspx?wf=ContinueTaskCopyFlow&amp;autoCloseMode\=1&amp;ids='+this.menuWebPart.selectedIdList()+'&amp;pars=type:sendBack',null,820,650);" enable="Some" />

        <menuItem text="Send to..." iconUrl="do.ashx?Cmd=Icon&amp;Name=tlb_Send&amp;Size=16&amp;Default=t" navigateUrl="javascript:this.menuWebPart.showDialog('EditObjectsForm.aspx?objectUI\=sendTask&amp;Ids='+this.menuWebPart.selectedIdList(),null,540,540);" enable="Some" />

      </menuItem>

    </menu>

hmtoggle_plus1A drop-down menu with only one item
hmtoggle_plus1A drop-down menu with a nested menu

See also

If a modified menu command / shortcut key do not function