<?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 retrieve the values of Classification Attributes for WTParts? in Windchill</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/395172#M46322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. You can fetch the classification node on a WTPart by simply fetching the IBA value of classification attribute. Below snippet can be used to fetch the internal name of classification node:&lt;/P&gt;&lt;P&gt;String node = getibaValue( &amp;lt;WTPart Object&amp;gt;, &amp;lt;Internal name of Classification Binding attribute&amp;gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public static String getibaValue(Persistable obj, String id) {&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; try {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // fetching persistable object&lt;BR /&gt;&amp;nbsp;&amp;nbsp; final PersistableAdapter obj2 = new PersistableAdapter(obj, null,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Locale.US, null);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; obj2.load(id);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; String value = obj2.getAsString(id).toString();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; return value;&lt;BR /&gt;&amp;nbsp; } catch (WTException e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // return - if exception&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return "";&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Now we need to fetch all the classification attributes corresponding to the internal name of node which we have fetched in step 1. Below code snippet returns a list with all classification attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;public&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;static&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; List&amp;lt;String&amp;gt; getPartsLinkIBA(String &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;node&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;throws&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; WTException {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; List&amp;lt;String&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;l1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; ArrayList&amp;lt;String&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; TypeDefinitionReadView &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;localTypeDefinitionReadView&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = TypeDefinitionServiceHelper.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10pt;"&gt;service&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; .getTypeDefView(AttributeTemplateFlavor.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10pt;"&gt;LWCSTRUCT&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; CsmConstants.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10pt;"&gt;NAMESPACE&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;node&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;localTypeDefinitionReadView&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; != &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;null&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; Collection&amp;lt;AttributeDefinitionReadView&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;localTypeDefinitionReadView&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; Iterator&amp;lt;AttributeDefinitionReadView&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;it&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.iterator();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;// getting all the attributes internal name &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;while&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;it&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.hasNext()) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; Object &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = (Object) &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;it&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.next();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; AttributeDefinitionReadView &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;adrv&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = (AttributeDefinitionReadView) &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;l1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.add(&lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;adrv&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.getName());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;/*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;return&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;l1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Once you have the WTPart Object and all the classification attributes (List in step 2), you can fetch the values of all the attributes by using any method like Persistable Adapter, IBAHolder, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 10:55:09 GMT</pubDate>
    <dc:creator>asomgade</dc:creator>
    <dc:date>2016-10-24T10:55:09Z</dc:date>
    <item>
      <title>How to retrieve the values of Classification Attributes for WTParts?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/395170#M46320</link>
      <description>Hello All,I trying to write a Query report to list all the values of Classification Attributes for all the WTParts. I followed PTC solution CS220979, I'm only getting the Attribute Names of all the WTParts. The values of the Attributes are not generated. Is there something I'm</description>
      <pubDate>Wed, 02 May 2018 11:26:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/395170#M46320</guid>
      <dc:creator>klakshminarayan</dc:creator>
      <dc:date>2018-05-02T11:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve the values of Classification Attributes for WTParts?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/395171#M46321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should join this group &lt;A href="https://www.ptcusercommunity.com/group/1071"&gt;Reporting&lt;/A&gt; and also read this article &lt;A href="https://www.ptcusercommunity.com/docs/DOC-6348"&gt;Resource for reporting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the document there are lots of report ready to use and I think you can find what you're looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 14:45:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/395171#M46321</guid>
      <dc:creator>Marco_Tosin</dc:creator>
      <dc:date>2016-09-16T14:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve the values of Classification Attributes for WTParts?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/395172#M46322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. You can fetch the classification node on a WTPart by simply fetching the IBA value of classification attribute. Below snippet can be used to fetch the internal name of classification node:&lt;/P&gt;&lt;P&gt;String node = getibaValue( &amp;lt;WTPart Object&amp;gt;, &amp;lt;Internal name of Classification Binding attribute&amp;gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public static String getibaValue(Persistable obj, String id) {&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; try {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // fetching persistable object&lt;BR /&gt;&amp;nbsp;&amp;nbsp; final PersistableAdapter obj2 = new PersistableAdapter(obj, null,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Locale.US, null);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; obj2.load(id);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; String value = obj2.getAsString(id).toString();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; return value;&lt;BR /&gt;&amp;nbsp; } catch (WTException e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // return - if exception&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return "";&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Now we need to fetch all the classification attributes corresponding to the internal name of node which we have fetched in step 1. Below code snippet returns a list with all classification attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;public&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;static&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; List&amp;lt;String&amp;gt; getPartsLinkIBA(String &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;node&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;throws&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; WTException {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; List&amp;lt;String&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;l1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; ArrayList&amp;lt;String&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; TypeDefinitionReadView &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;localTypeDefinitionReadView&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = TypeDefinitionServiceHelper.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10pt;"&gt;service&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; .getTypeDefView(AttributeTemplateFlavor.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10pt;"&gt;LWCSTRUCT&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; CsmConstants.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10pt;"&gt;NAMESPACE&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;node&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;localTypeDefinitionReadView&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; != &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;null&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; Collection&amp;lt;AttributeDefinitionReadView&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;localTypeDefinitionReadView&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; Iterator&amp;lt;AttributeDefinitionReadView&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;it&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.iterator();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;// getting all the attributes internal name &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;while&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;it&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.hasNext()) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; Object &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = (Object) &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;it&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.next();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;final&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; AttributeDefinitionReadView &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;adrv&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = (AttributeDefinitionReadView) &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;l1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.add(&lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;adrv&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.getName());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;/*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;return&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a3e3e; font-size: 10pt;"&gt;l1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Once you have the WTPart Object and all the classification attributes (List in step 2), you can fetch the values of all the attributes by using any method like Persistable Adapter, IBAHolder, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 10:55:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/395172#M46322</guid>
      <dc:creator>asomgade</dc:creator>
      <dc:date>2016-10-24T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve the values of Classification Attributes for WTParts?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/741695#M64472</link>
      <description>&lt;P&gt;Link not accessible.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 15:32:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-to-retrieve-the-values-of-Classification-Attributes-for/m-p/741695#M64472</guid>
      <dc:creator>kv</dc:creator>
      <dc:date>2021-08-02T15:32:35Z</dc:date>
    </item>
  </channel>
</rss>

