Download Mask/Filter for BLOB
Hi,
I use APEX: 4.2.
I have got a problem to display the Download link (button) in a classic report to open the uploaded file. I have got two columns in the report: FILENAME and ATTACHMENT. The second is the BLOB type column in my table.
My Report query is: select FILENAME, ATTACHMENT from QTMT_TICKETS where TICKET_ID = :P10_TICKET_ID The report display the name of the uploaded file and the second column display: [datatype].
I added a Mask/Filter to the second column in my report: DOWNLOAD:QTMT_TICKETS:ATTACHMENT:TICKET_ID::MIMETYPE:FILENAME:ATTACH_LAST_UPDATE::Attachment:Download But then I got error: report error: ORA-01403: no data found , the Column Attributes is set to: Standard Report Column.
The upload looks good. I got populated in my table all four mandatory fields for the BLOB (ATTACHMENT, MIMETYPE, FILENAME, ATTACH_LAST_UPDATE).
Could you please let me know what I do wrong?
Thank you and best regards,
Vladimir
Vladimir Bartos wrote:
I have got a problem to display the Download link (button) in a classic report to open the uploaded file. I have got two columns in the report: FILENAME and ATTACHMENT. The second is the BLOB type column in my table.
My Report query is: select FILENAME, ATTACHMENT from QTMT_TICKETS where TICKET_ID = :P10_TICKET_ID
As described in the documentation, the download link column in the report must provide the length of the BLOB:
>
To facilitate the inclusion of a download link in a report, the report includes the selection of the length of the BLOB (for example, dbms_lob.getlength(RESUME)). If the length is 0, the BLOB is NULL and no download link is displayed.
>
The report query should therefore be something like:
select FILENAME, dbms_lob.getlength(ATTACHMENT) attachment from QTMT_TICKETS where TICKET_ID = :P10_TICKET_ID
Similar Messages
-
Hi friends,
I am trying to apply USM filter on the image (taking from the server). but i am not getting any help in apple document. I searched in google and i got GPUIimage and imagemagick open source library. but in imagemagick it seems USM filter is not working and in GPUIimage, i am not getting how it will take image as input which i am taking from the server .
please guide me.
ThanksI got the solution "ImageMagic" updated one and it is working fine . For unsharp mask please go through the user guide .
Thanks -
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 AMGood 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. -
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. -
how to install plugin and exta filter in photoshop cs ? and any special filter for special effects ?
kindly recommend me any best one and tel me step by step how i will add more plugins n filtersA Plug_in normally come with an installer or install instructions. Check the documentation for the plug-in you trying to install. It sounds like you don't know what plug-ins you want to install. In that case you don't need to install any. At some point you may read about a plug-in and what it can do and feel you have a need for it. Then you will have a reason to install a plug-in that is not installed by default. There may also be a cost involved most worthwhile plug-ins are not free.
Adobe Optional Plug_ins downloads are Plugins Adobe want to remove from Photoshop and no longer install by default. Also at some point in time these will no longer install into the current Photoshop for Adobe will remove feature or interfaces the use. For example the CS5 optional plugins will install in Windows CS6 perpetual version 13.0.1.3 but not in Subscription version 13.1.2 or perpetual Mac version 13.0.6 fot its 64bit only and the Mac CS5 optional plug-in for Picture package is only a 32bit plug-in.
You will need to keep and maintain old versions of Photoshop if Adobe remove features you use in new versions of Photoshop. -
Initial download taking time for CTParts in syclo inventory manager 3.2
Hi All,
While doing the Initial download in syclo inventory manager 3.2 we have observed that it is taking a lot of time for fetching the data from the complex table CTParts.
In agentry diagram CTParts complex table is showing nine fields, out of this nine fields few fields like UOM, BatchIndicator etc does not have any dependency.So can i delete those fields?
If yes, what will be the impact on application after deleting those fields .
Thanks for your help
-Garima
Tags edited by: Michael ApplebyGarima,
You need to analyze couple of things before making any program changes:-
a) Can you check if you have set filter for ctparts MDO object in SAP ? if MDO filter for plant points to user parameter "WRK' , look at value of WRK in SU3. Make sure that you have plant value maintained for WRK parameter.
b) if indeed WRK value is maintained then go to MARC and check the number of materials that exists for WRK plant. if it is too many then do you really all those materials downloaded to Mobile device ? check if you can maintain other filters values to restrict material records downloaded like material type , material group etc.
c) Check the point of bottlecheck a) whether it takes more time to execute query in SAP . b) whether it takes time to transfer data from SAP to Java layer. if so try to increase Java heap size.
d) Also look at MDO field selections for ctparts in SAP. Only select fields that you want to do.
e) Did you create additional indexes for ctparts complex table ?
f) Finally if nothing works then look at option of replacing output structure in BAPI which return CTparts with Z structure with only required 9 fields which also requires Z Java code changes for ctparts complex table.
Thanks
Manju. -
Where can I find OIL PAINT filter for CC 2014?
Does anyone know if there's a downloadable OIL PAINT filter for Photoshop CC2014 since they took away that filter from the 2014 version? Is there a way to get the filter without going back to the previous version?
It was removed, you can only use it in the previous version: Photoshop: Spring Cleaning | PHOTOSHOP.COM BLOG
-
Where can I get Oil Paint filter for Pixel Bender?
Hi, I had to reinstall my CS4 after a system disk crash, and now I cannot find free Oil Paint filter for Pixel Bender plugin. It is not included in a new version of the plugin available for download. Where can I download the old version or only the Oil Paint filter file to restore my working software configuration? (Photoshop Extended CS4, 64-bit)
It was removed, you can only use it in the previous version: Photoshop: Spring Cleaning | PHOTOSHOP.COM BLOG
-
I purchased two tv shows on my new ATV2, but they do not show up in iTunes on my computer. Was hoping to download to ipad2 for travel. Help!?.
Welcome to the Apple Community.
Have you tried the 'Purchased' option in the top right corner of the Store window in iTunes -
Downloaded new iOS for iPhone 5. Now the handset is running hot, keeps freezing on different screens, won't charge on official charger ( only charges on crap poundland one) and battery is loosing 1% every two minutes! I've closed all apps and reset the complete phone but no luck. Any one know what else I can try apart from a new phone?
I have done a factory reset at 45% battery. After the reset it's still hot and at 35% now
-
please can anyone help me to download some apps for my iphone .. i am simply not able to log in to the itunes store , when i enter my apple id it says that it has not yet been used with the itunes store
Ok, you should generally only get this when you are converting your ID to an iTS account for the first time.
Sign into iTunes with your Apple ID and you should get this.... IRC once you agree or accept it's now an iTS account and you wont get that again. -
I cant download itunes programme for my samsung rv510 laptop, it says error occurs after I try to instal the 10.7 version? What do I need to do?
.dmg.part is not a complete file.. It usually indicates that the entire file has not been downloaded yet. Are you sure you downloaded the entire file? (i recommend updating itunes through > Software Update
Alternatively, you can download it from here: http://support.apple.com/kb/DL1614 -
Why can't I update my iPhone 4 to iOS 5.1? Every time I try it gets all the way done downloading it; however when it's processing the file the page tells me "There is a problem downloading the software for the iPhone. Network connection timed out. Make sure your network settings are correct and your network connection is active. or try again later." and next to the file it has err = -3259. I have tried this 17 times and it won't work. My iTunes is completely up to date. I have made sure that my connection is fine and I have tried turning my firewall off with no avail. This has happened to me before but usually the update will go through after 2-3 tries, never to this extent. I don't know what to do. Help!
Error -3259 is a network timeout error, usually. This article might help:
http://support.apple.com/kb/TS2799 -
I have an old iPhone 3Gs with software version 4.3.5, I am trying to use it again, and it works fine, but I have not been able to update the software. Every time I try, I get the following message:
"there was a problem downloading the software for the iPhone, the network connection could not be established". This happens even though I have a working internet connection.
Besides that, all the other functions work properly, even synchronize apps and library.
Will I be able to update the software?look around the forum tons of people repport that they can't update
makes you suspect that apples update servers can't meet the depand of too many users
trying to update at once -
I am trying to download my paid for Elements 13 upgrade. When I click on the "download" button, I receive this message: 413 Header Length too Large. Help?
You can download using direct download link , which I had provided.
Download Photoshop Elements products | 13, 12, 11, 10
During installation , when prompted enter serial number and proceed with the installation .
If you had purchased upgrade serial number.
First enter Photoshop Elements 13 serial number .
Then it will ask for previous qualifying version serial number.
From the drop down list , select Photoshop Elements 12 and then enter Photoshop Elements 12 serial number
Maybe you are looking for
-
Good afternoon, my name is mike Perreault , on 9-28-13 I looked for a free music app., I don't know what happen but my credit card was charged $20.20, please tell me why and credit my acc. Because I didn't purchase anything from iTunes . Sincerely ,
-
Create idoc and send the purchase order
Hi all, In transaction code ME22N when the items in PO is changed then it should make delivery zero and in another system another delivery should be created that should be done via IDOC... so please help me in finding BAPI or FM to send IDOC to anoth
-
Visited Links color in DRW menu
Hey there, I placed horizontal menu using spry menus from DRW CS3. I had to change the colors to correspond the website. I made the background green and the text(links) in the menu and submenu items - white. In all browsers and computers i had in hom
-
HI All I have to copy several payment terms from one sap system to another sap system ...is there any automated way of doing this? Thanks in advance
-
Memory between global and non-global
Hi, I've a Solaris 10 with a Solaris 8 brand zone. from global zone I run prstat -Z and see: ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE +11 463 2639M 1908M *23%* 317:19:31 27% MyZone+ +0 55 109M 112M 1.4% 289:12:4