Article - CS216763

How to create Object Reference type attribute in FlexPLM and Windchill PDMLink

Modified: 13-Aug-2025   


Applies To

  • FlexPLM 10.2 to 11.0
  • Windchill PDMLink 10.2 to 13.0

Description

  • How to create Object Reference type attribute
  • How do I associate an attribute to an object?
  • After Creating an Instance based attribute(IBA) of type Object Reference , unable to set the value of the IBA to wt.org.WTUser using the below API
com.ptc.core.lwc.server.PersistableAdapter 
com.ptc.core.businessfield.server.businessObject.BusinessObject
  • An IBA of Object Reference type, the default Reference Class is wt.org.WTOrganization
  • Object Reference type attribute showing unassignable in Create and Edit Page
  • Error in logs when setting value of IBA to wt.org.WTUser
java.lang.NullPointerException
 atcom.ptc.core.meta.container.common.impl.BasicAttributeContainer._getEquivalent(BasicAttributeContainer.java:4957)
 at com.ptc.core.meta.container.common.impl.BasicAttributeContainer._put(BasicAttributeContainer.java:2738)
 at com.ptc.core.meta.container.common.impl.BasicAttributeContainer._put(BasicAttributeContainer.java:2627)
 at com.ptc.core.meta.container.common.impl.BasicAttributeContainer.put(BasicAttributeContainer.java:947)
 at com.ptc.core.meta.type.common.impl.DefaultTypeInstance.put(DefaultTypeInstance.java:1024)
 at com.ptc.core.lwc.server.PersistableAdapter.set(PersistableAdapter.java:617)
This is a printer-friendly version of Article 216763 and may be out of date. For the latest version click CS216763