Products | Versions |
---|---|
TIBCO Collaborative Information Manager | - |
Not Applicable | - |
Resolution:
How to populate the RECORD VERSION of a related record in an attribute of the parent record?
Environment:
TIBCO Product name and version: TIBCO Collaborative Information Manager All
Operating System(s): All Operating Systems
Symptoms:
None.
Cause:
None.
Resolution:
The system attribute RECORD_VERSION of a related record cannot be accessed from the parent record using a relationship_record link. Instead, you can use a propagate constraint in the CHILD master catalog's catalogvalidation.xml to propagate the RECORD_VERSION of the child record to the parent record.
Example: Have the following constraints in the CHILD master catalog catalogvalidation.xml
<execution_directive first_pass="required"/>
<declare>
<var>CONTAINEDBY</var>
<link type="relationship_record">
<literal>CONTAINEDBY</literal>
</link>
</declare>
<constraint>
<name>PropagateValues</name>
<description>PropagateValues</description>
<action>
<propagate type="inline">
<var>CONTAINEDBY</var>
<action>
<assign>
<var>SHORTDESC</var>
<var>LINK/RECORD_VERSION</var>
</assign>
</action>
</propagate>
</action>
</constraint>
Attachments:
None.
References:
None.