<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I add an action only for a document subtype? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672435#M4366</link>
    <description>&lt;P&gt;You need to implement your own custom validator or filter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2020 12:56:08 GMT</pubDate>
    <dc:creator>Florent</dc:creator>
    <dc:date>2020-06-18T12:56:08Z</dc:date>
    <item>
      <title>How do I add an action only for a document subtype?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672428#M4365</link>
      <description>&lt;P&gt;Hello everyone, please tell me how to add an action to the "Actions" button for only one subtype of the document WTDocument?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:23:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672428#M4365</guid>
      <dc:creator>VladiSlav</dc:creator>
      <dc:date>2024-03-15T14:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an action only for a document subtype?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672435#M4366</link>
      <description>&lt;P&gt;You need to implement your own custom validator or filter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:56:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672435#M4366</guid>
      <dc:creator>Florent</dc:creator>
      <dc:date>2020-06-18T12:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an action only for a document subtype?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672443#M4367</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;You may check for the property menufor described here :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.ptc.com/help/windchill/wnc/r11.1_m020/whc_en/Windchill_Help_Center/WCCG_UICust_AddActionsHook_WCClientArchAction_Defining_a_new_model_action.html#" target="_self"&gt;Defining New Action Model&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;focus on the "menufor" keyword this point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just be aware of the article : CS312920 if this not work, a pre-validation is required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="wwID0EGPES" class="Section_Title"&gt;Sample Code&lt;/DIV&gt;
&lt;DIV id="wwID0ELPES" class="Body"&gt;The following is sample code for an action model that configures a subtype:&lt;/DIV&gt;
&lt;DIV id="wwID0EQPES" class="Preformatted"&gt;&amp;lt;!-- Copied from ChangeManagement-actionModels.xml --&amp;gt;&lt;BR /&gt;&amp;lt;!-- Originally copied from menu for wt.change2.WTChangeRequest2 --&amp;gt;&lt;BR /&gt;&amp;lt;model name="sample change request actions" menufor="WCTYPE|&lt;BR /&gt;wt.change2.WTChangeRequest2|org.default.www.SampleChangeRequest"&amp;gt;&lt;BR /&gt;&amp;lt;action name="view" type="object"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="SETLIFECYCLESTATE" type="pdmObject"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="createSubscription" type="subscription"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="separator" type="separator"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="reviseChangeItems" type="change"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="editCapabilityPackage" type="capabilityPackage"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="create" type="approach" /&amp;gt;&lt;BR /&gt;&amp;lt;action name="create" type="capabilityImplementationProject" /&amp;gt;&lt;BR /&gt;&amp;lt;action name="separator" type="separator"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="sandboxAddToProject" type="object"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="SBAddToPrj" type="sandbox"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="removeShare" type="object"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="separator" type="separator"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="ManageSecurity" type="accessPermission"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="renameObjectWizard" type="object"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="delete" type="object"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="separator" type="separator"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="separator" type="separator"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="discuss" type="forum"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="copy" type="object"/&amp;gt;&lt;BR /&gt;&amp;lt;/model&amp;gt;&lt;/DIV&gt;
&lt;DIV class="Preformatted"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="Preformatted"&gt;good luck !&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Jun 2020 13:14:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672443#M4367</guid>
      <dc:creator>hlafkir</dc:creator>
      <dc:date>2020-06-18T13:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an action only for a document subtype?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672448#M4368</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Amethyst lia-component-message-view-widget-author-username"&gt;&lt;A id="link_9" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.ptc.com/t5/user/viewprofilepage/user-id/117440" target="_self"&gt;&lt;SPAN class=""&gt;hlafkir&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;,Thank you very much, this is what you need&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Jun 2020 13:20:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/672448#M4368</guid>
      <dc:creator>VladiSlav</dc:creator>
      <dc:date>2020-06-18T13:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add an action only for a document subtype?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/971337#M8691</link>
      <description>&lt;P&gt;Hi VladiSlav, did this work for you?? i tried the same for one of the document subtype dint work, so need your suggestion&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 09:53:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-do-I-add-an-action-only-for-a-document-subtype/m-p/971337#M8691</guid>
      <dc:creator>SA_10903195</dc:creator>
      <dc:date>2024-09-13T09:53:12Z</dc:date>
    </item>
  </channel>
</rss>

