Skip to content

Metadata Separator field

Draw a separator between fields.

Attribute Description Required
label The text is shown as a label in the user interface. true
name Unique field identifier
Two metadata items can’t have the same name. The name must be unique.
The name must start with “okp:”.
Using a metadata group name as a basis for a metadata field name is a good practice. For example, the metadata group name “okg:consulting” has been used as the basis for the field name “okp:consulting.separator”, 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
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 3.15//EN"
"http://www.openkm.com/dtd/property-groups-3.15.dtd">
<property-groups>
<property-group label="Consulting" name="okg:consulting">
<input label="Input label" name="okp:consulting.input1" />
<separator label="Separator label" name="okp:consulting.separator" />
<input label="Input label" name="okp:consulting.input2" />
</property-group>
</property-groups>