<?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: Coding a flexible link between change objects in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Coding-a-flexible-link-between-change-objects/m-p/837275#M2905</link>
    <description>&lt;P&gt;For those interested, the new link type code that worked for me is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wt.change2.ChangeProcessLink cpl = wt.change2.ChangeProcessLink.newChangeProcessLink​(ci, cr);&lt;BR /&gt;wt.fc.PersistenceServerHelper.manager.insert(cpl);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 04:27:35 GMT</pubDate>
    <dc:creator>RFS</dc:creator>
    <dc:date>2022-11-10T04:27:35Z</dc:date>
    <item>
      <title>Coding a flexible link between change objects</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Coding-a-flexible-link-between-change-objects/m-p/835323#M2903</link>
      <description>&lt;P&gt;Using WC 12.0.2.7, I am trying to auto-create and link change objects at various levels (PR to CR, CR to CN, etc.).&amp;nbsp; I have searched the community for examples and found one called "&lt;A href="https://community.ptc.com/t5/Windchill/Create-Change-Request-from-Problem-Report-and-Default-to-same/m-p/161740" target="_blank" rel="noopener"&gt;Create Change Request from Problem Report and Default to same Container&lt;/A&gt;" that seemed to have some useful code, but the linking between the CR and CN in the example used the older model of linking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wt.change2.FormalizedBy fb = new wt.change2.FormalizedBy();&lt;/P&gt;&lt;P&gt;fb.setChangeIssue(ci);&lt;/P&gt;&lt;P&gt;fb.setChangeRequest2(CRNew2);&lt;/P&gt;&lt;P&gt;wt.fc.PersistenceServerHelper.manager.insert(fb);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot find examples of the newer objects used for linking (ChangeProcessLink?).&amp;nbsp; Does anyone have an example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related question:&amp;nbsp; Does anyone have the most recent JavaDocs available from PTC (or can anyone tell me where to get them)?&amp;nbsp; My copy appears to have many gaps (such as the "insert" above call which does not appear in my docs on the "PersistenceManagerSvr" interface used in "PersistenceServerHelper.manager").&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:05:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Coding-a-flexible-link-between-change-objects/m-p/835323#M2903</guid>
      <dc:creator>RFS</dc:creator>
      <dc:date>2024-03-15T14:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Coding a flexible link between change objects</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Coding-a-flexible-link-between-change-objects/m-p/835494#M2904</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/307723"&gt;@RFS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New Flexible Change Associations has been introduced in the Windchill 11+&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check &lt;A href="https://www.ptc.com/en/support/article/CS63595?source=ArticleViewerOthersLiked&amp;amp;sourcearticle=CS298512" target="_blank" rel="noopener"&gt;Article CS63595&lt;/A&gt;&amp;nbsp;to understand the objects and links&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New API service has been introduced to work with Flexible Changes.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;wt.change2.&lt;/SPAN&gt;flexible.FlexibleChangeHelper.getService&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The javaDoc is located in Windchill installation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;WindchillServerAdress&amp;gt;/Windchill/app/#ptc1/apiDocs/apiDocs?oid=OR%3Awt.org.WTUser%3A207&amp;amp;u8=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or you can download it from &lt;A href="https://www.ptc.com/en/support/article/cs17101?language=en&amp;amp;posno=1&amp;amp;q=JavaDoc&amp;amp;source=search" target="_blank" rel="noopener"&gt;PTC Knowladge Base&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 07:55:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Coding-a-flexible-link-between-change-objects/m-p/835494#M2904</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2022-11-03T07:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Coding a flexible link between change objects</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Coding-a-flexible-link-between-change-objects/m-p/837275#M2905</link>
      <description>&lt;P&gt;For those interested, the new link type code that worked for me is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wt.change2.ChangeProcessLink cpl = wt.change2.ChangeProcessLink.newChangeProcessLink​(ci, cr);&lt;BR /&gt;wt.fc.PersistenceServerHelper.manager.insert(cpl);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 04:27:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Coding-a-flexible-link-between-change-objects/m-p/837275#M2905</guid>
      <dc:creator>RFS</dc:creator>
      <dc:date>2022-11-10T04:27:35Z</dc:date>
    </item>
  </channel>
</rss>

