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 |
---|---|
destroy()
Destroys the widget.
|
|
Returns an array containing objects with values.
|
|
onChange()
This event is fired when the field is changed.
|
|
Renders the data.
|
|
resize()
Resizes the widget.
|
|
setFieldFocus(field)
Places focus in the provided name property field widget.
|
|
startup()
|
|
validate()
Validates the data.
|
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.