<?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 search all children within a Part structure? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977642#M8832</link>
    <description>&lt;P&gt;One possible approach might be to write a java method that recursively returns all child objects for a given WTPart. Then you could use that java method in a query builder report&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 13:10:32 GMT</pubDate>
    <dc:creator>joe_morton</dc:creator>
    <dc:date>2024-10-14T13:10:32Z</dc:date>
    <item>
      <title>How to search all children within a Part structure?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977557#M8831</link>
      <description>&lt;P&gt;Version: Windchill 12.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: In the top level Part structure of a car or truck, search for children at all levels with an matching attribute value, ie show all parts within the car made from Aluminium&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to search attributes of all children at all levels within a Part structure. I want to report on attributes like state and materials for all Parts within a car structure, this may be 6 levels deep.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently the method being used is to export to excel and use pivot tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have previously used a JSP with some java code I wrote to recursively search for children at all levels with a certain state, this works but is limited to a single attribute input, I want to select any usage or item attribute as input and see a filtered list of child parts matching the criteria.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what approach to take?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 09:32:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977557#M8831</guid>
      <dc:creator>khimani_mohiki</dc:creator>
      <dc:date>2024-10-14T09:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all children within a Part structure?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977642#M8832</link>
      <description>&lt;P&gt;One possible approach might be to write a java method that recursively returns all child objects for a given WTPart. Then you could use that java method in a query builder report&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 13:10:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977642#M8832</guid>
      <dc:creator>joe_morton</dc:creator>
      <dc:date>2024-10-14T13:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all children within a Part structure?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977654#M8833</link>
      <description>&lt;P&gt;So return all children at all levels into a WTCollection, then use that in the query builder?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 13:26:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977654#M8833</guid>
      <dc:creator>khimani_mohiki</dc:creator>
      <dc:date>2024-10-14T13:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all children within a Part structure?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977661#M8834</link>
      <description>&lt;P&gt;Actually, now I'm doubting myself. I think java method can only return strings in query builder.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":downcast_face_with_sweat:"&gt;😓&lt;/span&gt; It's been awhile since I've worked with them.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 13:34:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/977661#M8834</guid>
      <dc:creator>joe_morton</dc:creator>
      <dc:date>2024-10-14T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all children within a Part structure?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/978291#M8844</link>
      <description>&lt;P&gt;Adjust your approach by entering the attribute names separated by a delimiter in the same field you are entering the attribute name now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From there you should be able to adjust your code to search for these attributes. &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 12:10:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-search-all-children-within-a-Part-structure/m-p/978291#M8844</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2024-10-16T12:10:52Z</dc:date>
    </item>
  </channel>
</rss>

