Class ecm.widget.CustomMetadataPane


Extends dijit._Widget.
Provides a widget that is used to view and edit the attributes of custom metadata on Box foldes and documents.
Defined in: <ecm\widget\CustomMetadataPane.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
Destroys the widget.
 
Returns an array containing objects with values.
 
This event is fired when the field is changed.
 
 
Renders the data.
 
Resizes the widget.
 
Places focus in the provided name property field widget.
 
 
Validates the data.

Constructor Detail

ecm.widget.CustomMetadataPane()

Method Detail

destroy()

Destroys the widget.

getValues()

Returns an array containing objects with values.

onChange()

This event is fired when the field is changed.

postCreate()


renderData()

Renders the data.

resize()

Resizes the widget.

setFieldFocus(field)

Places focus in the provided name property field widget. This is typically used to set the focus on a field that has an invalid value.
Parameters:
field
An array controls for a custom metadata field.

startup()


validate()

Validates the data.
Returns:
A field widget that contains an invalid value. If all fields contain valid values, null is returned.