Page 1 of 2

Inactive my "Add property group"

PostPosted:Mon Jul 23, 2012 1:30 pm
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!

Re: Inactive my "Add property group"

PostPosted:Tue Jul 24, 2012 2:34 am
by shaardu
Goto "property group" page in admin.... click on add "property group" button, you are done,

Re: Inactive my "Add property group"

PostPosted:Tue Jul 24, 2012 5:37 am
by okmuser
First you have to register a property group within your OpenKM installation

http://wiki.openkm.com/index.php/Property_Groups

http://wiki.openkm.com/index.php/Proper ... definition

Re: Inactive my "Add property group"

PostPosted:Tue Jul 24, 2012 6:42 am
by sara2012
Sorry , I can't see Utilities

Image

when I click property group show this error
please HELP me

Image

Re: Inactive my "Add property group"

PostPosted:Tue Jul 24, 2012 9:03 am
by shaardu
Open propertygroups.xml in jboss folder,remove previous path after <Doctype ... public/> change the path to "http://www.openkm.com/dtd/property-groups-2.0.dtd"

Re: Inactive my "Add property group"

PostPosted:Tue Jul 24, 2012 9:27 am
by sara2012
Show this error :?:

Image

Re: Inactive my "Add property group"

PostPosted:Tue Jul 24, 2012 12:02 pm
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>

Re: Inactive my "Add property group"

PostPosted:Wed Jul 25, 2012 6:09 am
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>

Re: Inactive my "Add property group"

PostPosted:Thu Jul 26, 2012 3:14 pm
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 ).

Re: Inactive my "Add property group"

PostPosted:Wed Aug 01, 2012 3:54 pm
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

Re: Inactive my "Add property group"

PostPosted:Thu Aug 02, 2012 8:02 am
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. :)

Re: Inactive my "Add property group"

PostPosted:Fri Aug 03, 2012 7:24 am
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?

Re: Inactive my "Add property group"

PostPosted:Sat Aug 04, 2012 8:31 pm
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.

Re: Inactive my "Add property group"

PostPosted:Mon Aug 06, 2012 9:37 am
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.

Re: Inactive my "Add property group"

PostPosted:Mon Aug 06, 2012 9:57 am
by sara2012
Hi
How can I add property groups? consulting and Technology are definitions default.
I install openKM 5.1

thnaks