Page 1 of 1

PDF Properties

PostPosted:Fri Nov 29, 2019 6:14 am
by siegfredev
Is there a way for the PDF Information/Properties be saved or extracted by OpenKM?
PDF Info.PNG
PDF Info.PNG (36.05 KiB) Viewed 3357 times
Sorry. Content of the fields are confidential.

Re: PDF Properties

PostPosted:Sat Nov 30, 2019 9:32 am
by jllort
Yes, can be extracted. The way for doing it is creating and automation task what process the PDF and save this kind of data in metadata groups. For it you need some Java skills because of you need to code it. I can guive some clues about how doing it.

Re: PDF Properties

PostPosted:Mon Dec 02, 2019 2:28 am
by siegfredev
jllort wrote: Sat Nov 30, 2019 9:32 am Yes, can be extracted. The way for doing it is creating and automation task what process the PDF and save this kind of data in metadata groups. For it you need some Java skills because of you need to code it. I can guive some clues about how doing it.
I see, thank you for that info, please do give clues on how to extract them. Would be so much help if it is procedural. thank you so much.

Is that kind of feature present on the Professional Version?

Re: PDF Properties

PostPosted:Thu Dec 05, 2019 5:48 pm
by jllort
In professional edition this kind of things comes as customization, basically because althought the way to extract the data is usually the same, when you got it, usually everybody what to play the data in different manner.

In google look for "extract pdf metadata java" , I think this is a good starting point https://stackoverflow.com/questions/370 ... ing-pdfbox

I suggest create an automation ( with event "document creation" ) to process PDF -> https://docs.openkm.com/kcenter/view/ok ... ction.html

About where to store I suggest these documentation URL's
https://docs.openkm.com/kcenter/view/ok ... adata.html
https://docs.openkm.com/kcenter/view/ok ... field.html
https://docs.openkm.com/kcenter/view/ok ... l#addGroup
https://docs.openkm.com/kcenter/view/ok ... tiesSimple

With it I think you have all what you need to capture and store data in OpenKM metadata fields

Re: PDF Properties

PostPosted:Fri Dec 06, 2019 1:07 am
by siegfredev
jllort wrote: Thu Dec 05, 2019 5:48 pm In professional edition this kind of things comes as customization, basically because althought the way to extract the data is usually the same, when you got it, usually everybody what to play the data in different manner.

In google look for "extract pdf metadata java" , I think this is a good starting point https://stackoverflow.com/questions/370 ... ing-pdfbox

I suggest create an automation ( with event "document creation" ) to process PDF -> https://docs.openkm.com/kcenter/view/ok ... ction.html

About where to store I suggest these documentation URL's
https://docs.openkm.com/kcenter/view/ok ... adata.html
https://docs.openkm.com/kcenter/view/ok ... field.html
https://docs.openkm.com/kcenter/view/ok ... l#addGroup
https://docs.openkm.com/kcenter/view/ok ... tiesSimple

With it I think you have all what you need to capture and store data in OpenKM metadata fields
thank you very much for this

Re: PDF Properties

PostPosted:Fri Dec 13, 2019 3:53 pm
by jllort
If you got this code running with automation we can include by default in community source code, because may be useful for other users.