Used in
REQUEST Servers
Metadata (Publish) Parent elements
PUBLISH_METADATA Syntax
<DELETE_METADATA_RELATIONSHIP > No Attributes
(r)<METADATA_SOURCE... /> (r)(m)<METADATA_CHILD... /> [And/Or] (r)(m)<METADATA_SIBLING... /> [And/Or]
</DELETE_METADATA_RELATIONSHIP >
|
(r): Attribute or child element is required. (m): Child element can be used multiple times. |
Description
Deletes relationships beween a source metadata document and one or more child or sibling metadata documents.
Restrictions
- At least one occurrence of METADATA_CHILD or METADATA_SIBLING is required. One or both elements can be used multiple times.
- This element can be used by anyone who can publish documents. Relationships can be deleted for documents owned by other users.
Notes
- A child document is a subdocument to the current metadata document. A sibling document is a related document. For example, on the Details page in Metadata Explorer, links to a sibling document are listed under the parent document under the heading "Related Documents".
- See METADATA_ACTION for response.
Examples for DELETE_METADATA_RELATIONSHIP
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
<REQUEST>
<PUBLISH_METADATA>
<DELETE_METADATA_RELATIONSHIP>
<METADATA_SOURCE docid="{66843298-85C5-11D5-99C3-000086460FA0}" />
<METADATA_CHILD docid="{1F7DDF21-BC01-4C20-8AA5-243B33ED0B1E}" />
</DELETE_METADATA_RELATIONSHIP>
</PUBLISH_METADATA>
</REQUEST>
</ARCXML>
|
Back to top