Skip to main content
prerev_kompan
12-Amethyst
August 11, 2026
Solved

How to add attribute from a subtype of Part to a report?

  • August 11, 2026
  • 7 replies
  • 188 views

I want to make a report where an attribute (Sales Market) from a Part subtype (Item) is shown.

The attribute is showing the values of referenced Configurable Links with a mapping.

I’ve added the Item type to the Tables, but no luck.

Best answer by TDT

Hi ​@prerev_kompan,

Alias attributes do not persist values in the DB. 
They dynamically display the Alias attribute values when the page is rendered.
I would suggest creating a constant that invokes a custom class containing the same logic as the alias attribute in the Custom Report.

7 replies

17-Peridot
August 11, 2026
prerev_kompan
12-Amethyst
August 12, 2026

We have an attribute of type string called “Sales Market” on a subtype of Part called “Item”.

For some reason, this attribute is not visible in reportable item, even if I add the type “Item” to the tables.

 

joe_morton
19-Tanzanite
August 12, 2026

What version of Windchill are you using?

When you say “Part” do you specifically mean WTPart?

Can you share screenshots?

prerev_kompan
12-Amethyst
August 13, 2026

We’re using 13.1.2 latest.

We have subtypes of WTPart:

Kompan Part

Sales Market attribute is an Alias attribute collecting information about linked Sales Market objects.
 

Creating a report with the specific type included:
 


Using reportable Item:
 

Sales Market attribute is not on list, other attributes are:
 


I have discovered some articles stating that Alias attributes can not be used in reports as content/values are not saved in a table but generated on demand.
 

TDT18-OpalAnswer
18-Opal
August 13, 2026

Hi ​@prerev_kompan,

Alias attributes do not persist values in the DB. 
They dynamically display the Alias attribute values when the page is rendered.
I would suggest creating a constant that invokes a custom class containing the same logic as the alias attribute in the Custom Report.

joe_morton
19-Tanzanite
August 13, 2026

Ok, that explains it - it’s an alias attribute.

It looks like both the Sales Market object as well as the linking used are both custom. I would think you should be able to update your report to add the link from the WTPart to your Sales Market object, then add the required info directly from the Sales Market object itself. But - we don’t have any custom linking on our system, so I don’t have experience trying to do that.

prerev_kompan
12-Amethyst
August 14, 2026

Thanks, for all your help!

I’ll try to create a constant and see if I can process the logic.