Upload a JSON file as a multimedia component in SDL Tridion 2011

I am trying to upload JSON files to Tridion and publish them. I created a new media type for JSON files with a MIME type: application / json

Then I uploaded the file as a multimedia component and published the file. I see a file created on the delivery server, but when I try to read the file from the URL, it shows "File not found."

I am using an ASP.NET application on a delivery server with IIS 7.5

Do I need to do a different configuration? Please, help.

Thanks and Regards

Sharad Kumar Sangal

+4
source share
1 answer

You will need to add the file extension and mime in IIS. If you need help, refer to this link:

http://www.iis.net/configreference/system.webserver/staticcontent/mimemap

The actual values ​​you need are probably .json for the file name extension and application/json for the MIME type.

+4
source

All Articles