Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How can I dynamically control display of menu items in Windchill?

$
0
0

If the object type is one that is defined in your Windchill environment such that you can create an instance of that type, you can include supportedTypes or nonSupportedTypes tags in your action definition:

 

<action name="myAction">

   <description>My New Action</description>

   <command url="netmarkets/jsp/part/myAction.jsp" />

   <supportedTypes>

     <type value="WCTYPE|wt.part.WTPart|com.company.www.PartOne"/>

   </supportedTypes>

   <nonSupportedTypes>

     <type value="WCTYPE|wt.part.WTPart|com.company.www.PartTwo"/>

     <type value="WCTYPE|wt.part.WTPart|com.company.www.PartThree"/>

   </nonSupportedTypes>

</action>

 

If you use supportedTypes/nonSupportedTypes tags, you have to list the types individually, not the parent.


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>