Page 1 of 1
show openkm screen with Document preview with uuid
PostPosted:Tue Mar 28, 2017 4:52 pm
by gopalams
HI, i have requirement of opening OpenKM screen with document Id as input in a read only mode, is it possible in OpenKm. I dont want to user Direct link as it requires userid and password. I have integrated OPENKM with CAS, so i will be passing service ticket also as input.
Thanks
GOpl
Re: show openkm screen with Document preview with uuid
PostPosted:Wed Mar 29, 2017 6:26 pm
by jllort
You can have metadata field as read-only
https://docs.openkm.com/kcenter/view/ok ... field.html and set them linked with automation task when the document is created or added by third-party application by webservices.
Re: show openkm screen with Document preview with uuid
PostPosted:Thu Mar 30, 2017 4:03 am
by gopalams
Thanks for the reply. Can i Open OpenKm with document opened in readonly mode. My requirement is, in my application user will select a particular document and clicks on view button, then i need to open OpenKm app in another tab with selected document opened.
Thanks
Gopal
Re: show openkm screen with Document preview with uuid
PostPosted:Fri Mar 31, 2017 7:23 am
by jllort
Are talking about some kind of integration with external application ?
Re: show openkm screen with Document preview with uuid
PostPosted:Mon Apr 03, 2017 6:52 am
by gopalams
Yes
Re: show openkm screen with Document preview with uuid
PostPosted:Wed Apr 05, 2017 10:32 am
by jllort
In version 6.4 and upper ( actually professional version ) we have make an improvement to share preview, but from actual community version should necessary modify the source code for doing it. You have two go for professional version or make some modification in communtiy version ( I can give you some clue about how doing it )
Re: show openkm screen with Document preview with uuid
PostPosted:Thu Apr 06, 2017 10:50 am
by gopalams
jllort, it would really helpfully if you can tell us how to do it in community/professional version
Thanks
Gopal
Re: show openkm screen with Document preview with uuid
PostPosted:Fri Apr 07, 2017 6:29 pm
by jllort
For how going with professional version contact with us at
https://www.openkm.com/en/contact.html
About how doing with community, first of all upgrade to 6.3.3 if you are not still there. Then I will try to explain the clues below:
- There's an event in automation named "convert to PDF" ( take a look at AutomationRule.java class ).
- This event is used into the ConverterServlet.java an fires automation event ( into the env map is the temporary pdf file what will be served )
- You must do and automation class what get this pdfCache file and then stamp the pdf file.