Opening other Pages with a Menu Command

You can add menu commands to the Content Navigator that point to an external or internal web page. For this, add a bean according to the following example to the file contentMenu.xml. In this example, an external page is opened:

<bean id="linkToExternal" class="com.infopark.cm.htmlgui.browse.menuaction.Redirect">
  <property name="titles"><map>
    <entry key="de" value="link to myDomain" />
  </map></property>
  <property name="uri" value="http://www.mydomain.de" />
  <property name="isExternal" value="true" />
</bean>

The property isExternal specifies whether an external page or an internal (GUI) page is opened.

To assign the bean to a menu item, add its ID to the menuBar section of the contentMenu.xml file. For the changes to become effective, the Content Manager needs to be restarted, and the GUI needs to be redeployed.