Skip to content
Other versions

Loading…

Metadata Text field

Prints a text that can contain HTML tags.

Attribute Description Required
label The text shown as a label in user interface. true
name Unique field identifier
Two metadatas can’t have the same name. Name must be unique.
The name must start with “okp:”.
It’s a good practice to use metadata group name as basis for metadata field name. For example use “okg:consulting” has been used for field name “okp:consulting.text”, changin “okg” to “okp”. That helps to find out the metada group based on metadata field name.
Please, use only letters, numbers and underscore: “0-9a-zA-Z_”.
true
width The width of the HTML element. false
height The height of the HTML element. false
readonly The set field will not be able to be modified in  the user interface. By default the value is “false”. false
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.5//EN"
"http://www.openkm.com/dtd/property-groups-2.5.dtd">
<property-groups>
<property-group label="Consulting" name="okg:consulting">
<text label="text label" name="okp:consulting.text" width="200px" />
</property-group>
</property-groups>