cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Create new JSP Site/Link in every CAD Parts & get Promotion Request Approvers

dwallys
1-Visitor

Create new JSP Site/Link in every CAD Parts & get Promotion Request Approvers

Hello Guys,

At first i want thank everyone for his effort and answers to help me with that kind of "problem".

First Point: What i want to generate is a new "Button/Link" under the "Tab History" in every CAD Part (see screenshot1). Do you have any idea how i can generate that kind of button and link it to the information from the second point?

Second Point: On that JSP should be shown the Routing/Process information from the last Promotion Request (see screenshot2) . Do you have any clue how i can get that Routing/Process information from the last Promotion Request into every CAD Part Page?

Best Regards

Daniel

1 REPLY 1
dwallys
1-Visitor
(To:dwallys)

Creating a new JSP Site is very easy but a little bit complicated explained in the customization guide. You have to make changes on 4 files.

- navigation-actions.xml

- navigation-actionsmodels.xml

- e.g. PartManagement-actionsmodels.xml (only for Part-Pages other actionsmodels are available as well)

- navigationRB.rbinfo

Navigation-actions.xml:

<objecttype name="part" class="wt.part.WTPart" resourceBundle="com.ptc.core.ui.navigationRB">

<action name="test" type = "part">

<command windowType="page" url="netmarkets/jsp/part/test.jsp" />

</action>

</objecttype>

Navigation-actionmodels.xml

<model name="Testing" resourceBundle="com.ptc.core.ui.navigationRB">

<description>Testing 3rd level nav menu</description>

<action name="test" type="part"/>

</model>

PartManagement-actionmodels.xml:

<!-- Part information page 3rd level nav menu bar -->

<model name="third_level_nav_part">

<action name="productStructure" type="object"/> <!-- Structure -->

<submodel name="general"/> <!-- General -->

<submodel name="relatedItems"/> <!-- Related Objects -->

<submodel name="history"/> <!-- History -->

<submodel name="collaboration"/> <!-- Collaboration -->

<submodel name="Testing"/> <!-- Testing -->

</model>

navigationRB.rbinfo:

object.Testing.description.value=Testing

object.Testing.description.comment=Used for the text on the General third level nav menu. The <U class=”mnemonic”> </U> tag should be put around the character that is the access key.

object.Testing.hotkey.value=t

object.Testing.hotkey.comment=Mnemonic for the General third level nav menu. This should be a character that matches the character surrounded by the <U class=”mnemonic”> </U> tag in the value line above.

object.Testing.hotkey.pseudo=false

part.test.description.value=Test

part.test.description.comment=Test

part.test.tooltip.value=Test

part.test.tooltip.comment=Test

At the at you have to re-compile it to a java class with resourcebuild.

Announcements


Top Tags