Download link in Apex4

Hi All,
I have migrated Apex 3.2 to Apex 4.
I had interactive report with download link. It was working fine but in Apex 4 ,this is not working. Could anybody please help me with this?
Thanx
Omy

Hi All,
Please help as this is urgent.
I am giving more details:
My Report Query is:
SELECT
issue_id,
dbms_lob.getlength("P_LOG_FILE") "LOG_FILE",
progress,
TO_CHAR(modified_on, 'DD-Mon-YY HH:MI:SS')Mod_date,
modified_by,
status,
time_spent
FROM
it_issues_progress
WHERE
issue_id =:P38_ISSUE_ID
UNION ALL
SELECT
issue_id,
null LOG_FILE,
null progress,
null Mod_date,
null modified_by,
'TOTAL',
CAST(numtodsinterval(SUM(it_total_seconds_spent(time_spent)), 'SECOND') AS interval DAY(5) TO second(2))
sum_test
FROM
it_issues_progress
WHERE
issue_id =:P38_ISSUE_ID
GROUP BY
issue_id
Column format is DOWNLOAD:IT_ISSUES_PROGRESS:P_LOG_FILE:ISSUE_ID::P_MIME_TYPE:P_FILE_NAME:P_LAST_UPDATE::attachment:Download
Download link was working in Apex3.2 and when I migrated to Apex 4..it stopped working. When I click on link, instead of opening that doc, it dispalyed Page cannot be displayed error.
Please tell me what should I check?
Thanx
Omy

