Re: Problem providing download link for BLOB data in apex report

Hi Don,
Your solution below worked but in the download option i only see save but not open for PDf file in the blob. Please let me know if you have any suggestion to achieve it
Thanks
Jo
Problem providing download link for BLOB data in apex report 
591953 Nov 19, 2008 1:55 PM (in response to 660436)
Currently Being Moderated
Good morning,
Here is how I have solved this problem.
1. The select statement in the sql for the report should not include the BLOB column. I decided to select only 2 columns, the column that has the key and the column with the filename.
2. On the first column ( the primary key ) I put in the format statement that was simply DOWNLOAD:TABLENAME:BLOB_COLUMN:PRIMARY_KEY
This works. I believe that the Oracle error I was getting was because I was trying to apply this format statement to the actual BLOB column.
So, it appears that you can use any of the columns in the report to hold the DOWNLOAD format statement since in the format statement, you are defining the BLOB table, BLOB column and the primary key into that column.
Hope this helps,
Don.

Branched out from a years old thread.
user3003326 Don't post to old threads, please.

Similar Messages

  • Problem providing download link for BLOB data in apex report

    Hi,
    I am trying to create a report on a table with BLOB data so that the report displays a "download" link for the BLOB data. I am trying to give users the ability to download files from a website.
    I have been following the instructions in OBE "Defining and Viewing BLOB Data in Oracle Application Express 3.1".
    In the report, for the BLOB column, I have specified values for the following fields in Report Attributes->Column Formatting->Number/Date Format->BLOB Download Format Mask:
    BLOB Table
    BLOB Column
    Primary Key Column 1
    MIME Type Column
    Filename Column
    BLOB Last Updated Column
    However, when I run the report, I get the following error, even thought there is data loaded into the table:
    report error:
    ORA-01403: no data found
    When I remove the BLOB Download Format Mask information for the BLOB column, then the data displays in the report, but without the "download" link for the BLOB data (which is expected):
    E.g.
    Title Author Created BLOB_CONTENT
    Siebel & RAC Best Practices     Erik.Peterson     17-SEP-08     [datatype]
    Siebel Grid Case Studies     Mark.MacDonald     17-SEP-08     [datatype]
    Siebel CRM Applications protected by Oracle Clusterware     Kelly.Tan     17-SEP-08 [datatype]
    Oracle Grid: The Optimal Platform for Siebel Solutions Mark.MacDonald 17-SEP-08     [datatype]
    Any ideas why I'm seeing the ORA_01403 when I specify the BLOB Download Format Mask?
    Edited by: user716599 on Sep 18, 2008 12:31 AM

    Good morning,
    Here is how I have solved this problem.
    1. The select statement in the sql for the report should not include the BLOB column. I decided to select only 2 columns, the column that has the key and the column with the filename.
    2. On the first column ( the primary key ) I put in the format statement that was simply DOWNLOAD:TABLENAME:BLOB_COLUMN:PRIMARY_KEY
    This works. I believe that the Oracle error I was getting was because I was trying to apply this format statement to the actual BLOB column.
    So, it appears that you can use any of the columns in the report to hold the DOWNLOAD format statement since in the format statement, you are defining the BLOB table, BLOB column and the primary key into that column.
    Hope this helps,
    Don.

  • Provide download link for photoshop CS4

    provide download link for photoshop CS4

    http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html
    be sure to follow the "Very Important Instructions" section to avoid errors trying to start the download.

  • Problem with download link for a BLOB Column in a "Classic report"

    I am having a problem where I cannot make a download link for a blob column function in a "classic" (non-interactive) report. I went through the tutorial on this topic and it was great help it working out the minor bugs, but I get a 404 error (apex_util.get_BLOB not found). For testing purposes I went ahead and created a an identical report on the same page that is an "Interactive report" and it works like a charm. Same query, same BLOB formatting Mask, pulling data from the same table. So, it really doesn't seem like an issue with the grants, since both reports should be executing as the same user.
    I know it sounds like the obvious answer is to just go with the interactive report and my problem is solved, but the rest of this site uses classic reports, and I don't need the sort features of an interactive report, and the slightly different style of the the report really stands out even if I turn off all the bells and whistles. I don't want to change the css to make them look identical, I just want a regular report to work.

    I eventually found another post: APEX_UTIL.GET_BLOB was not found on this server
    In this post there is the suggestion of putting "dbms_lob.getlength("var")" after the date field in your select. So I changed my query to have it at the end, and now my format mask (DOWNLOAD:table_name:ATTACHED_FILE:FILE_ID::FILE_MIME_TYPE:FILE_NAME:::attachment:Download) works like a charm, in a classic report.

  • Download link for Blob content

    Hi all,
    I am using file browse page item to upload a blob data. Here i am able to successfully add the blob data into table name. My question is how should i have a download_link under the file browse page item to download the bob data. I am using apex 4.0.
    Note: In file_browse page item i had set
    "Storage Type"=Blob column specified in item source attribute;
    "MIME Type Column"=MIMETYPE;
    "Filename Column"=FILENAME;
    "Display Download Link"=NO
    Thank for help!

    apexlearner wrote:
    Hi all,
    I am using file browse page item to upload a blob data. Here i am able to successfully add the blob data into table name. My question is how should i have a download_link under the file browse page item to download the bob data. I am using apex 4.0.
    Note: In file_browse page item i had set
    "Storage Type"=Blob column specified in item source attribute;
    "MIME Type Column"=MIMETYPE;
    "Filename Column"=FILENAME;
    "Display Download Link"=NOBit of a clue there I would have thought? The online help for the Display Download Link setting says:
    >
    Should the download link be displayed next to the "Browse" button? The download link will only be visible if the BLOB column really contains content.
    >
    To get the link to appear under the item instead of alongside, add the following to the page HTML Header:
    <style type="text/css">
    #P6_PRODUCT_IMAGE+a {
      display: block;
    </style>Where <tt>P6_PRODUCT_IMAGE</tt> is the name of the file browse item.

  • Download link for blob field on page

    I have a form based on table with a blob column:
    TEMPLATE blob
    The 'Display as' on the item is set to 'File Browse...'
    The Source Type is set to 'Database Column' and Source value or Expression is set to 'TEMPLATE'
    I want the 'Download' link to appear next to the 'Browse' button, so I tried to change the Source value to
    'TEMPLATE::::', but it gives me this when I try to save:
    1 error has occurred
    ""."TEMPLATE" not found.
    How canI get the 'Download' link to appear?

    bobmagan,
    Thanks for importing your app. Sorry for the late reply. Here's what I've found:
    For some reason this download link seems to be tied to the TABLE NAME specified in an Automatic Row Processing process. I created an ARP to process the row instead of using the custom procedure that you wrote to process the record. I specified all the normal stuff in the ARP (i.e., TABLE_NAME, PRIMARY_KEY). After the process was created, I modified the TEMPLATE item source to TEMPLATE:::: w/o error and the download link appeared fine.
    To further test, I then went back the ARP and changed the table name to lower case, edited the TEMPLATE item again, and got the following error:
    *"report_layout"."TEMPLATE" not found.*
    When you use DATABASE COLUMN as the source type for the item, it must be using the table_name in the ARP to identify the column being referenced.
    This may a good question for the APEX developers. They could probably shed more light on this.
    All in all, the workaround I found is to create the ARP and set it's condition to NEVER so that it never runs. You can still use your custom process to insert/update/delete the record. Then you can edit the item, add the TEMPLATE::::, and get the download link to appear. I left the solution up and running in your app for you to see.
    Sorry for all the confusion, but I hope this helps you out.
    Let me know what you think...
    Keith Malay
    www.sds-cg.com

  • Please provide a download link for elements 8 for mac osx 10.4

    Please post a download link for photoshop elements 8.  We have the media on DVD, and the license, but are unable to access the DVD and would like to download it, and then register our license. Thanks.

    I am not sure about whether you can download the 8 version from any of the Adobe sites. I'd suggest contacting customer support. (http://www.adobe.com/aboutadobe/contact.html). You can call customer support or wait for the chat window to appear using which you can resolve your problem.

  • IBN live app download link for C6-01?

    Anyone from INDIA who can give of a download link for IBNlive mobile app link? It had been installed by default and I accidentally removed it. Visiting Nokia store does not have this app anymore. I did visit m.IBNlive.com/app . This directs me to Nokia store which in turn states the app is currently not available. The problem seems to be with belle. It is wellknown that the said app works well with belle, but it has been removed from store for belle. If you select Anna as your OS it available download. Can Anyone provide me an external link for this app?
    In Love With My C6-01:Now running on Nokia Belle!
    Solved!
    Go to Solution.

    Upon N8 Belle it only works in "Portrait mode" and you have to longpress upon Menu key to reveal open applications to close as "Exit" button doesn't work, which maybe sufficient reason to warrant not being made available to Symbian Belle devices!
    Happy to have helped forum with a Support Ratio = 42.5

  • Download Link for Blackberry Messenger version 5.0.0.57?

    Blackberry Pearl 8120 
    The BBM icon has disappeared from my device.   BBM still shows up on the list of applications.  The ICON does NOT show up when all icons are shown, and is not hidden.  BBM is not running in the list of running applications.   Many support board posts indicate to download and re-install the application.   I have had problems with newer versions of BBM, and would like to re-install THIS version, because I know it works.  
    Where can I get the download link for version 5.0.0.57 of BBM?

    I don't know where you can get that 5.0.0.57 version.
    Are you SURE you've looked in ALL folders, Download, Applicatons, Instant Mesages, etc.?
    The only download link I know of (other than AppWorld) is www.blackberry.com/messenger
    Good luck.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Where is the download link for TCS5?

    How do I download TCS5? I cannot find the download link for TCS5 even though I've paid for it.

    I know this sounds like a dumb question ("How do I download...?") but I tried every possible online alternative for subscription downloading the TCS5 for almost 24 hours without success. The subscription download link does not exist anywhere on the Adobe site, despite impressions to the contrary. At the end a kind and patient soul from Customer Service (Anvinder, thank you!) sent me two separate links for two different set-up packages (a .7z package and an .exe package), I saved them on my desktop and then clicked the .EXE file and installed the suite. Actually it turns out the reason I could not download the Suite was because I was clicking on the obvious DOWNLOAD button hehhehhe!. The customer rep specifically told me NOT to click the download button and instead directly go to the URLs that he kindly provided! It was an adventure but at the end I am happy that I could download it since I love TCS. I have no idea why Adobe makes it this hard to download TCS. I wish someone looked into this aggravating problem and the whole download interface. Please test your interface because it is well-designed, looks good, and it "looks" as though it should be working etc. but actually it does not.

  • Funtional download link for Creative Suite Standard CS6 Mac Os

    Please provide me with a function download linke for Creative Suite Design Standard 6. The provided download link from this site https://helpx.adobe.com/de/x-productkb/policy-pricing/cs6-product-downloads.html does not work. I always get a "permission denied" error when I try to download the install file for mac.

    You don't have permission to access "http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS16.dmg?" on this server.
    Reference #18.a7d81002.1425211646.439bcb13
    Unfortunately the same thing

  • Need download link for WRT350N firmware

    I have been looking for the latest official firmware for the WRT350N, but when I go to Linksys's official page located here:
    http://support.linksys.com/en-us/support/routers/WRT350N
    There is no official download link for any model there.
    Is there anyone that has the latest firmware or could provide me a download link?
    Any reason why they are no longer listed on the site?

    Try requesting the firmware in link below. I suppose you can even try to request the firmware from Cisco. It was never clear to me whether or not WRT350N was a linksys product or a Cisco business product.. Can't hurt to try both places. I used to have the latest firmware for the WRT350N on my hard driver, but is so old, I no longer have it.
    http://support.linksys.com/en-us/gplcodecenter

  • Download link for Photoshop 7.0?

    Hello,
    My old computer with Windows XP is no longer supported where I attend University, so I can't use it any longer.
    I have a new laptop with Windows 7, and want to transfer my old programmes over to the new laptop, but the people in customer service are telling me that they have no record of a download link for Photoshop 7, and that I should come here and ask (I don't know what that would accomplish, but here I am).
    If you're sensing anger and annoyance, then you would be correct.  ALL I have is the 20-digit serial key I was given when I registered the product, and now they're telling me it should be 24.  What am I supposed to do with that information?  I can't pull 4 random digits out of my butt.
    I have no idea what to do.  I guess if someone here knows where I can download this product again, that would be good, but I just don't see where anyone will know that information.
    So srry for the intrusion.

    The problem with - and I have to say it - such an old product, is no one here is going to know how to help you, so we are kind of peeing in the wind looking for possible, albeit unlikely to actually succeed, solutions. You've even been given advice from a Senior Computer Scientist from the Product team.
    You have reminded us that the product is registered, but apparently the full serial number is not there in your Adobe account?
    The bottom line here is that PS7 has not been supported for many years, just like Windows XP is now no longer supported, and there's not a thing you can do about it other than use it on your old box.  Prefereably without an internet connection.
    But there are so many options nowadays that range from completely free to hardly any money at all, and are way better than PS7.  The Gimp is not going to be hard to learn because it is similar to Photoshop, and there are tons of video tutorials for it.
    http://www.gimp.org/

  • Where is the download link for SCEP Client Offline installer for x86 & x64 altest greatest version (4.6.305 as of today)

    Where is the download link for SCEP Client Offline installer for x86 & x64 latest greatest version (4.6.305 as of today)?
    The answer IS NOT IT AND NEVER WILL BE "DOES NOT EXIST"!!!!!! MUST NEVER NEED TO RUN UPDATES TO GET IT!!!!!!!!! THE ONLY ACCEPTABLE ANSWER IS THE LINK!!!!! DUH GET YOUR ACT IN GEAR MS!!!!!!!!!!
    Ralph

    Thanks to all for the information. I work in higher ed. We have SCCM latest version, fully licensed. Unfortunately the individual who manages the SC does not have a clue as to where to find the SCEP installer. I sent him links from MS that shows him where
    it is supposed to be. The version he say's is on our SC Management server is 4.3. I, in the past, was able to get 4.5 independent of him and it has been working well for me but it is time to use the latest greatest version instead. I should just as easily
    be able to get 4.6. As far as licensing goes, if the product was correctly designed it should just work itself out just like it does for the 4.5 version I was able to easily find and download.
    As for the link given by KevinMJohnston, thanks by the way, its the closest I have come to getting what I need but all I get is a spinning wheel in Firefox, the only browser one should ever need. In IE I get prompted for an email address, which it should
    NEVER EVER DO!!!!!!!!!! I did give them my address, but alas, after waiting over 30 mins. I still don't have a link to the update or the CU4 Config MGR update mentioned. (Another reason I am not very nice to MS, along with, see below...) Please send me the
    link that they are suppose to send me in the email.
    As for the intensity of the request it comes from not being able to find the update on my own. (Amongst a million other complaints as MS makes my job harder and harder, just think of all the lost productivity and extra repair efforts needed because MS stopped
    allowing you to do upgrade/repair installs from the install discs. You have to have a working OS to do it, or you will lose your settings etc and will have to re-install all of your software etc. How STUPID IS THAT! Can't use it to fix a blown driver or BSOD
    problem like you could in XP.  There is no excuse for that, I know better. So you can see why I have nothing good to say about MS etc etc.) There is no excuse for that! If the MS updater has it available then IT MUST BE MADE AVAILABLE FOR STANDALONE DOWNLOAD
    PERIOD. That goes for ALL updates PERIOD.  I use these updates and many others etc so that once I seal an image for a PC it has the latest greatest version of everything. It is quicker to get it stand alone in advance and installing than waiting for MS
    updates to do so. Also I prefer to config my images so that the Av installs after first boot. These are cloned PCs. Many of these PC are used in labs and are frozen. Here, the settings for the SCEP AV being pushed from above can cause major problems for the
    users i.e. the scheduled scan feature. If it is on when students are taking tests and they take more than 5 or 10 mins on question MS is stupid enough to start scanning causing the system to become unresponsive. This has caused students to breakdown in tears
    thinking the system is hosed and they just lost their tests. I have to do some creative reg hack, setting owner as "Guest", a disabled account, etc. to keep these settings from being changed. (Our SC managers push policies that work for the faculty
    but break the lab systems which are frozen, so I have to out hack them, should not be, but it is, we are trying to get that fixed, but bureaucracy and people afraid to share power etc makes it hard.)  These settings unfortunately will prevent the AV from
    installing so I need to be able to manually do it after I have set the reg to allow it.  And I could go on. Who knows when or why someone may need to do a manual update of something. I just had 3 systems fail 12 updates, yet when I manually downloaded
    them and installed them they ALL installed without failure. I did NOTHING in between the auto update and the manual, yet it was the manual way that worked. Maybe if MS could fix those kind of issues then no one would need to get stand alone update files.)
    That is not for MS to worry about. It is, however, their responsibility to make it so that I can choose what will work best for my environment, which only I could know. DUH. I have had issues in the past with MS AV and other brands being installed before "sealing"
    the images. etc. etc. etc.
    As you can see, there is not enough space on the world wide web to list all thousands of legitimate reasons to give Microsoft a hard time so I will do so on a case by case bases knowing I am probably spitting in to the wind, but hey somebody has to have
    the guts to do it. MS MUST NEVER BE ALLOWED TO SIMPLY GET AWAY WITH IT! They Must be called to the proverbial carpet.
    Maybe if people who are MVPs would not be afraid to join the choruses they would be embarrassed, (though it should be done out of moral obligation not embarrassment), enough to fix these obviously fixable problems etc. etc. etc. I have over 30 years in the
    IT business, the IBM XT did not exist until my senior year in college. You are not going to be able to convince me that there is a legitimate reason, copy protection IS NOT IT, to prevent me from fixing blown OS via re-install using install disc when OS will
    not boot. Nor are you going to be able to find legitimate reason for the SCEP 4.6.305 update to be so hard to get.
    Thanks again for the help, still waiting for email from MS, NOT COOL MS! NO EXCUSE!!!!!
    Ralph

  • Adobe won't provide download link to CS3

    I just finished going in circles with Adobe over trying to obtain a download link for Adobe CS3 Web Premium.  My shop bought 5 licenses and now Adobe is telling me that we are out of luck and they can't provide a download link.
    There is no way I am going to suggest to my employer that we buy new licenses for any Adobe products if this is the way they reward customer loyalty.
    I kept getting referred to the forums.  They do have a link in the forums http://forums.adobe.com/message/5653271#5653271  but it doesn't work.
    Thanks a lot Adobe.  I will now have to find a way to edit old flash movies and edit graphics without spending thousands of dollars.

    Anthony Spears wrote:
    These links do not work.  I followed the instructions and I am logged on to my Adobe account
    The links work fine. I just tried them again.
    Are you sure that you followed all Steps? You have to do more than just log in to your Adobe account.
    You also have to start (Step 1) - then immediately cancel (Step 3) - a download of Acrobat Pro trial in order to set a trial cookie on your computer. That trial cookie tricks the Adobe server into giving you access to the other downloads (.e.g CS3) on the Adobe server. Without the trial cookie, you'll get the error that you're encountering.
    Then you go back to the prodesigntools page and click the CS3 download.

Maybe you are looking for