<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 /><?xml version="1.0" encoding="utf-8" ?><j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"> <h1>Hello world </h1><iframe frameborder="0" style="height: 100%; width: 100%;" scrolling="no" id="chatframe" src="<INCIDENT URL mentioned in step 2>" name="chatframe" sandbox="allow-same-origin allow-scripts allow-forms allow-popups allow-downloads-without-user-activation" ></iframe></j:jelly><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'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>