Sitecore PDF Open In Same Browser Patch - MediaTypes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<settings> | |
<setting name="Media.EnableRangeRetrievalRequest"> | |
<patch:attribute name="value">false</patch:attribute> | |
</setting> | |
<setting name="Media.RequestExtension"> | |
<patch:attribute name="value"></patch:attribute> | |
</setting> | |
</settings> | |
<mediaLibrary> | |
<mediaTypes> | |
<mediaType name="PDF file" extensions="pdf"> | |
<forceDownload>false</forceDownload> | |
</mediaType> | |
</mediaTypes> | |
</mediaLibrary> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment