Metadata TextArea field

Prints text that can contain HTML tags.

AttributeDescriptionRequired
label

The text is shown as a label in the user interface.

true

name

Unique field identifier

Two metadata entries can't have the same name. The name must be unique.

The name must start with "okp:".

Using the metadata group name as a basis for the metadata field name is a good practice. For example, if "okg:consulting" has been used for the group name, the field name can be "okp:consulting.textarea" by changing "okg" to "okp". That helps to find the metadata group based on the metadata field name.

Please use only letters, numbers, and underscores: "0-9a-zA-Z_".

true

value

The default value for the component.

false

placeholder

The placeholder value.

false

description

General description.

false
width

The width of the HTML element.

In the case of KCenter, the UI must use width values based on percentages, for example:

  • width="50%" will work
  • width="100px" will be ignored in the KCenter UI.

false

height

The height of the HTML element.

false
readonly The field cannot be modified in the user interface. By default, the value is "false".

false

dbColumnSize

Set the size of the database field where the value is stored.

By default, fields are stored in a database column of 128 characters. Because your data may be longer than 128 characters, the administrator should update the default column size.

Take a look at the Metadata XML definition documentation section for a detailed explanation of metadata storage in the OpenKM database.

 

defaultAccess

Default security access policy. By default, it is set to "grant", so all users will see the property.

 

Child elements:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 3.10//EN"
                                 "http://www.openkm.com/dtd/property-groups-3.10.dtd">
<property-groups>
  <property-group label="Consulting" name="okg:consulting">
    <textarea label="textarea label" name="okp:consulting.textarea" width="200px" />
  </property-group>
</property-groups>
Table of contents [ Hide Show ]