1

Are .mht files supported in SharePoint 2013?

For viewing the PPT files, in 2010, there files were saved as .mht files and they were uploaded to a document library and the mht file link was shown using a page viewer webpart

Is this still supported?

4
  • Yes, it's working in SP2013 are you facing a specific issue? or just need to confirm that Mar 27, 2017 at 8:04
  • Recently migrated a 2010 portal to 2013, the mht files are getting downloaded when I open the page Mar 27, 2017 at 8:05
  • 1
    should you try to run that PowerShell to be able to show it in browser $webapp = Get-SPWebApplication -Identity "webapplicationurl" $webapp.AllowedInlineDownloadedMimeTypes.Add("message/rfc822") $webapp.Update() Mar 27, 2017 at 8:07
  • 1
    sure will give it a try Thanks for the help, really appreciate it! Mar 27, 2017 at 8:09

1 Answer 1

1

Yes, it's supported in SharePoint 2013.

In a case of you are not able to show .mht file in browser.you will need to run the below PoweShell cmdlet

$webapp = Get-SPWebApplication -Identity "webapplicationurl"
$webapp.AllowedInlineDownloadedMimeTypes.Add("message/rfc822")
$webapp.Update()

For more details check PowerShell Ref

2
  • What mime type should I add for HTM files? (.htm) They are getting downloaded when I give the link in pageviewer webpart Mar 28, 2017 at 12:35
  • 1
    Bro, should you try this "text/html" Mar 28, 2017 at 12:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.