<script custom-tag="" type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","headline":"Download attribute in Anchor tag inside a iframe is not working in IE11","image":"http://support.servicenow.com/29f1d2661baf6010cafa53d8624bcb43.iix","author":{"name":"ServiceNow Support","url":"http://support.servicenow.com/now"},"keywords":"ServiceNow, NowSupport public Knowledge Base articles, Known Error,KB0783621,","wordcount":"256","publisher":"ServiceNow","url":"https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0783621","datePublished":"2021-05-11","dateCreated":"2019-10-30","dateModified":"2024-04-10","description":"<h2>Download attribute in Anchor tag inside a iframe is not working in IE11</h2><br/><div style=\"overflow-x:auto\"><h2>Description</h2><div><p>Under activity stream/Chat, when user clicks on the attach","articleBody":"<h2>Download attribute in Anchor tag inside a iframe is not working in IE11</h2><br/><div style=\"overflow-x:auto\"><h2>Description</h2><div><p>Under activity stream/Chat, when user clicks on the attached file, a popup with a download icon will appear. In IE 11 when the download icon is clicked, it is opening a new blank browser window and not downloading the attachment. It works as expected in Edge and other browsers.</p></div><h2>Steps to Reproduce</h2><div> <p></p><p>1) Login using IE 11<br />2) Attach an image file to an incident and copy the URL of the same incident<br />3) Create a UI page which contains the following iframe and uses the incident URL(mentioned in step 2)<br /><br />&lt;?xml version&#61;&#34;1.0&#34; encoding&#61;&#34;utf-8&#34; ?&gt;&lt;j:jelly trim&#61;&#34;false&#34; xmlns:j&#61;&#34;jelly:core&#34; xmlns:g&#61;&#34;glide&#34; xmlns:j2&#61;&#34;null&#34; xmlns:g2&#61;&#34;null&#34;&gt; &lt;h1&gt;Hello world &lt;/h1&gt;&lt;iframe frameborder&#61;&#34;0&#34; style&#61;&#34;height: 100%; width: 100%;&#34; scrolling&#61;&#34;no&#34; id&#61;&#34;chatframe&#34; src&#61;&#34;&lt;INCIDENT URL mentioned in step 2&gt;&#34; name&#61;&#34;chatframe&#34; sandbox&#61;&#34;allow-same-origin allow-scripts allow-forms allow-popups allow-downloads-without-user-activation&#34; &gt;&lt;/iframe&gt;&lt;/j:jelly&gt;<br /><br />4) Load the UI Page<br />5) Go to the activity stream and click on the attached image - users will be provided with a popup that has a small download icon at the rightmost bottom.<br />6) Click on the icon (mentioned in step 5)<br /><br />Actual behavior - A new tab is opened and the image is not downloaded<br />Expected Behavior - It shouldn&#39;t open a new tab and download the attached image</p></div><h2>Workaround</h2><div><p>After carefully considering the severity and frequency of this problem, and risk of attempting a fix, it has been decided to not address this issue in any current or future releases. We do not make these decisions lightly, and we apologize for any inconvenience.</p></div><div><br /><strong>Related Problem: PRB1361139</strong></div></div>"}</script>
  Loading...