SiteAssets
No edit summary
(Automatically adding template at the end of the page.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The SiteAssets folder in the turnkey application is a folder that declares extra mime types.
The SiteAssets folder in the Turnkey application is a folder that declares extra mime types.


The extra mime types makes this folder ideal for hosting content that is not usually downloadable by IIS or IIS express.
The extra mime types make this folder ideal for hosting content that is not usually downloadable by IIS or IIS Express.


Use this location for report templates of OpenDocument format - like odt, ods and odp.
Use this location for report templates of OpenDocument format like odt, ods, and odp.


The following types are added - if you need others you can let us know and we will include in next build:
The following types have already been added. If you need more, let us know and we will include them in the next build:
  <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
  <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
  <mimeMap fileExtension=".odt" mimeType="application/vnd.oasis.opendocument.text " />
  <mimeMap fileExtension=".odt" mimeType="application/vnd.oasis.opendocument.text " />
Line 14: Line 14:
  <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
  <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
  <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
  <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
Some types may be part of global already depending on environment - in order to not conflict with global we do <remove fileExtension=".odt" /> before adding .odt
Some types may already be part of global depending on the environment. To prevent conflict with global, we do <code><remove fileExtension=".odt" /></code> before adding .odt
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey]]
{{Edited|July|12|2024}}

Latest revision as of 15:46, 10 February 2024

The SiteAssets folder in the Turnkey application is a folder that declares extra mime types.

The extra mime types make this folder ideal for hosting content that is not usually downloadable by IIS or IIS Express.

Use this location for report templates of OpenDocument format like odt, ods, and odp.

The following types have already been added. If you need more, let us know and we will include them in the next build:

<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
<mimeMap fileExtension=".odt" mimeType="application/vnd.oasis.opendocument.text " />
<mimeMap fileExtension=".ods" mimeType="application/vnd.oasis.opendocument.spreadsheet" />
<mimeMap fileExtension=".odp" mimeType="application/vnd.oasis.opendocument.presentation" />
<mimeMap fileExtension=".xps" mimeType="application/octet-stream" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />

Some types may already be part of global depending on the environment. To prevent conflict with global, we do <remove fileExtension=".odt" /> before adding .odt

This page was edited 92 days ago on 02/10/2024. What links here