Metadata Set

A Metadata Set is defined in the following WSDL:

A Metadata Set extends Containered Asset. In addition to the fields provided by that complex type, the metadata set complex type implements all the fields as available from within the Cascade Server web interface when creating or editing. There are no required fields.

For each wired field, the user is able to specify both the visibility and whether or not that wired field is required. To specify the visibility, use a String defined in the following simple type restriction:

The available Strings are "inline" (which makes the field appear on all panes when editing), "hidden" (the field will not appear at all), or "visibile" (which is the default - the field will appear only on the "metadata" pane).

Defining Custom (Dynamic) Metadata Fields

A Metadata Set contains a list of Dynamic Metadata Field definitions, each of which define a custom metadata field (text field, radio buttons, or a dropdown/multiselect). A Dynamic Metadata Field Definition object is defined by the following complex type in the WSDL:

Each Dynamic Metadata Field Definition has three required fields: name, the type of the field, and the configuration XML for that field. It is also possible to specify the visibility and whether or not that field is required, just like for the wired fields.

A Dynamic Metadata Field Definition's type is one of the Strings defined by the following simple type restriction:

The available Strings are "text", "radio", and "dropdown".

Each dynamic field must also have an XML configuration. Text type definitions do not use this configuration, so it can be left blank (but must be included). A DTD for the Configuration XML for radio buttons and dropdowns is available from within the product. It is suggested that the configuration XML be surrounded in CDATA tags lest the SOAP processor think this XML is part of the SOAP message.

Last modified on Mon, 14 Jan 2008 11:13:54 -0500

Comments


Top / Previous / Next / Up / Table of Contents