進階自訂 > Business Logic Customization > Customizing MPMLink > Configuring Save Delegate for Object Reference Attributes > Solution
  
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>