Upgrading ThingWorx Navigate > In-Place Upgrade > Set File Download Types
  
Set File Download Types
You must define allowable file download types in the <installation directory>\ThingworxPlatform\platform-settings.json file. The ThingWorx Navigate installation provides a list of common file types. To ensure that only file types that are used in your organization are downloaded, you can add or remove a file MIME type from this list. Restart the ThingWorx server.
When you upgrade to the latest version of ThingWorx Navigate 1.8, you need to add the ContentTypeSettings section to the platform-settings.json file.
Adding the supportedMediaEntityContentTypes Section
1. Open the platform-settings.json file from the <Installation directory>\ThingworxPlatform directory.
2. Add the block below under the PlatformSettingsConfig section.
"ContentTypeSettings": {
"supportedMediaEntityContentTypes": [
"video/3gpp2",
"x-unknown/x-unknown",
"audio/x-aac",
"audio/x-aiff",
"video/x-ms-asf",
"audio/basic",
"video/x-msvideo",
"image/cgm",
"text/css",
"application/vnd.ms-excel",
"application/msword",
"application/vnd.ms-word.document.macroenabled.12",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.ms-word.template.macroenabled.12",
"application/vnd.openxmlformats-officedocument.wordprocessingml.template",
"image/vnd.dwg",
"image/vnd.dxf",
"application/x-msmetafile",
"audio/flac",
"application/x-gtar",
"application/x-gzip",
"text/html",
"image/x-icon",
"model/iges",
"application/x-iso9660-image",
"application/json",
"video/mpeg",
"audio/x-mpegurl",
"audio/mp4",
"video/mp4",
"audio/midi",
"video/quicktime",
"audio/mpeg",
"application/msproject",
"application/msoutlook",
"application/octet-stream",
"application/msonenote",
"application/vnd.ms-powerpoint",
"application/vnd.ms-powerpoint.template.macroenabled.12",
"application/vnd.openxmlformats-officedocument.presentationml.template",
"application/vnd.ms-powerpoint.addin.macroenabled.12",
"application/vnd.ms-powerpoint.slideshow.macroenabled.12",
"application/vnd.openxmlformats-officedocument.presentationml.slideshow",
"application/vnd.ms-powerpoint.presentation.macroenabled.12",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"x-ptc/x-part",
"application/vnd.ms-publisher",
"application/x-rar-compressed",
"application/rsd+xml",
"application/rtf",
"text/richtext",
"application/vnd.stardivision.draw",
"application/vnd.stardivision.calc",
"application/sdp",
"application/vnd.stardivision.writer",
"application/vnd.ms-powerpoint.slide.macroenabled.12",
"application/vnd.openxmlformats-officedocument.presentationml.slide",
"application/x-tar",
"image/tiff",
"text/plain",
"application/visio",
"audio/wav",
"audio/x-ms-wax",
"video/x-ms-wm",
"audio/x-ms-wma",
"application/x-ms-wmd",
"video/x-ms-wmv",
"video/x-ms-wmx",
"application/vnd.ms-wpl",
"video/x-ms-wvx",
"application/vnd.ms-excel.addin.macroenabled.12",
"application/vnd.ms-excel.sheet.binary.macroenabled.12",
"application/vnd.ms-excel.sheet.macroenabled.12",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.ms-excel.template.macroenabled.12",
"application/vnd.openxmlformats-officedocument.spreadsheetml.template",
"text/xml",
"application/vnd.ms-xpsdocument",
"application/xml",
"application/zip",
"application/ed",
"application/octet-stream"
]
},
3. Save and close the file.
4. Restart Apache Tomcat.