Procedure
Perform the following steps to add JSPs in MAPSB:
1. Copy the created JSP files to the location: Windchill/codebase/netmarkets/jsp/mapsb.
2. Add the following entries to the mpmlink.properties.xconf file to specify the JSP files to be used for the upstream and downstream custom tabs:
◦ <Property name="com.ptc.windchill.mpml.mapsb.DisplayUpstreamCustomJSPs" default="upstreamCustomJsp1"/>
◦ <Property name="com.ptc.windchill.mpml.mapsb.DisplayDownstreamCustomJSPs" default="downstreamCustomJsp1"/>
In the above example, Custom Tab 1 is specified for upstream and downstream structures. To specify multiple tabs in each structure, add comma-separated values without any space as shown:
◦ <Property name="com.ptc.windchill.mpml.mapsb.DisplayUpstreamCustomJSPs" default="upstreamCustomJsp1,upstreamCustomJsp3"/>
◦ <Property name="com.ptc.windchill.mpml.mapsb.DisplayDownstreamCustomJSPs" default="downstreamCustomJsp1,downstreamCustomJsp2,downstreamCustomJsp4"/>
3. Run xconfmanager and restart the method server.
4. Open MAPSB. The custom tabs are created and the contents of the JSP files appear on the tabs.
|
If you copy the contents of one JSP file to another, ensure that the IDs of the tags in the JSP files are different. Otherwise, it can result in issues.
|