Custom Menus for infoRouter

General questions and answers about infoRouter EDMS

Moderator: infoRouter Guru

Post Reply
Sarah

Custom Menus for infoRouter

Post by Sarah » Wed Sep 08, 2010 8:30 am

Hello,

Does anyone know how to create custom menus in infoRouter? I remember reading about it somewhere.
I am trying to launch my own program when a user clicks one of these menus?

Please help.

Sarah M.

User avatar
infoRouter Guru
Posts: 230
Joined: Fri Aug 07, 2009 8:46 pm

Re: Custom Menus for infoRouter

Post by infoRouter Guru » Wed Sep 08, 2010 8:40 am

Hello Sarah,

Yes. This is possible and it is quite simple to do.
You place an XML file in the config directory (you can find this directory under the infoRouter application directory).
This XML file defines your custom menus. Once infoRouter is restarted, these menus will become available. Presto!

Note: As of 8.1.114, we have added the ability to add custom menus to the pop-menu as well as the regular menu.

Please read this document on how to do this (Don't forget the sample XML below):
https://www.inforouter.com/downloads/v8 ... us-V80.pdf

Here is a sample XML that will do the trick:

Code: Select all

<root>
<menu name="FILE">
	<menu name="mnuUploadRarFile" caption="Upload RAR File" tiptext="Uploads rar file and Expand it on the server." target="_rarupload" action="UploadRar.aspx" />
	<menu name="mnuCreateImage" caption="Create an Image" tiptext="Create an Image Document using server side image editor." target="_createImage" action="CreateImage.aspx" />
</menu>
<menu name="EDIT">
	<menu name="mnuPackageDocuments" caption="Package Documents" tiptext="Packages the selected documents to download." target="_package" action="PackageDocuments.aspx" />
</menu>
<menu name="TOOLS" caption="test">
	<menu name="mnufaxto" caption="fax test" tiptext="Faxes to the specified fax number" target="_faxto" action="faxto.aspx" />
</menu>
<menu name="Help" caption="Help">
	<menu name="mnuHelpCreateDocument" caption="How to create a document" tiptext="Explains the options of how to create a documents" target="_help" action="/help/en/HowtoCreateDocument.htm" />
	<menu name="mnuHelpUpdateDocument" caption="How to Update a document" tiptext="Explains the options of how to update a documents" target="_help" action="/help/en/HowtoUpdateDocument.htm" />
	<menu name="mnuHelpWokflow" caption="How to start a workflow " tiptext="Explains the how to submit a document to workflow" target="_help" action="/help/en/Workflow.htm" />
</menu>
<menu name="SAPIntegration" caption="SAP Integration" >
	<menu name="mnuCheckStock" caption="Check Stock" tiptext="Checks stock screen" target="_sap" action="http://sapsrv/checkstock.php" />
	<menu name="mnuCheckCustomer" caption="Check Customer" tiptext="Checks customer screen" target="_sap" action="http://sapsrv/checkcustomer.php" />
	<menu name="mnuCheckInvoice" caption="Check Invoice" tiptext="Checks Invoice screen" target="_sap" action="http://sapsrv/checkInvoice.php" />
	<menu name="mnuCheckShipment" caption="Check Shipments" tiptext="Checks shipment screen" target="_sap" action="http://sapsrv/checkshipments.php" />
	<menu name="mnuReports" caption="Reports" tiptext="Reports screen" target="_sap" action="http://sapsrv/reports.php" />
</menu>
<menu name="POPMENU" >
	<menu name="mnuCustomPopmenu1" caption="My Custom action" tiptext="My custom action is blah blah.." target="_newcustompage" action="http://srv1/custompop1.aspx" />
</menu>
</root>

Post Reply

Return to “General Questions & Issues About infoRouter EDMS”

Who is online

Users browsing this forum: No registered users and 16 guests