• PropertyGroup type multiple not working

  • 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.
 #9625  by loolik
 
Hi, OpenKM Team!
I have Ubuntu 11.04 Natty, OpenKM 5.0.2 and intranet connection users.
I upload file and add property group to him.
One of property have type "multiply" and list of options. I put some values to this property, apply changes and see in frame normally result. But after update page my multiply value leaves only first parameter.
What is my mistake?
 #9676  by jllort
 
Put here your cnd and xml propertygroup files.

And two screenshots captures. While editing and after.
 #9707  by loolik
 
Thanks for help!
This PropertyGroups.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:draw] mixin
- okp:draw.numobject (string) = '' autocreated
- okp:draw.nameobject (string) = '' autocreated
- okp:draw.namebuild (string) = '' autocreated
- okp:draw.namedraw (string) = '' autocreated
- okp:draw.gip (string) = '' autocreated
- okp:draw.group (string) = '' multiple autocreated


Before string @- okp:draw.group (string) = '' multiple autocreated@ be @- okp:draw.group (string) = '' autocreated@, but it is better not to become.

This PropertyGroups.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 1.1//EN"
                                 "file:///opt/openKM/property-groups-1.1.dtd">
<property-groups>
  <property-group label="Чертеж" name="okg:draw">
    <input label="Номер объекта" name="okp:draw.numobject" />
    <textarea label="Объект строительства" name="okp:draw.nameobject" />
    <textarea label="Наименование здания" name="okp:draw.namebuild" />
    <textarea label="Название чертежа" name="okp:draw.namedraw" />
    <select label="ГИП" name="okp:draw.gip" type="simple"> 
       <option label="Ботова Г.Б." value="Ботова"/>
       <option label="Кретова Н.К." value="Кретова"/>
       <option label="Чернецова Н.А." value="Чернецова"/>
       <option label="Брюховецкая А.И." value="Брюховецкая"/>
       <option label="Гриднева А.Н." value="Гриндева"/>
    </select>
    <select label="Группа" name="okp:draw.group" type="multiple"> 
       <option label="ГИП" value="200"/>
       <option label="301 Виноградов А.В." value="301"/>
       <option label="303 Красильникова О.В." value="303"/>
       <option label="304 Ляпина Н.Н." value="304"/>
       <option label="400 Порошин В.М." value="400"/>
       <option label="401 Волостных Т.И." value="401"/>
       <option label="402 Новичихина Г.Е." value="402"/>
       <option label="403 Мезенцева Е.И." value="403"/>
       <option label="404 Пучнина О.Н." value="404"/>
       <option label="408 Магомедова Т.Н." value="408"/>
       <option label="409 Авдеева Н.Б." value="409"/>
       <option label="410 Щедрина Т.А." value="410"/>
       <option label="413 Корвякова Л.А." value="413"/>
       <option label="414 Дмитриева В.Ю." value="414"/>
       <option label="415 Горбаченко Р.Н." value="4151"/>
       <option label="415 Зацепина В.М." value="4152"/>
       <option label="415 Глинская Е.В." value="4153"/>
       <option label="416 Шаталова В.П." value="416"/>
       <option label="417 Трубникова Н.И." value="417"/>
       <option label="500 Андреева И.Г." value="500"/>
       <option label="501 Бахаева С.В." value="501"/>
       <option label="502 Гулевская О.З." value="502"/>
       <option label="503 Проняев Р.В." value="5031"/>
       <option label="503 Белокопытов В.В." value="5032"/>
       <option label="504 Понамарева Н.Н." value="5041"/>
       <option label="505 Ауде В.В." value="5051"/>
       <option label="505 Дедюхин О.В." value="5052"/>
       <option label="509 Рекис В.К." value="509"/>
       <option label="510 Баток М.В." value="510"/>
       <option label="511 Бондаренко М.А." value="511"/>
       <option label="512 Бондаренко И.Н." value="512"/>
       <option label="513 Батракова Н.В." value="513"/>
       <option label="515 Кондратьева О.В." value="515"/>
       <option label="516 Севостьянова Н.Н." value="516"/>
       <option label="517 Кузьмина О.Н." value="517"/>
       <option label="518 Шаромова А.Ю." value="518"/>
       <option label="519 Романькова Л.П." value="519"/>
    </select>
  </property-group>
</property-groups>

This screen before updating
This screen before updating
This screen before updating
Img01.JPG (22.52 KiB) Viewed 23439 times
This screen after updating
This screen after updating
This screen after updating
Img02.JPG (19.97 KiB) Viewed 23439 times
 #9763  by jllort
 
Could be some UI problem. Could you try navigate across repository ( administration tab http://wiki.openkm.com/index.php/Repository_view ) and take a look which properties have.
Capture a screenshot while you're editing.
With your captures I must understand than you've added a new property and might appearing tree no ?
 #9789  by loolik
 
Sorry, but i not understand, how tree of "Repository View" and how moment of editing properties i need capture.
ROOT/okm:root
ROOT/okm:root
RepView01.JPG (148.32 KiB) Viewed 23430 times
ROOT/jcr:system
ROOT/jcr:system
RepView02.JPG (66.15 KiB) Viewed 23430 times
ROOT/okm:config
ROOT/okm:config
RepView03.JPG (61.69 KiB) Viewed 23430 times
 #9791  by jllort
 
navigate across okm:root / folder etc... then select document ( always on list at bottom ). When you're into the document you'll see metadata properties values
 #9806  by loolik
 
Hi,
i make 3 screenshot on two monitors (left monitor for add property, right - for admin panel). Files too large for "clear" insert to reply, they had to be archived.
File without property
(177.46 KiB) Downloaded 969 times
Add property and change some parameters
(188.14 KiB) Downloaded 777 times
Push the button "Update" in property tab, and push on the file in right area
(193.24 KiB) Downloaded 750 times
 #9834  by jllort
 
Althought in screen appears the 5 properties seems in repository is only saved the 417. When you refreshing the UI ( refresh button ) it's only one property no ?

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.