Personalizzazione avanzata > Business Logic Customization > Customizing MPMLink > Customizing MPMLink Browsers > Launching JSP-Based Custom Pages
  
Launching JSP-Based Custom Pages
In the process of customizing Windchill MPMLink you may have created some JSP-based pages. For example, a customized JSP page that generates a report using a list of Parts found in the BOM Transformer. Use the following procedure to create a launcher that will execute this report from the BOM Transformer and once completed, refresh the browser with any new information.
* 
In this example the name of the custom JSP-based page is customReport.jsp
1. Stop the Method Server.
2. Copy customReport.jsp to a known netmarkets directory of the Method Server. For example, <Windchill>\codebase\netmarkets\jsp\my-company\customReport.jsp. Doing so defines the URL that will be used to launch the JSP page. For example, ptc1/my-company/customReport
3. Add an entry to custom-actions.xml using LaunchCustomURLAction as the command class, and the URL defined above:
<objecttype name="mapsb" resourceBundle="com.example.mapsb.customMAPSBActionsRB">
....
<action name="customReportGWT" ajax="component">
<command class="com.ptc.cat.ui.client.action.LaunchCustomURLAction" method="execute"
url="/ptc1/my-company/customReport" windowType="popup"/>
<supportedTypes>
<type value="wt.part.WTPart"/>
</supportedTypes>
</action>
...
4. Add an entry to custom-actionsModels.xml for the Manufacturing Associative Part Structure Browse. In this example, added in the mapsbUstreamSideToolBar UI component:
<actionmodels>
...
<model name="mapsbUpstreamSideToolBar">
...
<action name="customReportGWT" type="mapsb"/>
5. Restart the Method Server.