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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

second level navigation tabs in Windchill PDMLink

SD_10008359
7-Bedrock

second level navigation tabs in Windchill PDMLink

I am using Windchill PDMLink Release 11.0 M010

Action - Model - Second level navigation tabs in Windchill PDMLink

ACCEPTED SOLUTION

Accepted Solutions

Action Model - Second level navigation tabs is not working in Windchill PDMLink.

 

C:\ptc\Windchill_11.0\Windchill\codebase\config\actions\custom-actionModels.xml

 

<model name="main navigation" id="browseActions" resourceBundle="com.ptc.core.ui.navigationRB">
<description>
Main navigation (tabs)
</description>
<action name="recentContexts" type="navigation"/>
<action name="program" type="navigation"/>
<action name="product" type="navigation"/>
<action name="project" type="navigation"/>
<action name="change" type="navigation"/>
<action name="library" type="navigation"/>
<action name="org" type="navigation"/>
<action name="site" type="navigation"/>
<action name="supplier" type="navigation"/>
<action name="search" type="navigation"/>
<!-- entry for customization tab -->
<action name="customization" type="navigation"/>
<!-- entry for custom tab -->
<action name="customAction" type="navigation"/>
</model>

<!-- entry for custom tab -->
<model name="customAction navigation" defaultActionName="listjsp" defaultActionType="object">
<action name="listjsp" type="object" />
</model>
<!-- Customization ends -->

</actionmodels>

 

 

 

C:\ptc\Windchill_11.0\Windchill\codebase\config\actions\custom-actions.xml

 

<!DOCTYPE listofactions SYSTEM "actions.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<listofactions>
<!-- entry for custom tab -->
<objecttype name="navigation" class="" resourceBundle="SettingsResource">
<action name="customAction" renderType="General">
</action>
</objecttype>

<objecttype name="object" class="java.lang.Object" resourceBundle="SettingsResource">
<action name="listjsp">
<command url="ptc1/test" windowType="page"/>
</action>
</objecttype>
<!-- Customization ends-->

</listofactions>

 

 

View solution in original post

5 REPLIES 5

Action Model - Second level navigation tabs is not working in Windchill PDMLink.

 

C:\ptc\Windchill_11.0\Windchill\codebase\config\actions\custom-actionModels.xml

 

<model name="main navigation" id="browseActions" resourceBundle="com.ptc.core.ui.navigationRB">
<description>
Main navigation (tabs)
</description>
<action name="recentContexts" type="navigation"/>
<action name="program" type="navigation"/>
<action name="product" type="navigation"/>
<action name="project" type="navigation"/>
<action name="change" type="navigation"/>
<action name="library" type="navigation"/>
<action name="org" type="navigation"/>
<action name="site" type="navigation"/>
<action name="supplier" type="navigation"/>
<action name="search" type="navigation"/>
<!-- entry for customization tab -->
<action name="customization" type="navigation"/>
<!-- entry for custom tab -->
<action name="customAction" type="navigation"/>
</model>

<!-- entry for custom tab -->
<model name="customAction navigation" defaultActionName="listjsp" defaultActionType="object">
<action name="listjsp" type="object" />
</model>
<!-- Customization ends -->

</actionmodels>

 

 

 

C:\ptc\Windchill_11.0\Windchill\codebase\config\actions\custom-actions.xml

 

<!DOCTYPE listofactions SYSTEM "actions.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<listofactions>
<!-- entry for custom tab -->
<objecttype name="navigation" class="" resourceBundle="SettingsResource">
<action name="customAction" renderType="General">
</action>
</objecttype>

<objecttype name="object" class="java.lang.Object" resourceBundle="SettingsResource">
<action name="listjsp">
<command url="ptc1/test" windowType="page"/>
</action>
</objecttype>
<!-- Customization ends-->

</listofactions>

 

 

Hi @SD_10008359 

I guess that there could be miss spelling in a name of the action or somewhere.

 

In my case I've added the navigation tab now. So there should not be any trouble with it.

 

in my case 

actionModels.xml

HelesicPetr_1-1651489624579.png

 

actions.xml

HelesicPetr_2-1651489668908.png

 

 Result: 

HelesicPetr_5-1651489857067.png

 

 

If you use Tools customization tab, you can just reload Actions, if not restart method server.

 

HelesicPetr_4-1651489804740.png

 

 

PetrH

 

Hi @SD_10008359 

Additional information would be nice to share.

What is Second level navigation tabs ? it is submenu or what?

Screen shot with comment what you are trying to achieve atc. .

PetrH  

New tab with different icon. Refer article : https://www.ptc.com/en/support/article/cs23488 

 

Submenu.PNG

Hi @SD_10008359 

Icon should be placed in codebase/netmarkets/images

PetrH

Announcements

Top Tags