Display pdf in a new window

I need to display the pdf in a new window on click of a button in the iview. The pdf is fetched as an array of bytes from an RFC. It displays correctly, but in the same window. Pls see the extract of the code:
To Write
writeText(IPortalComponentRequest request, IPortalComponentResponse response, byte[] pdfResult)
try{
Document doc = new Document(PageSize.A4);
javax.servlet.http.HttpServletResponse myResponse = request.getServletResponse(true);
myResponse.setHeader ("ContentDisposition", "inline;filename=\"ShortCV.pdf\"");
myResponse.setContentType("application/pdf");
OutputStream os = myResponse.getOutputStream();
os.write(pdfResult);
PdfWriter.getInstance(doc,os);
catch(Exception Ex){
OnView(Event evt){
JCO.Field Table1 = m_function.getExportParameterList().getField("PDF_STRING");
client.execute(m_function);
writeText(request, response, Table1.getByteArray());
onView is called on
Button myButton11 = new Button("myButton11");
myButton11.setText("View");
myButton11.setOnClick("View");
myButton11.render(rendererContext);
Pls advice

See Display pdf in a new Window in a JSPDynPage

Similar Messages

  • Display pdf in a new Window in a JSPDynPage

    I need to display the pdf in a new window on click of a button in the iview. The pdf is fetched as an array of bytes from an RFC. It displays correctly, but in the same window. Pls see the extract of the code:
    To Write
    writeText(IPortalComponentRequest request, IPortalComponentResponse response, byte[] pdfResult)
    try{
    Document doc = new Document(PageSize.A4);
    javax.servlet.http.HttpServletResponse myResponse = request.getServletResponse(true);
    myResponse.setHeader ("ContentDisposition", "inline;filename=\"ShortCV.pdf\"");
    myResponse.setContentType("application/pdf");
    OutputStream os = myResponse.getOutputStream();
    os.write(pdfResult);
    PdfWriter.getInstance(doc,os);
    catch(Exception Ex){
    OnView(Event evt){
    JCO.Field Table1 = m_function.getExportParameterList().getField("PDF_STRING");
    client.execute(m_function);
    writeText(request, response, Table1.getByteArray());
    onView is called on
    Button myButton11 = new Button("myButton11");
    myButton11.setText("View");
    myButton11.setOnClick("View");
    myButton11.render(rendererContext);
    Pls advice

    Detlev .....
    I am still not able to implement your suggested solution.
    If I call javascript written in JSP, will I be able to pass a bean to it. Pls see the code that I hv in addition to the one posted ...
    In ICellRenderer ....
    if ( column == 11 )
    Button myButton11 = new Button("myButton11");
    myButton11.setText("View");
    myButton11.setOnClientClick("Test("beantv2")");
    In JSP
    <script>
    function Test(zBean)
    popAssetWinSpecs = "left=250,top=250,width=300,height=300,scrollbars=no,toolbar=no,menubar=no,resizable=no,status=no,titlebar=no,location=no";
    htmlfile="/irj/servlet/prt/portal/prtroot/AIPLetters.HersheyTeamViewerAIPPDF?zBean="+zBean;
    window.open(htmlfile,"editWindow",popAssetWinSpecs);
    return false;
    </script>
    in the doInitialization of the second comp
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    IPortalComponentContext compcontext = request.getComponentContext();
    AIPBean = new HersheyTeamViewerAIPBean();
    HttpServletRequest zHttpRequest = request.getServletRequest();
    AIPBean = (HersheyTeamViewerAIPBean)zHttpRequest.getAttribute("zBean");
    nothing gets executed ....
    I am not sure whether I am passing the bean correctly
    Thanks for your help,
    Devina

  • Problem displaying PDF file in new window.

    Using NetBeans 6.5, Internet Explorer 7.
    I am using the code example from BalusC at the site:
    http://balusc.blogspot.com/2006/05/pdf-handling.html
    I am having no problem reading and displaying the PDF file, but it displays it in the same window,
    not a new window and it overwrites the current page, so I can't use the back arrow to fetch the page that is overwritten.
    I am using a commandLink to fetch the file.
    Does anyone know why I am not getting a new window or tab for the display?
    The jsp portion for the link is:
    <h:commandLink action="#{MainPage.linkAction3_action}" id="linkAction3"
              style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bold; left: 280px; top: 0px; position: absolute"
              target="_blank" value="Insurance Document"/>The "MainPage.linkAction_action" method just makes a call to the display function:
        public String linkAction3_action() {
            sb1.setMessage("");
            dsb.setFilePath("C:/");
            dsb.setFileName("Insurance_Summary.pdf");
            dsb.downloadPDF();
            return null;
        }And the downloadPDF() method is basically a cut and paste from the BalusC site;
        public void downloadPDF()
            // Reference:   http://balusc.blogspot.com/2006/05/pdf-handling.html
            // Prepare.
            FacesContext facesContext = FacesContext.getCurrentInstance();
            ExternalContext externalContext = facesContext.getExternalContext();
            HttpServletResponse response = (HttpServletResponse) externalContext.getResponse();
            File file = new File(getFilePath(), getFileName());
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open file.
                input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
                // Init servlet response.
                response.reset();
                response.setContentType("application/pdf");
                response.setContentLength( (int)file.length());
                response.setHeader("Content-disposition", "inline; filename=\"" + fileName + "\"");
                output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
                // Write file contents to response.
                byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
                int length;
                while ((length = input.read(buffer)) > 0) {
                    output.write(buffer, 0, length);
                // Finalize task.
                output.flush();
            catch( Exception e )
                System.out.println( "Error displaying file.");
            finally {
                // Gently close streams.
                close(output);
                close(input);
            // Inform JSF that it doesn't need to handle response.
            // This is very important, otherwise you will get the following exception in the logs:
            // java.lang.IllegalStateException: Cannot forward after response has been committed.
            facesContext.responseComplete();
        }

    1) window.open will open a new window and call a servlet.
    window.open ("http://path_to_yourservlet/PDFServlet", "newWindowName");
    if you ant to pass some values from your web page to the servlet you can pass as
    window.open ("http://path_to_yourservlet/PDFServlet?param1=value1&param2=value2", "newWindowName");
    2) The servlet will fetch and display the pdf file.
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class PDFServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet
         private final static int DEFAULT_BUFFER_SIZE = 1000;
         public PDFServlet()
              super();
         public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
              String fileName = "Insurance_Summary.pdf";
              File file = new File("C:/"+fileName+"");
              response.setContentType("application/pdf");
         OutputStream output = response.getOutputStream();
         BufferedInputStream input = null;
         //BufferedOutputStream output = null;
         try {
         // Open file.
         input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
         response.setContentLength( (int)file.length());
         response.setHeader("Content-disposition", "inline; filename=\"" + fileName + "\"");
         output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
         // Write file contents to response.
         byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
         int length;
         while ((length = input.read(buffer)) > 0) {
         output.write(buffer, 0, length);
         output.flush();
         catch( Exception e )
         System.out.println( "Error displaying file.");
         finally {
         input.close();
    Regards,
    Milind Dhar

  • Opening PDF Document in New Window

    Hi,
    I have requirement to open pdf document in new window. I'm using Travel Expense form. I'm using the FM PTRM_WEB_FORM_PDF_GET. When I give 'X' to i_display_form, it displays the pdf document in same session or window. But I would like to open the pdf file in new window.
    The FM gives me pdf data of type RAWSTRING. Is there any FM or class where I can pass this data and open it in New Window.
    Can anyone please suggest on this.
    Regards,
    JMB

    download it using  gui_download and use cl_gui_frontend_services=>execute to execute that pdf file

  • Open PDF's in new window in document library when using "Find a file" search

    I need to be able to open PDF's in a new window from a document library when using the "Find a file" search built into the document library "All documents" view. I currently have the following javascript on the page:
    _spBodyOnLoadFunctionNames.push("setTargetBlank()");
    function setTargetBlank()
    { $("a[href$='.pdf']").removeAttr('onclick').attr("target", "_blank");
    This works great when going to the document library and navigating through the folders then clicking on a link.
    The problem is when someone goes to the document library then uses the "Find a file" search and then they click on a link. The "Find a file" search does not do a postback (reload) of the page, therefore my javascript to find the PDF links
    and make them open in a new window does not run for the links on the page.
    I have read the following article but this does not seem to offer a solution that will work in this situation for SharePoint 2013 (Office 365): http://social.technet.microsoft.com/Forums/sharepoint/en-US/7ad3224c-3165-47ae-95bc-4f3928e2f9a8/opening-document-library-pdf-in-a-new-window-sharepoint-2013?forum=sharepointgeneral
    I suppose the idea solution would be to somehow tap into the event that is fired when using "Find a file" search to run my javascript and update the links for the search results.
    Can anyone offer any solutions to this issue?

    Hi,
    According to your description, my understanding is that you want to open PDF files in a new window from a document library when using the "Find a file" search.
    As you said, the "Find a file" search does not do a postback (reload) of the page, therefore JavaScript to find the PDF links and make them open in a new window does not run for the links on the page.
    I recommend to use JS link to achieve the goal. Create a JavaScript override file and upload the JavaScript file to the Master Page Gallery, and then set the JS Link property of the document library web part to point to the JavaScript file.
    Here are some links about the JS link in SharePoint 2013 for you to take a look:
    http://www.idubbs.com/blog/2012/js-link-for-sharepoint-2013-web-partsa-quick-functional-primer/
    http://www.learningsharepoint.com/2013/04/13/sharepoint-2013-js-link-tutorial/
    http://zimmergren.net/technical/sp-2013-using-the-spfield-jslink-property-to-change-the-way-your-field-is-rendered-in-sharepoint-2013
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Opening Document Library PDF in a New Window (Sharepoint 2013)

    Hello,
    I have numerous PDF's in a document library. When the PDF opens in the browser, the PDF's contain links to various other sites; however, when the user clicks the link on the PDF from the document library, the link opens in the same window as the PDF. I would
    like the link to open the PDF in a new browser window.
    I have searched Google but cannot find anything for SharePoint 2013. We are hosting our SharePoint on the Office 365 package.  I found one solution that is repeated on many forums, but I do not see the "Convert to XSLT data view" anywhere
    in SharePoint designer 2013. The solution states:
    "Edit the document library in SharePoint Designer.
    1. Open the site in SharePoint Designer and then open the document library allitems.aspx.
    2. Right-click the document library web part and select “Convert to XSLT data view”.
    3. Locate the name column, you will see this tag “<A onfocus="OnLink(this)" HREF="{@FileRef}"….. ”, add “target=”_blank”” in tag.
    4. After this, the documents will be opened in a new window."
    I do  see my allitems.aspx and can open that with a text editor. The contents of that file are:
    <%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=16.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"><SharePoint:ListProperty Property="TitleOrFolder" runat="server"/> - <SharePoint:ListProperty Property="CurrentViewTitle" runat="server"/></asp:Content>
    <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:RssLink runat="server" />
    </asp:content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"><SharePoint:ViewIcon Width="145" Height="54" runat="server" /></asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
    <SharePoint:RecentChangesMenu runat="server" id="RecentChanges"/>
    <SharePoint:ModifySettingsLink runat="server" />
    </asp:Content>
    <asp:Content ContentPlaceHolderId ="PlaceHolderBodyLeftBorder" runat="server">
    <div height="100%" class="ms-pagemargin"><img src="/_layouts/15/images/blank.gif?rev=32" width='6' height='1' alt="" data-accessibility-nocheck="true"/></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main" />
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
    <SharePoint:ListProperty CssClass="ms-listdescription" Property="Description" runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderCalendarNavigator" runat="server">
    <SharePoint:SPCalendarNavigator id="CalendarNavigatorId" runat="server"/>
    <ApplicationPages:CalendarAggregationPanel id="AggregationPanel" runat="server"/>
    </asp:Content>

    did you try this one?
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/71b24f4b-570a-48fa-9ec3-91073eafaebd/open-pdfs-in-new-window?forum=sharepointadminprevious
    or trying to use the content editor web part...
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
    try this solution...check the column which having the clickable link.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/99e9559a-da76-4722-982c-882b3e4181c7/hyperlink-column-type-open-in-new-window
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Opening a list item pdf attachment from the display form in a new window

    I have a list setup in which attachments are enabled.
    Users attach pdf's to list items.
    When they go into the display form for a list item and click on a pdf attachment in the "Attachments" area at the bottom of the form, it opens in the same browser window.
    I would like to amend this so it opens in a new window.  Has anyone found a fix for this?
    Thanks in advance,
    Mark

    Hi ,
    Put the code below in your DispForm.aspx page .The you can open the attachments in a new window. Including all the other links on the DispForm.aspx page .
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript">
    $(function(){ 
    $('a').click(function(){
                    window.open(this.href);
                   return false;
    });</script>
    Thanks,
    Entan Ming

  • Display a PDF in a new window - Urgent***

    Hi experts,
    Im having a hyperlink in my iview, once the user clicks on the link, a PDF document has to be displayed in a new window.
    Im having my PDF in my DMS Server.
    can u guys help me, which function module i have to use to develop a application  so that PDF will be opened in a new window.
    Thanks in advance.
    James....

    Hi Vasanth,
    First convert data to byte[]. Then use the following code to open PDF
    try{
    IWDResource wr = WDResourceFactory.createCachedResource(byte[] data , "PDF Report", WDWebResourceType.PDF);
    IWDWindow w = wdComponentAPI.getWindowManager().createNonModalExternalWindow(wr.getUrl(0), "PDF Report");
    w.show();
    try (Exception e){
    wdComponentAPI.getMessageManager().reportException(e.getMessage(), false);
    regards,
    Siva.

  • URL Portlet PDF format, in new window?

    I have successfully installed the URL portlet and can render an Oracle report within in HTML format. I want it to display in PDF format, but it doesn't work...it displays source code. Is there a way to do this?
    Also, the report display in place...how can I have just the URL displayed to link out to new window? Thanks...

    Are you trying to render the PDF document inside the portlet? Portlets are really only meant to render content that can be displayed inside an HTML table. For a PDF document to share a page with other content, it needs to be in its own frame.
    You can create a portlet that just has a link in it if you want the report to display in a new window. This is pretty easy using Content Areas.
    null

  • Display pdf in a popup window

    Hello @all,
    i want to convert a smartform to pdf and show the pdf in an second window or in a popup. When i click on a button in the application, a new window with the pdf should be open. Is this possible to show the pdf in a second window or in a popup. Can anybody help me?

    I think you need to create one window and display pdf in it.
    Try following code:
    1)  Create one Window
    2) Create the view to be displayed in popup (add pdf in this view)
    3)  Embed the view created in above step in the window created in first step.
    4)  Create following attribute in the Component controller:
         I) Z_WINDOW type ref to IF_WD_WINDOW
          Mark the attribute as u2018Publicu2019.
    Code to open Window in Popup
      DATA: api_component    TYPE REF TO if_wd_component,
      l_window_manager TYPE REF TO if_wd_window_manager.
      api_component    = wd_comp_controller->wd_get_api( ).
      l_window_manager = api_component->get_window_manager( ).
    Create window and pass parameters
      CALL METHOD l_window_manager->create_window
        EXPORTING
          modal        = abap_true
          window_name  = 'ZC_SO_ALV'
          title        = 'Test Popup'
          close_button = abap_true
        RECEIVING
          window       = wd_comp_controller->z_window.
      wd_comp_controller->z_window->open( ).
    Regards,
    Saket.

  • Display Oracle Report on new window

    Hi,
    How can I display Oracle report from HTML DB on a new browser window? I have branch to this report. Thanks much for your help.
    Lakshmi

    Search this forum for "new window". You should find it. Try:
    checkbox and report page in new window

  • How to open PDF file in new window as default

    I have .pdf documents into which I have inserted links to other .pdf documents using pdfEdit995
    (I am a 77-year-old pensioner recording monumental inscriptions, not very computer literate and not able to afford expensive applications !) 
    The links in the temp.ps file (which pdf995 creates first) look like :-
    [ /Rect [85 225 107 228]
    /Border [ 0 0 0 ]
    /Action /Launch /File (.\\Another Folder\\TARGET FILE.PDF)
    /Subtype /Link
    /ANN pdfmark
    The links work fine, but open in the same window, which is annoying as it is then neccessry to re-open the original document, scroll down to the required page and find the next link.
    pdf995 support say that perhaps Adobe reader can be set to open in a new window, but I want this to be the default when I circulate my file to interested people, so would prefer to modify the links.
    Can anyone help with a smple solution ? (I also believe in Santa Claus !)
    System: Vista; Reader X 10.1.0

    I don't know if you can change this in the PS file, but if you had Acrobat you could embed the following code into your file, that will make sure the links open in a new window. However, you should be aware that this code will change the preferences at the application level, which some people might not appreciate.
    The code is:
    app.openInPlace = false;

  • From a PDF in a browser window - open links within in that PDF in a new window

    BACKGROUND SCENARIO:
    Users view a PDF document within their browser window (default behavior at my organization).  Key point is, the PDF isn't being viewed in an Acrobat Reader window, it's being viewed within the browser window.
    Within that PDF, are many links to intranet pages. And incidentally, this PDF happens to be a document that is updated frequently (More on this caveat in a moment)
    EDIT: The end users are end users, smart people, but not necessarily super-sophisticated computer users.
    MY QUESTION:
    When a user clicks a link within the PDF, I want the new page to open in a new window, NOT in the same window that the PDF was being viewed in.
    I've done a fair amount of homework:  The prevailing answer is to use Acrobat Pro's "LINK" feature to turn the hyperlink into a javascript command that opens the link in a new window, and to do this (a) MANUALLY, (b) ONE LINK AT A TIME, and (c) Repeat steps (a) and (b) EACH TIME the document gets updated.   (Back track now to my earlier caveat.. this is a frequently changing document with lots of links... Doing manually and repeating the whole process each time the document is updated is a lot of work.)
    I believe there are some add-on products that make this easier too.
    So my question is...  Other than add-ons, Is there another way?  a better way?  a more efficient way?  Or is there another way, on the way?
    SOMEWHAT RELATED QUESTION:  (EDIT)
    Another answer that would more or less satisfy me:  is there a way either from the calling HTML page, or from within the PDF document itself, to force the PDF to open within its own Acrobat Reader window, rather than within the browser window?  That would mostly dodge the issue, by opening linked pages in the browser anyway.
    A little extra background information: The document also uses password protection (a management requirement), which is why opening the links in the same window is such a pain.  Back-keying back to the document after viewing the link requires re-typing the document password, a noted pain.  I'd accept a fix to that particular problem too, but I don't think there is one.  Either way, the new-window question is one I'd like to solve.  (FYI, I asked the password retype question separately over in the security forum, here:  http://forums.adobe.com/message/5055162#5055162).

    You can't update the destination for a link using JavaScript, because there's no way to read the link's current action. While there is a setAction() function to create a new action on an existing link, there's no "getAction" function.
    In terms of how a PDF file opens, nothing in the document or in the HTTP headers can influence whether the file is opened in the browser or on the desktop - that's a user preference. What you can do with scripting on the server is send HTTP content-disposition headers that define the PDF file as something the user should download and save, rather than something the browser should try to open.

  • Opening PDFs in a New Window

    Is there a good way to code a link to a PDF on a web page that would ensure that the PDF opens in Reader or in a new browser window/tab instead of in the same window/tab?
    Even though modern browsers allow users to configure their setup to allow PDFs to be opened within the same browser window (this might even be the default behavior nowadays), I've found that many customers end up closing the entire browser by accident after they finish reading the PDF. Then they have to open the browser back up again, sign in again, and navigate back to where they were. In order to reduce the chance of this happening, and to provide a better customer experience, I would like to force the PDF to open in Reader or in a new window/tab.
    However, when I have tried to do this in the past, I have run into many types of errors based on the different browser/platform/version combos that exist out there. Examples:
    Two browser windows are opened -- one blank and one with the PDF.
    The PDF opens in Reader, but a blank window/tab is also opened.
    The PDF won't close. I have to close the window that spawned it first.
    Many of these errors seem to occur on computers where the user has already set up their computer to not allow PDFs to open in the same window/tab. So that when I do something to force the PDF to open elsewhere, it kind of happens twice.
    Is there a nice, clean way to do this?
    Thanks,
    David Ashleydale

    Welcome to the Apple Discussions. To get the pdf file to open in a new browser window you will need to first upload the pdf file to the server and then create a text or image hyperlink to an external page and use the URL to the pdf file. If you have a MobileMe account and put the pdf file in the Web/Sites folder the URL you would use in the Inspector/Links pane would be:
    http://web.me.com/yourMMe_accountname/filename.pdf
    If you were to add a folder to the Sites folder titled PDFs and put the file in it the link would be:
    http://web.me.com/yourMMe_accountname/PDFs/filename.pdf
    OT

  • Opening a PDF in a new window

    I'm using Captivate 3 and have a button with a simple link to
    a pdf file. The pdf file loads okay but it takes over the popup
    window which the training is in.
    I'm using an LMS and the Captivate file appears in its own
    window, i've tried changing the url to either
    current/new/parent/top but its not what i want.
    new causes it to open a new window in the same popup window
    which i could 'possibly' have, best solution of a bad bunch.
    But want to simply click on the link and a brand new window
    opens with the pdf ? Sure i've tried everything ?
    Any ideas ?

    Hi psj3809
    Since you seem to have exhausted all the Captivate supplied
    possibilities, I'm guessing the only recourse you really wish to
    consider may be to use JavaScript. You may be interested in the
    following link:
    Click
    here.
    Cheers... Rick

Maybe you are looking for