Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I am using Windchill PDMLink Release 11.0 M010
Action - Model - Second level navigation tabs in Windchill PDMLink
Solved! Go to Solution.
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>
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
actions.xml
Result:
If you use Tools customization tab, you can just reload Actions, if not restart method server.
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