Creating a relationship to an existing relationship
The following is an example of using a fully qualified XML-based load file with this operation. This excerpt was taken from the model build file ADMIN_DocMgt.xml available on Smart Community. For more information, see Find sample data on Smart Community.
To relate the access group to the RelDef, do the following:
<Rel>
<IObject UID="SPFDocRevisionLabel.DocumentUpdate" Name="" Description="" ContainerID="Core.DocMgt" />
<IRel UID2="MAG_DocumentUpdate" DefUID="SPFRelDefAccessGroup" UID1="SPFDocRevisionLabel" OrderValue="0" IsRequired="False" />
<ISPFRelDefAccessGroup SPFRelTerminate="True" SPFRelDragDrop2on1="True" />
</Rel>
To create the relationship between the RelDef-access group relationship and the condition, do the following:
<Rel>
<IObject UID="SPFDocRevisionLabel.DocumentUpdate.CND_IsObj1WORKING" Name="" Description="" ContainerID="" />
<IRel UID2="CND_IsObj1WORKING" DefUID="SPFRelDefAccessGroupDDCondition" UID1="SPFDocRevisionLabel.DocumentUpdate" OrderValue="0" IsRequired="False" />
</Rel>
Terminating a relationship to relationship
The following is an example of using a fully qualified XML-based load file with this operation. This excerpt was taken from the model build file ADMIN_DocMgt.xml available on Smart Community. For more information, see Find sample data on Smart Community.
<DeleteInstruction>
<IObject UID="Delete_SPFLLALineListRecordDocumentVersion.ISPFAuthPublishableDocumentVersion" Name="Delete_SPFLLALineListRecordDocumentVersion.ISPFAuthPublishableDocumentVersion" />
<IRefObject RefClass="" RefUID="SPFLLALineListRecordDocumentVersion.ISPFAuthPublishableDocumentVersion" RefName="" />
<IInstruction />
<IDeleteInstruction DeleteTransition="Terminated" />
</DeleteInstruction>