Skip to main content
prerev_kompan
12-Amethyst
Aug 11, 2026 11:52 AM UTC
Solved

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

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.

TDTAnswer
18-Opal
Aug 13, 2026 2:14 PM UTC

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
Aug 11, 2026 9:40 PM UTC

It’s not clear what you are asking but this may help

https://www.ptc.com/en/support/article/CS309961

https://www.ptc.com/en/support/article/cs378240

 

Translate
prerev_kompan
12-Amethyst
Aug 12, 2026 5:50 AM UTC

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.

 

Translate
joe_morton
19-Tanzanite
Aug 12, 2026 2:28 PM UTC

What version of Windchill are you using?

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

Can you share screenshots?

Translate
prerev_kompan
12-Amethyst
Aug 13, 2026 6:17 AM UTC

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.
 

Translate
TDT18-OpalAnswer
18-Opal
Aug 13, 2026 2:14 PM UTC

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.

Translate
joe_morton
19-Tanzanite
Aug 13, 2026 2:55 PM UTC

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.

Translate
prerev_kompan
12-Amethyst
Aug 14, 2026 5:52 AM UTC

Thanks, for all your help!

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

Translate