Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

APEX_APPLICATION_FILES.MIME_TYPE - Office 2007 formats

jsmith88Aug 31 2009 — edited Sep 3 2009
Hi,
I have been working on a document imaging apex app where I need to search the contents of the uploaded files. I did see 11.1.0.7 Oracle Text now includes support for Microsoft Office 2007 items (which is a great addition considering my organization defaults everything to office2007 format). When I insert the document into the database, I am querying APEX_APPLICATION_FILES.MIME_TYPE to populate the mime_type for the given document (in this case it is a .docx). I don't have the proper mime_type since it is returning 'application/octet-stream' rather than 'application/msword'. I see the "mime.types" config file on our production Oracle HTTP server but my development environment is running the XML DB http server. Does anyone know where to update the mime_type settings when running APEX on the XML DB HTTP server? When I manually update the mime_type in the database column to reflect 'application/msword'; downloads now associate the file with Microsoft Word.
I have looked at 950145 put this only describes the stand along HTTP server.
Any help is appreciated.
thanks,
Jeff
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2009
Added on Aug 31 2009
5 comments
2,137 views