<?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 to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018082#M10037</link>
    <description>&lt;P&gt;Without iterating is against Windchill specs, he only way is to go through SQL and do an insert into WTPartUsageLink&lt;/P&gt;
&lt;P&gt;&amp;nbsp;table, but this not really supported .&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 10:03:55 GMT</pubDate>
    <dc:creator>Fadel</dc:creator>
    <dc:date>2025-05-30T10:03:55Z</dc:date>
    <item>
      <title>How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent part</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1017916#M10032</link>
      <description>&lt;P&gt;I have a requirement where if I add a specific type of WTPart to existing Part in Part structure using OOTB actions "add existing"/"add new", the Parent part to which I want to add child part should not iterate.&amp;nbsp; For this I have implemented listener and catch the PRE_STORE event and could found the target object which is WTPartUsageLink. From this I got both&amp;nbsp; roleA and roleB objects, and then I undo check out the roleA (parent) and then created an usagelink and finally tried to save it using PersistenceHelper.manager.insert() API&lt;/P&gt;&lt;P&gt;Here the issue is probably in back end after PRE_STORE , there is PRE_CHECKIN event that might be calling so I am getting exception that unable to find the checked-out copy. Here there will not be any working copy because I undo check out it using WorkInHelper.. API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My overall intension is that parent part should not iterate but need to create usagelink by adding a&amp;nbsp; child part (of specific type).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This I need only when I am trying to add a specific type of part which will not involve any release. I have an option in my mind of creating custom action followed by implementing custom Form Processor, however, I want to know the feasibility of using existing OOTB actions by implementing listeners.&lt;/P&gt;&lt;P&gt;Can anyone help me out for this? Thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 15:33:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1017916#M10032</guid>
      <dc:creator>AKC</dc:creator>
      <dc:date>2025-05-29T15:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018045#M10034</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/301264"&gt;@AKC&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;At first place why the parent part shouldn't iterate?&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 08:13:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018045#M10034</guid>
      <dc:creator>TDT</dc:creator>
      <dc:date>2025-05-30T08:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018071#M10036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/692827"&gt;@TDT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The part which we would like to add in part structure is of specific type which will not be go for production release to any plant. This is just to add some information to existing parent part. So I just want to know the feasibility if we can achieve this with OOTB actions itself&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 09:11:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018071#M10036</guid>
      <dc:creator>AKC</dc:creator>
      <dc:date>2025-05-30T09:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018082#M10037</link>
      <description>&lt;P&gt;Without iterating is against Windchill specs, he only way is to go through SQL and do an insert into WTPartUsageLink&lt;/P&gt;
&lt;P&gt;&amp;nbsp;table, but this not really supported .&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 10:03:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018082#M10037</guid>
      <dc:creator>Fadel</dc:creator>
      <dc:date>2025-05-30T10:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018160#M10038</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/326172"&gt;@Fadel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just wrote code using only APIs (no SQL dB insert was used) to add a Part to structure without iterating the parent part.&lt;/P&gt;
&lt;P&gt;Here's parent part before. Note version A.1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_0-1748624205880.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/123713iB2054B75C7CB662A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_0-1748624205880.png" alt="d_graham_0-1748624205880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I run code in Windchill shell.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_1-1748624891522.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/123714i201EF0E16B4827F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_1-1748624891522.png" alt="d_graham_1-1748624891522.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I refresh structure page and we see&lt;/P&gt;
&lt;P&gt;0000000034, test 1, A.1 now uses&amp;nbsp;0000000035, test 2, A.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0000000034, test 1, A.1 was NOT iterated.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_2-1748625030660.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/123715i282CFF1A1C13436F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_2-1748625030660.png" alt="d_graham_2-1748625030660.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 17:14:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018160#M10038</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2025-05-30T17:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018202#M10039</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/121147"&gt;@d_graham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please explain the process you followed to achieve this?&lt;/P&gt;</description>
      <pubDate>Sat, 31 May 2025 06:32:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018202#M10039</guid>
      <dc:creator>AKC</dc:creator>
      <dc:date>2025-05-31T06:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018226#M10040</link>
      <description>&lt;P&gt;I did get this to work in the UI using only supported APIs. No SQL was used.&lt;/P&gt;
