• Inactive my "Add property group"

  • 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.
 #17256  by sara2012
 
Hi
I install openkm 5.1, but when I want to add property group my icon it's inactive!

please HELLP

Thanks in advance
sorry for my English!
 #17270  by okmuser
 
does your PropertyGroups.xml file looks similar to below:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.0//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.0.dtd">
<property-groups>
  <property-group label="Consulting" name="okg:consulting">
    <input label="Code" type="text" name="okp:consulting.code" value="COD-0000" />
    <textarea label="Comment" name="okp:consulting.comment" value=""/>
  </property-group>
</property-groups>
 #17273  by sara2012
 
This is my propertyGroup.xml file!
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.0//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.0.dtd">
<property-groups>
  <property-group label="Consulting" name="okg:consulting">
    <input label="Name" type="text" name="okp:consulting.name"/>
    <input label="Name" type="date" name="okp:consulting.date" />
    <checkbox label="Important" name="okp:consulting.important"/>
    <textarea label="Comment" name="okp:consulting.comment"/>
  </property-group>
  
  <property-group label="Technology" name="okg:technology">
    <select label="Type" name="okp:technology.type" type="multiple">
      <option label="t1" value="type 1"/>
      <option label="t2" value="type 2" />
      <option label="t3" value="type 3" />
    </select>
    <select label="Language" name="okp:technology.language" type="simple">
      <option label="Java" value="java"/>
      <option label="Python" value="python"/>
      <option label="PHP" value="php" />
    </select>
    <input label="Comment" name="okp:technology.comment"/>
    <textarea label="Description" name="okp:technology.description"/>
    <input label="link" type="link" name="okp:technology.link"/>
  </property-group>
</property-groups>
 #17284  by jllort
 
sara2012 seems you have configured your properties group to use local dtd ( if you have not internet access from your sever is right ), you should change as is indicated in http://wiki.openkm.com/index.php/Proper ... definition ( with your local path, for example file:///home/openkm/property-groups-2.0.dtd ) and the file should exist in your system ( note that's a linux path if you're on windows should change for windows path ).
 #17339  by gijsh
 
I use OpenKM 5.1.10, and I share this problem: grey icons. My config files are the same as above.
I changed to local DTD-files and back to the original DTD, always the same result. Seems like changing the config file has no effect...
Hope you can suggest a (direction of) solution?

GijsH
 #17343  by sara2012
 
jllort wrote:sara2012 seems you have configured your properties group to use local dtd ( if you have not internet access from your sever is right ), you should change as is indicated in http://wiki.openkm.com/index.php/Proper ... definition ( with your local path, for example file:///home/openkm/property-groups-2.0.dtd ) and the file should exist in your system ( note that's a linux path if you're on windows should change for windows path ).


Thank you very much.
The problem was solved. :)
 #17357  by gijsh
 
I am very content with OpenKM in general, except for a few problems.
My property groups do not work on a linux installation (OpenKM 5.1.10 upgraded from 5.1.9 on ubuntu 12.04). I registered a variation on the sample Consulting group to be able to save the original date of files (as advised in the wiki).
There are two problems:

(1) property group can only be used when uploading files one for one. When adding from a zip file, or using the java uploader files are uploaded without property group - the wizard does not start.

(2) users cannot add a property group afterwards - the icon is greyed out.

As stated above, changing en rechanging the DTD made no difference. Also, I thought that maybe the registering of a new property group had disturbed the installation, so I made fresh install with the sample property groups installed. Same problems.
So my question persists: Does somebody have a suggestion about a (direction of) solution?
 #17364  by jllort
 
About 1 - You're talking about extract zip file in OpenKM. In your case you want all files with same metadata, but you should understand it's not the normal caes, normally users apply different metadata to different files. The idea from version 6.0 is apply metadata to several files at same time ( http://www.openkm.com/en/openkm-massive-actions.html ) I think with it you can solve major problems ( now is only remaining make it recursive too, that's the only case we still have not yet implemented ). This solutions in two steps complains with your needs and general users. I will investigate if it's possible doing it on a more direct way, but it makes logic more complex, because now we ask for metadata after doc has yet uploaded ( one file ), if there're several, folders etc... will be more complex and that what seems stupid feature could be more complex than seems. I will thinking about it.

About 2- Icon greyout ? I do not understand what are you talking abou ?

About 3- Default installation with default metadata should run correctly ( any problem on administration registering ). Remember in version 5.1 after registering you can not delete or change some properties ( to maintaining historic consistence ). You should not change DTD only cnd and xml files. DTD is used to validate xml file you have no need to change it, if you change it's normal not run correctly, because OpenKM is prepared to working with this DTD and not other.
 #17371  by gijsh
 
jllort, thank you for your comprehensive anwer.

About 1 - I prefer adding the same metadata to a sometimes large group of files because they come from the same project. I understand I have to wait for this feature in (community version) OpenKM 6.0? Even not being a programmer myself, I can imagine it is a complex problem.

About 2 - With greyed out I mean: inactive Add property group, like in the posts above.

About 3 - Indeed I expected the new installation to work allright, but sadly it did not. I will try it once more.
Furthermore, I did not change the DTD file, only made a reference to a local copy (like suggested in the wiki). This should work, I suppose.

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.