Skip to main content
16-Pearl
October 21, 2016
Solved

Alias Attribute Mapping

  • October 21, 2016
  • 1 reply
  • 4653 views

I have been researching the ability to populate a WTpart with all sorts of attributes and then link documents to that WT using a described by link.  The end goal is to have these attributes show in many WTdocs without having to retype enteries (example: serial number, description, sales order, etc)  I can get the Help example: "describedBy@wt.part.WTPartDescribeLink~describes^wt.part.WTPart~name" to work perfectly....but when I try other attributes, like ones I have created, it will not fetch the information and display in the wtdoc.  What an I doing wrong?  I reached out to Tech Support on Monday, still waiting to hear anything from them. 

Best answer by GregOlson

Lori,

Yes everything is working now...the mistake i was making was using the parent WTpart and not the name of the sub-type.  Once I inserted the sub-type name in the mapping field it worked perfectly.

1 reply

23-Emerald I
November 8, 2016

Hi Greg,

Did you get this working?

Are you using the internal name of the attribute defined on the WTPart? What kinds of attributes are you using from the Part (e.g., IBAs, modeled attributes, calculated attributes, etc.)

I often refer to the Logical Attribute Report to determine which attributes I can work with (http://<SERVER_NAME>/Windchill/netmarkets/jsp/lwcType/logicalAttributeReport.jsp)

Are you defining the alias attribute using the correct data type?

GregOlson16-PearlAuthorAnswer
16-Pearl
November 16, 2016

Lori,

Yes everything is working now...the mistake i was making was using the parent WTpart and not the name of the sub-type.  Once I inserted the sub-type name in the mapping field it worked perfectly.

1-Visitor
January 5, 2018

Hi Greg,

 

I'm running into this issue now and am struggling a little bit with where exactly to insert the sub-type name to make the mapping work. 

I created a subtype of a Change Notice and also of a Change Request. I have 2 attributes in the Change Request Subtype that I'm trying to alias from within my ChangeNotice SubType. 

 

If I do this at the CN and CR levels, this mapping works:

 

theChangeOrder2@wt.change2.AddressedBy2~theChangeRequest2^wt.change2.WTChangeRequest2~attributeNameGoesHere

 

Where in that mapping line would I insert the subtype names for my CR and CNs? 

 

Thanks!

 

Dobi