question

Zuzuzu-9237 avatar image
0 Votes"
Zuzuzu-9237 asked Zuzuzu-9237 answered

How can you open an mht file in SharePoint Online

Hello.
Is is possible to open an mht file in a brower that is stored in a document library on SharePoint Online site, rather than it trying to download it.?
I have numerous mht files stored on a document library. I want to reference these documents and have built a HTML webpage. I want to add the hyperlinks to these files in the document library and for them to open as seperate MHT files.
Any recommendations on what to use to do this?

Thanks.

office-sharepoint-online
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Zuzuzu-9237,
Thanks for your question.

We are currently looking into this issue and will give you an update as soon as possible.

Thank you for your understanding and support.

0 Votes 0 ·
TKujala avatar image
0 Votes"
TKujala answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YanliJiangMSFT-7045 avatar image
0 Votes"
YanliJiangMSFT-7045 answered XuyanDingMSFT-4872 commented

Hi @Zuzuzu-9237 ,

Which browser are you using? If it is Edge, Chrome, it’s not supported to directly open mht file stored in the SharePoint Online in the browser, the file needs to be downloaded first.
IE browser supports opening MHT files directly, you can try to use IE browser.

Here are my test results:
MHT file
196151-1.png

Open through Edge
196068-2.png

When you click “Open”,It will download automatically.


Open through Chrome
196161-3.png


When you click “Open”,It will download automatically.


Open through IE
196096-4.png

When click “Open”, it will open the file.
196104-5.png

If you want to use Chrome/Edge, as a workaround, we can add IE tab extension on them https://chrome.google.com/webstore/detail/ie-tab/hehijbfgiekmjfkfjpbkbammjbdenadd?hl=en

Thanks,
Yanli Jiang
===========================================
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



1.png (90.2 KiB)
2.png (53.0 KiB)
3.png (73.9 KiB)
4.png (39.6 KiB)
5.png (235.7 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Zuzuzu-9237 ,
I am looking forward to your feedback if there is any update.

Please remember to update this thread if you have any progress.

Thank you for your understanding.

0 Votes 0 ·

Hi @Zuzuzu-9237,

Is there any update on this thread? Comment here if you still need any help.

0 Votes 0 ·
PauldeJong-6993 avatar image
0 Votes"
PauldeJong-6993 answered

OOTB this is not possible with modern browsers without downloading the file. There are 3rd party apps that offer this functionality (example). However, this approach can only be justified if the mht functionality is critical and not nice to have.
Paul


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Zuzuzu-9237 avatar image
0 Votes"
Zuzuzu-9237 answered

Thanks all. Unfortunately it's edge browser and its for work so it's controlled by admins. I have decided to save the files as pdfs and by this way I can use the PDF link to go straight to the file.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.