Configuring System Environments > Menu Extension Configuration File > Adding Process Maps
  
Adding Process Maps
To add process maps to the QAD .NET UI, you must add them in the menu extension configuration file using the <ShellMenuItem> element. The format for adding a process map using the <ShellMenuItem> element is as follows:
 
<ShellMenuItem key="process.N" label="ProcessMapName" image="ProcessMap">
<Command type="QAD.Commands.ProcessViewerCommand">
<Parameter value="${DesktopBaseUrl}/ProcessViewer.jsp?ProcessName=ProcessMapName" type="System.Uri,System"/>
<Property name="Text" value="ProcessMapName"/>
</Command>
</ShellMenuItem>
The first process map defined in the file includes <ShellMenuItem key="process.0"..., the next map includes <ShellMenuItem key="process.1"..., and so on. If the last process map defined in the file includes <ShellMenuItem key="process.9"..., then the next map you add should include <ShellMenuItem key="process.10".... Next, references to the process name need to be included in the <ShellMenuItem>’s label attribute, the <Parameter> element’s value attribute, and the <Property> element’s value attribute. For example, the following adds a process map named MapExample as the 11th map defined in the file:
 
<ShellMenuItem key="process.10" label="MapExample" image="ProcessMap">
<Command type="QAD.Commands.ProcessViewerCommand">
<Parameter value="${DesktopBaseUrl}/ProcessViewer.jsp?ProcessName=MapExample" type="System.Uri,System"/>
<Property name="Text" value="MapExample"/>
</Command>
</ShellMenuItem>