• property group design

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #19304  by rasha123
 
hi,

im using openkm 5.1.10

is the a way to control the apperance of property group to be as a table?
i have a lot of field andit will be along list thats way i want to organize it as table?
property.png
property.png (5.75 KiB) Viewed 1755 times
so it can appear like this, assumind there is no repeating data.
property.png
property.png (8.89 KiB) Viewed 1754 times
this is my property .xml
Code: Select all
<property-group label="Patient Labele" name="okg:PatientLable" >
    <input label="Patient Name" name="okp:PatientLable.name"/>
    <input label="Hospital No" name="okp:PatientLable.number"/>
    <input label="Unit/Bed" name="okp:PatientLable.bed"/>
    <input label="Birth Date" name="okp:PatientLable.birth" type="date"/>
    <input label="Admission" name="okp:PatientLable.admission" type="date"/>
  </property-group>
property.cnd
Code: Select all
[okg:PatientLable] mixin
- okp:PatientLable.name (string) = '' autocreated
- okp:PatientLable.number (string) = '' autocreated
- okp:PatientLable.bed (string) = '' autocreated
- okp:PatientLable.birth (string) = '' autocreated
- okp:PatientLable.admission (string) = '' autocreated
thanks
 #19330  by jllort
 
This layout distribution is not implemented. You should create your own metadata renderer.

Actual layout ( lineal table ) is used for show data and edit at same time, your propose is to set some layout and assign xml value at some layout position. Now there's a FormManager that control the rendering ( view / edit ) could be implemented class Layout with contains several FormManager distribution ( that will be possible solution ).

In other hand you could have actual panel to edit and other extra panel to show all your metadata values in other format I'm talking about new tabdocument with your own implementation. http://wiki.openkm.com/index.php/Widget_library

In boths cases is needed make some source changes.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.