&lt;P&gt;I used the Insert Existing option and added a new part without iterating the parent part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_0-1748779818771.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/123751iC1B6690EFF3DE505/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_0-1748779818771.png" alt="d_graham_0-1748779818771.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I add the new part.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_1-1748779994376.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/123752iFCA0EA5BD212662E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_1-1748779994376.png" alt="d_graham_1-1748779994376.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I refresh the page, and we the new part is in fact added to the structure of A.1.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, it is doable to add a new part to structure in the UI without iterating the parent part.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_2-1748780112279.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/123753iA7B5668205F9CD71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_2-1748780112279.png" alt="d_graham_2-1748780112279.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jun 2025 13:22:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018226#M10040</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2025-06-01T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018238#M10042</link>
      <description>&lt;P&gt;Is the part automatically checked in as A.1 , if yes this a BUG , the A.1 may be already sent to ERP with 1 usage link , and adding another usage with no iteration may create inconsistencies between PDM and ERP ,&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 07:11:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018238#M10042</guid>
      <dc:creator>Fadel</dc:creator>
      <dc:date>2025-06-02T07:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018261#M10044</link>
      <description>&lt;P&gt;No, it is NOT automatically checked in as A.1.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/301264"&gt;@AKC&lt;/a&gt;&amp;nbsp;wants to add a child part to the part’s structure without iterating the part. That’s exactly what I did.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 09:20:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018261#M10044</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2025-06-02T09:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018268#M10045</link>
      <description>&lt;P&gt;I don't really follow you , initially the part was A.1 checked in , then insert existing checks the A.1 out second screenshot .&lt;/P&gt;
&lt;P&gt;then on the third on we have&amp;nbsp; 2 usages and A.1 checked in ,I'm not sure how you got A.1 back checked in without moving to A.2 ?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 09:25:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018268#M10045</guid>
      <dc:creator>Fadel</dc:creator>
      <dc:date>2025-06-02T09:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018575#M10062</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/326172"&gt;@Fadel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;He just used some API that exists and you can add the usage link without iterating the parent.&lt;/P&gt;
&lt;P&gt;But it is a developer's know-how or trick :D. As&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/121147"&gt;@d_graham&lt;/a&gt;&amp;nbsp;said. It is doable.&lt;/P&gt;
&lt;P&gt;PetrH&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 12:51:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018575#M10062</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-06-03T12:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018616#M10064</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/326172"&gt;@Fadel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/241117"&gt;@HelesicPetr&lt;/a&gt;&amp;nbsp;is correct.&lt;/P&gt;
&lt;P&gt;It’s a trick I developed when I first had a request to do whatever without iterating while still using supported APIs.&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 17:17:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1018616#M10064</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2025-06-03T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1019340#M10074</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/82440"&gt;@AKC&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to see if you got the help you needed.&lt;/P&gt;
&lt;P&gt;If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.&lt;BR /&gt;Of course, if you have more to share on your issue, please pursue the conversation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Anurag&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 23:05:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1019340#M10074</guid>
      <dc:creator>anursingh</dc:creator>
      <dc:date>2025-06-06T23:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add WTPart as a child to Parent part in Part Structure Browser without iterating parent p</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1024727#M10196</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/315551"&gt;@anursingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the insights provided by subject matter experts, it is evident that the solution I am pursuing is feasible. However, the specific approach for its implementation remains unclear at this stage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishna Chaithanya&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 05:27:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-add-WTPart-as-a-child-to-Parent-part-in-Part-Structure/m-p/1024727#M10196</guid>
      <dc:creator>AKC</dc:creator>
      <dc:date>2025-07-15T05:27:05Z</dc:date>
    </item>
  </channel>
</rss>

