• [OpenKM 4.1] Property Groups adds only first two properties

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #5472  by blindrood
 
My PropertyGroup.cnd
Code: Select all
<okm = 'http://www.openkm.org/1.0'>
<okg = 'http://www.openkm.org/group/1.0'>
<okp = 'http://www.openkm.org/group/property/1.0'>
 
[okg:zps] mixin
- okp:zps.case (string) = '' autocreated
- okp:zps.plenipotent (string) = '' autocreated
- okp:zps.type (string) = '' autocreated
- okp:zps.client (string) = '' autocreated
- okp:zps.debtor (string) = '' autocreated
My PropertyGroup.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 1.0//EN"
                                 "http://www.openkm.com/dtd/property-groups-1.0.dtd">
<property-groups>
  <property-group label="ZPS" name="okg:zps">
  
    <input label="Nr sprawy" name="okp:zps.case"/>
    <select label="Pełnomocnik" name="okp:zps.plenipotent" type="simple">
		<option label="M M" value="okp.zps.plenipotent.mm" />
		<option label="M L" value="okp.zps.plenipotent.ml" />
		<option label="S M" value="okp.zps.plenipotent.sm" />
		<option label="P K" value="okp.zps.plenipotent.pk" />
		<option label="D P" value="okp.zps.plenipotent.dp" />
		<option label="D O" value="okp.zps.plenipotent.do" />
		<option label="R D" value="okp.zps.plenipotent.rd" />
		<option label="W S" value="okp.zps.plenipotent.ws" />
		<option label="M R" value="okp.zps.plenipotent.mr" />
		<option label="D T" value="okp.zps.plenipotent.dt" />
		<option label="W J" value="okp.zps.plenipotent.wj" />
		<option label="M C" value="okp.zps.plenipotent.mc" />
		<option label="T S" value="okp.zps.plenipotent.ts" />
		<option label="S W" value="okp.zps.plenipotent.sw" />		
	</select>
	<select label="Rodzaj klienta" name="okp.zps.type" type="simple">
		<option label="Ryczałt" value="okp.zps.type.rycz" />
		<option label="Doraźny" value="okp.zps.type.dora" />
	</select>
	<input label="Klient" name="okp.zps.client" />
	<input label="Dłużnik" name="okp.zps.debtor" />
	
	
  </property-group>
</property-groups>
When I add this property group
only case and plenipotent options will work
Others did not appear.
Where did I do something wrong?
 #5477  by jllort
 
try adding value="" to inputs if it solves something, if not attach file into a zip and upload ( we'll try registering us ), appears any error when you register at server.log?
 #5493  by jllort
 
bad writen .xml !!! take a look at . that are :
<input label="Klient" name="okp:zps.client" /> you've writen "okp.zps.client ( the same in others )
<input label="Dłużnik" name="okp:zps.debtor" />
<select label="Rodzaj klienta" name="okp:zps.type" type="simple">

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.