• Registering Property Groups button does nothing

  • 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.
 #15308  by dthurston
 
I'm trying to register a new property group via the Admin interface (/OpenKM/admin/PropertyGroups) and it neither allows me to enter text in the "Property Group definition" window or does anything when I press SEND. Nothing also sees to be in the openKM logs.

EDIT: The page does reload when you press SEND but does nothing else it seems
Last edited by dthurston on Tue Apr 24, 2012 2:14 am, edited 1 time in total.
 #15325  by jllort
 
Which openkm version are you using ?

We will need to take a look at your property group definition, and take a look at server.log if appearing some error.
 #15342  by dthurston
 
I am using OpenKM Version: 5.1.9 (build: 7447)

My PropertyGroups.cnd, PropertyGroups.xml are attached.

my server.log:
Code: Select all
2012-04-23 10:35:16,337 DEBUG [com.openkm.api.OKMMail] getChilds(null, /okm:root)
2012-04-23 10:35:16,342 DEBUG [com.openkm.api.OKMMail] getChilds: []
2012-04-23 10:35:21,437 DEBUG [com.openkm.api.OKMAuth] login()
2012-04-23 10:35:21,441 DEBUG [com.openkm.api.OKMAuth] login: void
2012-04-23 10:35:22,131 DEBUG [com.openkm.api.OKMRepository] getRepositoryUuid(null)
2012-04-23 10:35:22,131 DEBUG [com.openkm.api.OKMRepository] getRepositoryUuid: 04ab8fcb-8f5d-41e6-b6ba-2823bc07d8a3
2012-04-23 10:35:24,280 DEBUG [com.openkm.api.OKMPropertyGroup] getAllGroups(null)
2012-04-23 10:35:24,643 DEBUG [com.openkm.api.OKMPropertyGroup] getAllGroups: [{label=Technology, name=okg:technology, visible=true, readonly=false}, {label=Consulting, name=okg:consulting, visible=true, readonly=false}]
2012-04-23 10:35:24,643 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm(null, okg:technology)
2012-04-23 10:35:24,702 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm: [{label=Type, name=okp:technology.type, width=150px, height=25px, readonly=false, type=multiple, value=, data=, options=[{label=t1, value=type 1, selected=false}, {label=t2, value=type 2, selected=false}, {label=t3, value=type 3, selected=false}], validators=[]}, {label=Language, name=okp:technology.language, width=150px, height=25px, readonly=false, type=simple, value=, data=, options=[{label=Java, value=java, selected=false}, {label=Python, value=python, selected=false}, {label=PHP, value=php, selected=false}], validators=[]}, {label=Comment, name=okp:technology.comment, value=, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Description, name=okp:technology.description, value=, data=, width=300px, height=100px, readonly=false, validators=[]}, {label=link, name=okp:technology.link, value=, data=, width=100px, height=25px, readonly=false, type=link, validators=[]}]
2012-04-23 10:35:24,702 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm(null, okg:consulting)
2012-04-23 10:35:24,707 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm: [{label=Name, name=okp:consulting.name, value=, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Name, name=okp:consulting.date, value=, data=, width=100px, height=25px, readonly=false, type=date, validators=[]}, {label=Important, name=okp:consulting.important, value=false, data=, width=100px, height=25px, readonly=false, validators=[]}, {label=Comment, name=okp:consulting.comment, value=, data=, width=300px, height=100px, readonly=false, validators=[]}]
2012-04-23 10:35:32,555 DEBUG [com.openkm.api.OKMPropertyGroup] getAllGroups(null)
2012-04-23 10:35:32,722 DEBUG [com.openkm.api.OKMPropertyGroup] getAllGroups: [{label=Technology, name=okg:technology, visible=true, readonly=false}, {label=Consulting, name=okg:consulting, visible=true, readonly=false}]
2012-04-23 10:35:32,723 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm(null, okg:technology)
2012-04-23 10:35:32,729 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm: [{label=Type, name=okp:technology.type, width=150px, height=25px, readonly=false, type=multiple, value=, data=, options=[{label=t1, value=type 1, selected=false}, {label=t2, value=type 2, selected=false}, {label=t3, value=type 3, selected=false}], validators=[]}, {label=Language, name=okp:technology.language, width=150px, height=25px, readonly=false, type=simple, value=, data=, options=[{label=Java, value=java, selected=false}, {label=Python, value=python, selected=false}, {label=PHP, value=php, selected=false}], validators=[]}, {label=Comment, name=okp:technology.comment, value=, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Description, name=okp:technology.description, value=, data=, width=300px, height=100px, readonly=false, validators=[]}, {label=link, name=okp:technology.link, value=, data=, width=100px, height=25px, readonly=false, type=link, validators=[]}]
2012-04-23 10:35:32,730 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm(null, okg:consulting)
2012-04-23 10:35:32,735 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm: [{label=Name, name=okp:consulting.name, value=, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Name, name=okp:consulting.date, value=, data=, width=100px, height=25px, readonly=false, type=date, validators=[]}, {label=Important, name=okp:consulting.important, value=false, data=, width=100px, height=25px, readonly=false, validators=[]}, {label=Comment, name=okp:consulting.comment, value=, data=, width=300px, height=100px, readonly=false, validators=[]}]
2012-04-23 10:35:42,720 DEBUG [com.openkm.api.OKMPropertyGroup] getAllGroups(null)
2012-04-23 10:35:42,885 DEBUG [com.openkm.api.OKMPropertyGroup] getAllGroups: [{label=Technology, name=okg:technology, visible=true, readonly=false}, {label=Consulting, name=okg:consulting, visible=true, readonly=false}]
2012-04-23 10:35:42,886 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm(null, okg:technology)
2012-04-23 10:35:42,890 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm: [{label=Type, name=okp:technology.type, width=150px, height=25px, readonly=false, type=multiple, value=, data=, options=[{label=t1, value=type 1, selected=false}, {label=t2, value=type 2, selected=false}, {label=t3, value=type 3, selected=false}], validators=[]}, {label=Language, name=okp:technology.language, width=150px, height=25px, readonly=false, type=simple, value=, data=, options=[{label=Java, value=java, selected=false}, {label=Python, value=python, selected=false}, {label=PHP, value=php, selected=false}], validators=[]}, {label=Comment, name=okp:technology.comment, value=, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Description, name=okp:technology.description, value=, data=, width=300px, height=100px, readonly=false, validators=[]}, {label=link, name=okp:technology.link, value=, data=, width=100px, height=25px, readonly=false, type=link, validators=[]}]
2012-04-23 10:35:42,890 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm(null, okg:consulting)
2012-04-23 10:35:42,894 DEBUG [com.openkm.api.OKMPropertyGroup] getPropertyGroupForm: [{label=Name, name=okp:consulting.name, value=, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Name, name=okp:consulting.date, value=, data=, width=100px, height=25px, readonly=false, type=date, validators=[]}, {label=Important, name=okp:consulting.important, value=false, data=, width=100px, height=25px, readonly=false, validators=[]}, {label=Comment, name=okp:consulting.comment, value=, data=, width=300px, height=100px, readonly=false, validators=[]}]
Attachments
(10 KiB) Downloaded 271 times
 #15347  by jllort
 
Normal, there are a lot of mistakes between cnd and xml

First you can not define a property named okp:CLE.comment in cnd and then use okp:cle.comment ( lower case ) in xml property definition are case sensitive.
Secondly major cnd definitions like okp:CLE.type are not present in xml only which will apearing in both files will be seeing after you click on send button
 #15502  by lou1973
 
Hi the directory+filenames are hardcoded, that's why you can't type a different filename into the Property Group Definition textbox.

You must replace the existing XML + CND files with your own, but they must have the same names and be in the same directory as the ones which come with OpenKM by default (you'll see the location shown in the textbox just above the "Send" button).

Regards

Lou...

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.