Skip to content

Metadata HorizontalPanel field

Horizontal layout that allows you to sort components inside.

Attribute Description Required
name Unique field identifier.
Two metadata fields can’t have the same name. Name must be unique.
The name must start with “okp:”.
It’s good practice to use a metadata group name as the basis for a metadata field name. For example, if the metadata group name okg:consulting has been used, the corresponding field name becomes okp:consulting.hpanel1 by changing okg to okp. That helps to identify 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 UI, you must use width values based on %, for example:
- width=“50%” will work
- width=“100px” will be ignored by the KCenter UI.
false
height The height of the HTML element. 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">
<hpanel name="okp:consulting.horizontal1">
<input label="Input label" name="okp:consulting.input1" /> <input label="Input label" name="okp:consulting.input2" /> </hpanel>
</property-group>
</property-groups>