Pdf file opening in same window. | Community
Skip to main content
varung44569684
October 16, 2015
Solved

Pdf file opening in same window.

  • October 16, 2015
  • 1 reply
  • 1110 views

Hi ,

 I am facing the problem right now with opening of pdf files . Whenever I provide a link to pdf present in dam using TextArea , it is opening the file in same window .Is there some configuration which I can do so that it opens up in new window or gives us a pop window asking us to save or cancel the file as happens with doc or txt type of files.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

We open PDF docs located in the DAM  - we simply include target="_blank":

<a target="_blank" href="https://forums.adobe.com/content/dam/help/attachments/dev5.pdf">Developing for Adobe Experience Manager</a></p>

Also - most CQ components also give you an option to open the content in a new window:

[img]newWin.png[/img]

I have never seen an issue opening a PDF in a new window. 

1 reply

smacdonald2008
smacdonald2008Accepted solution
October 16, 2015

We open PDF docs located in the DAM  - we simply include target="_blank":

<a target="_blank" href="https://forums.adobe.com/content/dam/help/attachments/dev5.pdf">Developing for Adobe Experience Manager</a></p>

Also - most CQ components also give you an option to open the content in a new window:

[img]newWin.png[/img]

I have never seen an issue opening a PDF in a new window.