Page 1 of 1

Where metadata groups info save in database ?

PostPosted:Sun Aug 26, 2018 11:45 am
by mamad
Hi dear jllort,
I want to know where metadata group info (metadatas that user entered from user interface using add metadata groups button ) saves i mean in which table in database ? I check OKM_DB_METADATA_VALUE table but data wont saved there
Another question is that how i can access to this data from a GWT-based class ?
Thanks in advance

Re: Where metadata groups info save in database ?

PostPosted:Mon Aug 27, 2018 6:32 am
by mamad
would you please also tell me which class(or classes) control adding metadata groups ?

Re: Where metadata groups info save in database ?

PostPosted:Tue Aug 28, 2018 4:29 am
by mamad
Any idea ??? :(

Re: Where metadata groups info save in database ?

PostPosted:Wed Aug 29, 2018 6:25 am
by mamad
i found the table :
its OKM_NODE_PROPERTY
but second question its still unanswered.
how can i access to this data from a GWT-based class ?

Re: Where metadata groups info save in database ?

PostPosted:Thu Aug 30, 2018 9:12 am
by jllort
In our documentation are described the main tables https://docs.openkm.com/kcenter/view/ok ... properties

About accessing metadata groups -> really the metadata is shown in the bottom panel into a new tab for each metadata group. I do not know what you are trying to do and I think before continue will be good idea a detailed explanation about what are you trying to do?

Re: Where metadata groups info save in database ?

PostPosted:Sat Sep 01, 2018 4:19 am
by mamad
I know metadata is shown in the bottom panel but i want to access them in a gwt class(for example a class that extends TabDocumentExtension) and do some process based on this data.
Is there any way at all to access this data in a gwt-based class ?

Re: Where metadata groups info save in database ?

PostPosted:Sat Sep 01, 2018 8:13 am
by jllort
Take a look at :
PropertyGroupServlet.java what implements OKMPropertyGroupService
And where OKMPropertyGroupServiceAsync.java is referenced into the GWT code.