Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error using addoc on CLI
#7
(11-10-2012, 04:51 PM)steinm Wrote: Historically each version of a document has a filetype and a mimetype. The filetype is basically the extension of the file you uploaded or inserted with adddoc. So it depends on the filename. Whether a version can be viewed online or not depends on the filetype and not on the mimetype.
adddoc doesn't set the filetype but only the mimetype. I should fix this.
A much cleaner solution would be to get rid of the filetype and stick with the mimetype only.

Uwe

I understand. I would like to find a temporary fix (IOW hack) until this is supported.
I tried:
mysql> UPDATE tblDocumentContent SET mimeType = 'image/png', fileType = '.PNG' where document = '17';

That just left an ugly icon and nothing clickable to Download or View Online. What else do I need to do for a View Online of documents uploaded with adddoc?

Thanks
Eric
Reply


Messages In This Thread
Error using addoc on CLI - by ericsmythe - 11-09-2012, 09:41 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)