Troubleshooting Windchill PartsLink
When Windchill PartsLink issues occur, it is important to find as much information as possible in the logs before contacting Technical Support.
To generate method server logs for Windchill PartsLink, set logging for the following package to DEBUG:
com.ptc.windchill.csm.client
Ensure that the following loggers are enabled:
For part publishing issues, set log4j.logger.org.apache.solr to DEBUG.
For classification structure issues, enable log4j.logger.com.ptc.windchill.csm.struct.UpdateClassificationStructure.
For classification search issues, enable log4j.logger.com.ptc.windchill.partslink.
For more information about errors you might encounter, search the Windchill knowledge base: PTC Windchill eSupport
Problem
Solution
Binding attribute does not appear when creating a classifiable object
Ensure the binding attribute has been added to the create and edit layout for the classifiable object type.
For more information, see Layouts Tab.
Binding attribute renders as an empty drop-down menu
Verify that the namespace value specified is correct.
Verify that there are no additional constraints applied to the binding attribute.
Verify you have a classification structure defined.
Ensure that at least one classification node has the Instantiable field set to Yes.
Cannot select a leaf node when creating a classifiable object
You can enable or disable selections by using the Instantiable field on a classification node. Setting this field to Yes allows the selection of the node.
A classifiable object is classified against multiple nodes using the same binding attribute
This can be controlled using a single value constraint added to the classification binding attribute. This is added by default.
If you remove the single value constraint, an add action appears allowing you to select multiple node values.
Classification attributes do not appear under the Set Classification Attributes step when creating a classifiable object
From the Classification Administration utility, select the node and navigate to the Layouts tab. Verify that attributes have been added in the layout.
Classification attributes do not appear on the information page of a classified object
Navigate to the Type and Attribute Management utility and select the part type.
From the Layouts tab, verify whether a nested layout has been added to the information page. For more information, see Adding and Editing a Nested Classification Layout.
Optimize Load Times for Large Structures
If your classification structure is extremely large and complex (for example, over 10,000 nodes), you might experience delays when rendering the Create Object window after a method server restart.
Use the following steps to improve performance:
1. Navigate to the wt.properties.xconf file.
2. Locate the wt.method.loadObjects property and add the following class name to the end (separated by a space):
com.ptc.windchill.csm.util.StructureEnumerationCachePopulator
For example, if the current value is as follows:
<Property name="wt.method.loadObjects"
default="com.ptc.tomcat.embedded.Bootstrap
wt.method.WTAdapter com.ptc.core.adapter.server.impl.SimpleTaskDispatcher
wt.method.ClusterMonitor
wt.method.jmx.Startup
wt.phonehome.queue.PhoneHomeQueueScheduler
com.ptc.tomcat.embedded.Bootstrap$WaitUntilStarted"
/>
You would edit it as follows:
<Property name="wt.method.loadObjects"
default="com.ptc.tomcat.embedded.Bootstrap
wt.method.WTAdapter com.ptc.core.adapter.server.impl.SimpleTaskDispatcher
wt.method.ClusterMonitor
wt.method.jmx.Startup
wt.phonehome.queue.PhoneHomeQueueScheduler
com.ptc.tomcat.embedded.Bootstrap$WaitUntilStarted
com.ptc.windchill.csm.util.StructureEnumerationCachePopulator"
/>
3. Open a Windchill shell and enter xconfmanager -p to propagate the property changes.
The classification enumerations in each method server are cached during start-up only, resulting in a quicker load time.
Was this helpful?