Hi folks,
I stored CSV file into CMOD with generic indexer but I have issue to display it since it comes with mime type application/line and with filename OnDemandDoc.dat and the browser doesn't know which application to use to open it.
Is there any way to modify the mime type on CMOD?
Thanks,
kader
You'll need to define a new Application with a User Defined data type, and specify the correct Mime Type, so that your browser understands how to deal with it. I don't think you can change the mime type after an application has been defined, and even if you can, I don't think it would allow you to change data that was already loaded.
-JD.
Great. I'll recreate my application. We are still in Dev.
many thanks Justin.
Kader
Hi Justin,
I did the change at the application. However the filename is OnDemandDoc.dat and the mime type is "application/ondemand extension-field=csv"
I still have the problem with doesn't how with which application to open it.
Thanks,
kader
Are you sure that when you are searching you are pulling from your new application rather than your old one?
I have done this before it is quite simple. Everything linked up on the folder level? Sometimes its the little things like that that we miss that can cause a PEBCAK moment :)
Hi jeff,
It's only the application where I set up USER DEFINED with file extension= csv which appear in the mime as application/ondemand extension-field=csv
Thanks,
Kader
Did you try reloading a file? and make sure that it's pulling index settings from the right application?
Your browser (or OS) might not know what to do with a .CSV file. If you copy the file, then rename it with a .csv extension, can you double-click it and have it open up in the application of your choice? Alternately, if you drag-and-drop it onto the browser, does it launch the same program?
Also, shouldn't the mime-type be "text/csv" rather than an application?
-JD.
Quote from: kader on February 28, 2014, 04:04:02 PM
"application/ondemand extension-field=csv"
Are you trying to retrieve from thin client or thick client?