11-15-2011 05:41 AM
We use the Java APIs to retreive documents for our portal. We need to add a new document file type - excel - but the file is getting corrupted when downloaded. We can download images, rtf & csv files just fine but it seems line both excel and word files are getting modified (corrupted) on the download. These same files are fine when accessed from web client. Any ideas out there what could be going wrong? We are on ver 9.2 - we upgraded the test server to ver 11 hoping it would be resolved - same problem. Thanks.
11-15-2011 05:51 AM
Out of curiousity is the diagnostics console logging anything on the retrieval? How are you adding the file to OnBase? Are you sure the correct file type is being applied on import? I have seen a similar error when archiving documents as the wrong file type. Sometimes what happens is in the OnBase client it is somehow able to recover and know the image is a different file type before displaying but the API doesn't know the file is really a different type and therefore you can't view the document.
11-15-2011 07:37 AM
A few questions for clarification.
I tried to recreate the issue with a normal GetDocumentData and found no issues. Maybe with a little more information, I can narrow down the source of the problem.
11-15-2011 07:42 AM
I don't see any error on the diagnostic console - the file comes over. I imported it as an excel file and the file properties show it as type 13 (excel). Tried setting content type as application/vnd.ms-excel and native format.
11-21-2011 11:26 AM
Well just to followup on this post - first - the developer was pointing to the wrong system - production - not dev - and I was giving the doc id for test and he was pulling total different docs from prod not excel!), 2 - we have weblogics and the jsp had to be modified some - so OnBase works fine!! Yeah!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.