Page 1 of 1

SOLVED: Suggestion how to realize hirachical meta data structure?

Posted: Wed Jan 30, 2019 5:34 pm
by OpaHeinz
Hello together

Just to explain my requirement:
please assume, that I have 2 cars and two houses.
I would handle my assurance documents and classify it by usage of metadata.
If I get an invoice from my assurance, I need to assign metadata group "assurance invoice"
Now I have to decide the assurance-type house-assurance or car-assurance.
so far so fine
But:
If I would select house assurance I have to assign the location
if I would select car-assurance I have to assign the car-number/ licence-plate content

How would be the best way to organize this?
In xml, I can not define a case structure like

If assurance-type = "house assurance"
.....ask for the "location"
else if assurance-type = "car-assurance"
.....ask for the licence-plate content
end if

System: Ubuntu 18.04 Server, Maria DB 10
OpenKM: Version 6.3.6 (build: 87d181f)
My state: newby :oops:

Any suggestion would be welcome

Thank you in advance
Heinz

Re: Suggestion how to realize hirachical meta data structure?

Posted: Sat Feb 02, 2019 11:53 am
by jllort
Professional edition has some advantage for hierarchical metadata what are not still present into community edition ( https://docs.openkm.com/kcenter/view/ok ... lationship )

In you case, any suggestion goes in direction of making some small customization to get something fine in the community edition. Basically, create a new panel in the bottom ( when a document is selected ) and create from there a small wizard.

Re: Suggestion how to realize hirachical meta data structure?

Posted: Wed Feb 06, 2019 3:41 pm
by OpaHeinz
Additional hint:
I tried to use a hierarchical structure with success.
For this I had to use the following header in Metadata xml:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.5//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.5.dtd">
But I was not satisfied with this solution, so I went back and used instead double assignment of two different metadata-groups

rgds Heinz

Re: SOLVED: Suggestion how to realize hirachical meta data structure?

Posted: Fri Feb 08, 2019 7:23 pm
by jllort
You always should have selected the last DTD version available. Here you can find information about what DTD might be applied in your OpenKM https://docs.openkm.com/kcenter/view/ok ... table.html