Divider element

The divider element renders a horizontal divider to separate groups of items.

Just like the item element, divider elements can be enabled or disabled with no impact to any other divider of item elements.

Figure 1. custom_menu.xml

<CustomMenu enabled='true' firstgroup='false'>
  <Title>Custom Menu Group</Title>
  <Items>
    <Item enabled='true'>
      <Title>Menu Item 1</Title>
      <URL>./About.aspx</URL>
    </Item>
    <Divider enabled='true'/>
    <Item enabled='true'>
      <Title>Menu Item 2</Title>
      <URL>./About.aspx</URL>
    </Item>
    <Item enabled='true'>
      <Title>Menu Item 3</Title>
      <URL>./About.aspx</URL>
    </Item>
  </Items></CustomMenu>

To increase performance, the Portal caches this file in memory. To refresh the cached version of this file, add a resetcustomcontent=1 URL parameter to the URL title bar while developing. Example:


http://machine/Portal/About.aspx?resetcustommenu=1

The cache auto-expires in five minutes. If there is no need to immediately refresh the custom_menu.xml file, replace the existing file. Within five minutes, the Portal automatically loads the new file.