Similar Messages

  • How to make downloadable links in Adobe Muse

    I am new to website design and am trying to figure out how to make downloadable links for some PDF flyers, PSD templates I am creating.   Not sure if "downloadable links" is the correct term for what I'm trying to say but in a nutshell I am creating Business Flyer's in PDF form and Photoshop PSD template files that I would like to be able to have my users click a link that allows them to download them right to their desktop.  Any help would really be appreciated!

    Hi caybar10gaming,
    I had the same question as you and was searching online for how to add "downloadable links" as well so your not alone in that lol. Anyways, I found this video that explains how to do this. I hope this helps you, as it did me. Good Luck  
    http://tv.adobe.com/watch/muse-feature-tour/add-and-link-to-any-type-of-file/
    -Caitlin

  • Download link not working in Adobe AIR app.

    I wanted to let users browse my site as a desktop application,
    but didn't have the time to write an application from scratch. SO tried following trick. Created a simple Adobe AIR application with a single page. This page redirects to my website and hence loads the website in the AIR window.
    Everything is working fine except that the download links are not working. The download doesn't start. Nothing happens. What is the solution here? Any help is appreciated.

    I am now facing the same problem. I wrote a servlet .
    code like this
             response = (HttpServletResponse) faces.getExternalContext().getResponse();
             response.setContentType("application/x-download");
             String agent = request.getHeader("USER-AGENT");
             boolean isIE=false;            
            if (null != agent && agent.indexOf("MSIE")!=-1) { 
                isIE=true;
            if (isIE) {
                fileName = URLEncoder.encode(fileName, "UTF-8");
            } else {
                fileName = new String(fileName.getBytes("utf-8"), "ISO-8859-1");
            response.setHeader("Content-Disposition","attachment;filename="+fileName);
            ServletOutputStream os = response.getOutputStream();
            byte b[]=new byte[1024];
            int n;
            while((n=in.read(b))!=-1){
                os.write(b,0,n);
           in.close();
           os.close();
    and i open a new window refer to above jsp ,also i set a breakPoint at os.close(),the program has passed through,but nothing happened in the window.
    If i use IE or FF ,the browser will open a small window to allow me select whether open or  save the file.So can anybody give me some advice.Is it because air using webkit engine and the engine does not do this kind of job?
            Thanks.

  • Showing image instead of download link

    I am using an interactive report and entered this for the source. I want to show the picture instead of a download link however I don't get the picture I get a
    Source:
    select "IMAGE_ID",
    "SUBJECT",
    "CREATED_DATE",
    "CREATED_BY",
    decode(nvl(dbms_lob.getlength(image),0), 0, null, '<img src=
    "'||apex_util.get_blob_file_src('P53_IMAGE', image_id)||
    '" height="75" width="75" />') Image
    from "#OWNER#"."IMAGES"
    Shown in the report:
    <img src= "apex_util.get_blob_file?a=100&s=3229276571420106&p=53&d=1943731550155986&i=1941402717155956&p_pk1=1&p_pk2=&p_ck=58C90FE7F1EC9618676F23C2FC24FA0A" height="75" width="75" />
    Any idea as to what I may be doing wrong?

    Hi ,
    It looks like your report column is set to display as Text. Go to "Home>Application Builder>Application #>Page #>Interactive Report Attributes" and change it to Standard report Column and you should be all set.
    Thanks,
    Manish

  • When I click on download link, Firefox don't pop-up window where i could select open with or to save file, it just pop-up window where to save, why?

    Before update, when i clicked on download link pop-up window would come up asking me if i wnat to open file with program or just save it, but after update i dont get that pop-up window, insted i get window asking me where to save it, how can i fix this problem, because i want sertain files to be opened with a program like it was before update? I have tried every solution i could find, and nothing helped. I use Firefox 16.0.2 on win7 ultimate x64bit

    Thank you, it helped alot. I found that my problem was that all programs in applications panel was set to "save file" option and when i changed them to "always ask" it was back to normal, like i used to :D many thanks

  • How do I remove download links/button redirect to accurate download

    When I go to some sites that have a download link underscored in blue or a button next to text or any other part of the page, I was able to click and download the file. When you point at the link or button you would see the path it will take to download the file. It would have the website name your visiting plus other codes.
    But on returning to these sites, when I choose what I want to download, the link or button wants to go to accuratedownload.com. It presents the name of the item I want and with a .EXE extension. My main browser is Firefox version 26.0 on my XP PC. I test Internet Explorer and it produces the same results. Something has changed. I go to the site on my mobile phone, I am able to download the file from the same site and the links/buttons are not embedded with codes to go to accuratedownload.com. I do not know what to call this problem since I had no luck in finding solutions to redirection being embedded in a link or button on a web page that worked fine.
    I've tried a reset Firefox, my profile, running Symantec Anti-Virus, Malwarebytes Anit-Malware, Clearing history and so on. The problem still occurs. Need Help.
    Note: It would be nice if when the Download Screen pops-up, that we could rename the download file to a name we want (Saves time). Even if you rename the file, the history should record where it came from with the original name if it needs to be downloaded again.

    To let you know, When I did a reset and restarted Fire Fox without the Add on's. I tested each user account on my PC. Each user account that used Fire Fox or Windows Explorer showed the same symtoms.
    Back to troubleshooting, I've completed a scan using Sothos Free Virus Removal Tool. After a lengthy scan of every drive, partition, USB Thumb Drive and so on that it found, in about 5.5 hours it found Mal/FakeAvCn-C, Mal/JavDlEx-A and CXmal/BadLnk-A and continued by clicking the Clean Up button and that took about 15 minutes for some reason. Then it asked to send the log to Sophos. I clicked send and it failed to get to them.
    I tried going on the internet to test the cleanup by clicking on some links and buttons. I could not get on the internet. I found that the NIC card was not working. Don't know why now but probably was affected by the scan. I found myself troubleshooting and reinstalling NIC drivers several times before the NIC card started to run correctly.
    I read you post and tried to change the proxy settings in Fire Fox to "No Proxy." The scan, clean up and proxy settings change did not remove the embedded paths in links or buttons that allow you to download or be sent to the intended location. It still had paths to accuratedownload.com and eachdownload.com.
    Question: By default is the proxy setting suppose to be "Use system proxy settings"? Should I put this back to this setting.
    Windows Explorer has the same problem. Is Fire Fox a stand alone product or does it build parts of itself using Windows Explorer?
    =========
    Besides the scans and removal done to the registry, the scans it did on the files and folders, the Sophos log shows the virus attached to files in Documents and Folders, All Users (and other user accounts), Application and data folders, Java and Cache, including any shortcuts and long cryptic files like (pg42l784fcuo452hsb6cfbkoke045p75f2e02887m).
    When programs fail to delete or cleanup after themselves, what locations can be safely deleted manually?

  • How do I create a downloadable link from an Interactive PDF file created out of InDesign CS6?

    Hello,
    I created an Interactive PDF file out of InDesign and would like to make the large file a downloadable link and share it with the user in an email. I do not want to use DropBox or GoogleDrive.
    The company I contract for has their own site - do I insert the file into the site or can I create a separate link for it?
    I will be recreating these presentation PDF's constantly, so I would like to know if there is a simple way to create this link for files in the size of 7-12MB.
    Any ideas on downloadable links? I do have flash - but rarely use, perhaps load the file out of flash?
    Thank you so much for your help,
    Megan

    Hi Willie,
    Thanks for your help. Most likely contact the company who maintains the
    site then to share the file with them I'm assuming?

  • Creating a file download link on jsp

    I have the following on my jsp. The code worked fine until I tried to use it in a new html design page.
    <code>
    //page name is index.jsp
    try //DISPLAY THE CONTENTS OF THE DATA DIRECTORY
    File dirname = new File(PATH); // create an instance of the File class
    if (dirname.exists()&&dirname.isDirectory())//check to see if File class dirname exists and is valid
    String [] allfiles = dirname.list();//create an array of files in the dirname File class
              for (int i=0; i< allfiles.length; i+=2)//loop through allfiles[] and print out file links
    out.println("<br><table border='1' cellspacing='1' width='99%'>");
                   out.println("<tr><td width='50%' class='pageFont'><input type='checkbox' name='cb' value='"+allfiles[i]+"'>"+allfiles[i]+"      ");
    %>
    <a class="a" href="index.jsp?downfile=C:\\data\\<%=allfiles[i+1]%>">DOWNLOAD</a></td>
    <% if(i+1 < allfiles.length)//PRINTS OUT THE SECOND TD SO THAT WE HAVE 2 COLUMNS OF LINKS
    out.println("<td width='50%' class='pageFont'><input type='checkbox' name='cb' value='"+allfiles[i+1]+"'>"+allfiles[i+1]+"      ");
    %>
    <a class="a" href="index.jsp?downfile=C:\\data\\<%=allfiles[i+1]%>">DOWNLOAD</a></td></tr>
    <%
    out.println("</form></font></table>");
    catch (IOException excep)
         out.println("An IO exception has occured.");
    </code>
    Then when clicked this code is run:
    <code>
    try{
    //CHECK TO SEE IF THE FILE HAS BEEN CLICKED TO DOWNLOAD SINGLE FILE
    if (request.getParameter("downfile") != null)
    String filePath = request.getParameter("downfile");
    File f = new File(filePath);//CREATE AN INSTANCE OF THE FILE CLASS AND POINT IT TO THE LOCATION OF THE DIRECTORY CONTAINING THE FILES
    if (f.exists() && f.canRead())
    response.setContentType ("application/octet-stream");
    response.setHeader ("Content-Disposition", "attachment;filename=\""+f.getName()+"\"");
    response.setContentLength((int) f.length());
    BufferedInputStream fileInputStream = new BufferedInputStream(new FileInputStream(f));
    int i;
    out.clearBuffer();
    while ((i = fileInputStream.read()) != -1) out.write(i);
    fileInputStream.close();
    out.flush();
    </code>
    When I click on this link I get the download dialog box. If I open it I get the following open up in notepad(the files I am trying to give download links are .txt files)
    Below is what is displayed in notepad ALL on 1 line:
    <html>
    <head>
    <LINK rel="stylesheet" ty
    That is displayed in all of the links that I click on. It is the first few lines of html code for index.jsp.
    I know this code is probably not a good way of doing what I need but I got it to work fine until the change.
    I am sure there is an easier way to code the download link without resubmitting the page.
    Thanks in advance!!

    Well all was fine with this jsp until I moved it to ApacheJServ. Now the problem has resurfaced(although it is a little different now)
    I had moved the following code to the top of my page:
    //CHECK TO SEE IF EITHER DOWNFILE OR ZIPFILE VARIABLE EXIST, AND IF THEY DO SET CONTENT TYPE BEFORE SENDING ANY HTML CODE TO THE BROWSER
    try{
    //CHECK TO SEE IF THE FILE HAS BEEN CLICKED TO DOWNLOAD SINGLE FILE
        if (request.getParameter("downfile") != null)
                String filePath = request.getParameter("downfile");
                File f = new File(filePath);//CREATE AN INSTANCE OF THE FILE CLASS AND POINT IT TO THE LOCATION OF THE DIRECTORY CONTAINING THE FILES
                    if (f.exists() && f.canRead())
                        response.setContentType ("application/octet-stream");
                        response.setHeader ("Content-Disposition", "attachment;filename=\""+f.getName()+"\"");
                        response.setContentLength((int) f.length());
                        BufferedInputStream fileInputStream = new BufferedInputStream(new FileInputStream(f));
                        int i;
                        out.clearBuffer();
                        while ((i = fileInputStream.read()) != -1) out.write(i);
                            fileInputStream.close();
                            out.flush();
                            response.flushBuffer();
    catch (Exception e){}
    //This is where the java code ends and the javascript/html code begins.Then further into the page I create the file download links like so:
                            <a class="a" href="main.jsp?downfile=C:\\data\\<%=allfiles[i+1]%>">DOWNLOAD</a>I know this isnt a secure way of doing this but I am on a intranet.
    The problem I am having now is that when I click on one of the links and download the file and then open it, I get the contents of the file plus concatenated to the end of it is the first few HTML lines of the actual jsp that I downloaded the file from. Before I was just getting the first few lines of html from the jsp, not the actual contents of the downloaded file.
    This is an example of what I am getting:
    This is the contents of the file that I downloaded.//This is where the file contents ends.
    <html>
    <head>
    <LINK rel="stylesheet" type="text/css" href="default.css">
    <script language="JavaScript1.2">
    //function that allows user to select all checkboxes
    function doIt(v)
    for(var i=0;i<document.form1.cb.length;i++)
       document.form1.cb.checked=eval(v);
    function swap(imageName,image)
    imageName.src = "templateImages/"+image;
    function imageOver(imageSrc, imageName)
         changeImage = new Image();
         changeImage.src = imageSrc;
         document.images[imageName].src = changeImage.src;
    var hide = true;
    function hideShow( ) /
    Any morre ideas?
    TIA!
    BTW, I went to ApacheJServ because they wont let me use tomcat :(

  • The Indesign Trial, download link doesn't work

    I'm having trouble with the Indesign Trial download link, cant seem to download.
    Currently using OSX 10.9.2 and Firefox
    Have already created a creative cloud and when i click on the download 'buttom' this address comes up and firefox nor safari recognises this:
    aam://SAPCode=IDSN?productVersion=9.0?passPhrase=ZCvLf5xz89JxEbVj1VKD3pVv1BlgH8zeMqinUDuR/ FyOSXlgIcj9IsxGX+ZYYTwdouoFAPFQpvZeZDFeqdp4FdGqx3habHtIEOK92X6R09yb0EoHpSJKhWuhD9UWZsIUnv+ kc+u4n0Gh9zJQnedPz76pjcZNKo3f6f0E1RIa1vQ=
    If someone can point me in the right direction it would be a great help
    Thanks

    The information in this Adobe link may help you:
    http://helpx.adobe.com/creative-suite/kb/download-install-trials.html?t2

  • How to add a download link in a report directed by a navigation link?

    I have searched the net but could not find the solution.
    I added a link in a dashboard page. The link is connected to a request. When the link is clicked, the page goes to a report, which is not placed in a section region.
    Now, how to configure the report so that a download link is displayed right under the navigated report?
    I know that if a report is placed under a section in a dashboard design page, use the "Request Link..." to add the download link. But such a "Request Link..." feature is not available for a navigate-link directed report.
    Many thanks in advance.
    Quin

    I haven't seen this done, but it may be possible. As a workaround why not create a new hidden dashboard page and put your request on that page with the appropriate 'Download' report link?

  • S David I have 2 licens for cs5.5 and have serial number . I cancelled if from my computer (windows 8 operation system)  i just purchased a mac i mak all in one computer and want to install my cs5.5 on it ... i need a download link to do this can you help

    I have 2 license for cs5.5    I am using one on my Windows 8 operating system... the other I cancelled and want to put it on a new apple operating system  /... can you give me the link to down it to my new apple all in one computer???  Please HELP>  send download link or call me 2 850.501.1499   mor send seperate e-mail  to   [email protected] THANKS   DAVID

    Hi David,
    I would like to inform you that if you have a Mac serial number with you, only then you would be able to activate it on your Mac machine.
    Here is the download link for the same.
    Adobe CS5.5
    Thanks,
    Atul Saini

  • I bought Adobe Dreamweaver CS5.5 in 2012, computer crashed and need a download link to install on new computer

    I need a download link for Adobe Dreamweaver CS5.5. My old computer died and I need to install on my new computer. I have looked everywhere but can only find current versions. Does anyone have a download link to DW CS5.5?
    Thanks

    Download CS5.5 products

  • Purchased CS5.5 looking for download link

    I purchased Adobe Creative Suite Master Collection 5.5 through College, but now that version 5.6  is available the download link for 5.5 is nowhere to be found.  I need a lead on where to find a download link for version 5.5

    Check this link:- http://forums.adobe.com/message/4382508

  • Windows Vista, 7 and 8 ISO / Image file Download Links

    Series: How to Re-Install Windows when you don't have the Recovery Discs
    Intro: What is an ISO? Why is it used? 
    Step 1 - Get the ISO - ISO Download Links
    Step 2 - Burn the ISO to a DVD or USB   
    Step 3 - What to do with the ISO DVD/USB? Change the Boot Order  
    Step 4 - What to do After Windows is Installed? How to Get HP Drivers?    
    Step 1 - Get the ISO - ISO Download Links
    First, look at the Product Key label on the bottom of the computer and make sure you can still read it, before proceeding.
    How is this legal?   As long as you have the Product Key (from the bottom of a computer you paid for) for the corresponding version of Windows you download, it is perfectly legitimate and legal.
    The ISO Links: 
    Windows Vista SP1  32 & 64-bit
    *****With that link, you will have to combine the three files into an Image file (aka ISO) first (How to create an image file from files/folders) , using a program like ImgBurn.*****
    Windows 7 32 & 64-bit
    Windows 8 32 & 64-bit
    See Step 2 - Burn the ISO to a DVD or USB
    If you have any questions, create a new post (How to Create a New Post - Video), copy and paste it's link into a private message to me, and I will respond on your thread

    You shouldn't need to edit any of the files. The Windows 7 ISO is a retail, untouched version. It doesn't have a Product Key embedded into it.
    You should be able to use a Windows 7 Product Key from the label on the bottom of the computer with no issues. The installation will ask you for a Windows 7 Product Key. The only exception would be if the Product Key were in use on a different computer. From my understanding, as long as it is not already in use, it should activate.
    Please let me know if you have any questions on that

  • After updating to V 15.0 I have the issue that suddenly many but not all of the functions do not work anymore. Menues and download links do not work.

    I have updated my firefox to version 15.0. After this I have the effect that at some unspecified time during use many of the functions stop working. Menu's do not open, download links do not work anymore and so on. Opening new tab's or windows still works. Links on pages partly work partly not. Copy and paste does not work anymore on webpages. It takes ending the firefox process and restarting to correct the issue until it happens again. I have those effects on totally different webpages. At this time it happens every time after I start Firefox but not right away. Firefox first works for some time and then it suddenly doesn't anymore without me having done anything special

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for

  • 2011 mac mini admin problem

    i have bought a mac mini 2011 and have all my passwords from previous  owner but after rebooting it ive lost all my permissions,my system preferences wont open ,it trys to but immediately shuts down,i cant sign in to my apple id or i tunes.i have a i

  • System wide Keyboard shortcuts in Full Screen Apps

    As a new ibook user I am trying to figure out how to make the best use of my system, and have run into a problem: When running full screen applicationsn (like games), system wide keyboard shortcuts don't seem to behave as expected: they simply don't

  • Returning mac with dead pixel

    Hello, A few months ago I purchased a MacBook Pro and after a few days noticed what I thought was a dead pixel on the screen. After ringing apple Care they advised me to return the item to where I bought it (Amazon) as the problem had occurred so soo

  • Videos take forever to load

    Why does it take so long for videos to load on my macbook?  what can I do to speed the process up?

  • EP 2004 to Web Dynpro 2004s

    I'm having an issue with accessing NW2004s Web Dynpro content from a NW2004 portal. I'm getting this exception when I try to run the iView:   javax.naming.NoInitialContextException: Cannot instantiate class: com.sapportals.portal.prt.registry.PortalR