I'm trying to set up a metadata category that has a data-driven selection, but following the docs, can't seem to get it to work.
Below is my property group XML, and I have attached the contents of OKM_DB_METADATA_TYPE and OKM_DB_METADATA_VALUE.
If I use the select, I get a parse error so can't even save the XML.
I'm using Community Edition 6.3.8
Below is my property group XML, and I have attached the contents of OKM_DB_METADATA_TYPE and OKM_DB_METADATA_VALUE.
If I use the select, I get a parse error so can't even save the XML.
Class: com.openkm.core.ParseException
Message: Attribute "table" must be declared for element type "select".
Code: Select all
Edit:
<select
table="suppliers" label="Supplier" name="okp:bill.supplier"
suggestion="com.openkm.form.suggestion.DocumentContentTokenizerSuggestion"
optionsQuery="select $sup_id, $sup_name from DatabaseMetadataValue dmv where dmv.table='suppliers' " />
I'm using Community Edition 6.3.8