Solution
Use the out-of-the-box configuration and customization hooks to fetch the reference objects.
Prerequisite Knowledge
To achieve the objective, you need to understand the following:
Basic development involving Java.
Windchill xconfmanager and delegate concepts.
Solution Elements
ObjectReferenceAttributeSearchDelegate: Interface to define a custom or default delegate. You can extend this interface or the DefaultObjectReferenceAttributeSearchDelegate class that follows.
DefaultObjectReferenceAttributeSearchDelegate: Default implementation of ObjectReferenceAttributeSearchDelegate.
An example of out-of-the-box configuration follows. The xconf file for configuration: associativity.service.properties.xconf, is located at codebase\com\ptc\windchill\associativity\xconfs.
<!-- ObjectReference attribute search delegate -->
<Service context="default" name="com.ptc.windchill.baseclient.server.delegate.ObjectReferenceAttributeSearchDelegate">
<Option cardinality="duplicate" requestor="null" serviceClass="com.ptc.windchill.baseclient.server.delegate.DefaultObjectReferenceAttributeSearchDelegate" selector="com.ptc.windchill.enterprise.data.EnterpriseData|com.ptc.windchill.enterprise.data.enterpriseData.PlantSpecificEnterpriseData|org.rnd.Pune~alternateobjref" />
</Service>
도움이 되셨나요?