.oft filetype cannot be downloaded. | Community
Skip to main content
Level 2
February 5, 2024
Solved

.oft filetype cannot be downloaded.

  • February 5, 2024
  • 1 reply
  • 687 views

We have a number of Outlook .oft files in Assets that we want accessible from links in pages. The browser is displaying a blank page with no source and does not offer a download option. We are seeing a 200 so we know the request is successful.

In Web Console/Apache Sling Commons Mime Type Service we have tried alternatively adding "application/sla stl oft" and "application/vnd.ms-outlook oft" with no results.

Any ideas?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

Hi,

 

I think you need to make sure the "Content-disposition" header is set correctly for these types of assets, please check this thread about how to configure this header: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/content-disposition-on-aem-as-cloud/m-p/435636 

 

Something like this:

<LocationMatch "\.(?i:oft)$"> ForceType application/vnd.ms-outlook Header set Content-Disposition attachment </LocationMatch>


Hope this helps.

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
February 5, 2024

Hi,

 

I think you need to make sure the "Content-disposition" header is set correctly for these types of assets, please check this thread about how to configure this header: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/content-disposition-on-aem-as-cloud/m-p/435636 

 

Something like this:

<LocationMatch "\.(?i:oft)$"> ForceType application/vnd.ms-outlook Header set Content-Disposition attachment </LocationMatch>


Hope this helps.

Esteban Bustamante
ketdesignAuthor
Level 2
February 6, 2024

Perfect. Thank you.