Expand my Community achievements bar.

SOLVED

.oft filetype cannot be downloaded.

Avatar

Level 1

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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... 

 

Something like this:

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


Hope this helps.



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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... 

 

Something like this:

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


Hope this helps.



Esteban Bustamante