Solution
Prerequisite Knowledge
To achieve the objective, you need to understand the following:
Basic development involving Java.
Windchill xconfmanager and delegate concepts.
Solution Elements
ObjectReferenceAttributeSaveDelegate: Interface to define a custom or default delegate. You can extend this interface or the DefaultObjectReferenceAttributeSaveDelegate class that follows.
DefaultObjectReferenceAttributeSaveDelegate: Default implementation of ObjectReferenceAttributeSaveDelegate.
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.
<Service context="default" name="com.ptc.windchill.baseclient.server.delegate.ObjectReferenceAttributeSaveDelegate">
<Option cardinality="duplicate" requestor="null" serviceClass="com.ptc.windchill.baseclient.server.delegate.DefaultObjectReferenceAttributeSaveDelegate" selector="com.ptc.windchill.enterprise.data.EnterpriseData|com.ptc.windchill.enterprise.data.enterpriseData.PlantSpecificEnterpriseData|org.rnd.Pune~alternateobjref" />
</Service>
這是否有幫助?