4.2 blob format mask download works not

I use Apex 4.2

I worked through the book beginning Oracle Application Express 4. In Chapter 6 the BLOB is added to a report.

I pasted the code example in the report definition (though with my own page numbers):

SELECT

'TICKET_DETAILS '. "" TICKET_DETAILS_ID ""TICKET_DETAILS_ID"

'TICKET_DETAILS '. "" TICKET_ID ""TICKET_ID. "

'TICKET_DETAILS '. "" "DETAILS",

'TICKET_DETAILS '. "" CREATED_ON ""CREATED_ON"

'TICKET_DETAILS '. "' CREATED_BY ' 'CREATED_BY."

DBMS_LOB. GetLength ("Attachment") SETTING

Of

'TICKET_DETAILS '.

WHERE (("TICKET_DETAILS". "TICKET_ID" (=: P5_TICKET_ID)) "

I go to the report attributes and click on the attachment column.  I enter the suggested format mask

DOWNLOAD: TICKET_DETAILS:ATTACHMENT:TICKET_DETAILS_ID:MIME_TYPE:FILE_NAME:inline:Download.

When I press on apply I get:

1 error has occurred

"" not found. (Go to the error)

I've confirmed that the query runs and P5_TICKET_ID are on page 5.

Do not understand what it meant, I've been tracking this page

17.10 on the BLOB Support in forms and reports

and the section "Providing a download link" seems to confirm that the above format is correct.

Pointers would be greatly appreciated.

I also did the exercises in the book, and it worked for me.

Your format mask is correct. But before pressing submit you must also enter the blob column attributes:

Format of mask (required value): DOWNLOAD

* Table (required value) of blob: TICKET_DETAILS

* (Required value) column of blob: attachment

* Primary key column 1 (required): TICKET_DETAILS_ID

Primary key column 2:

Mimetype column: MIME_TYPE

Column of file name: filename

Last update column

Character set column:

The content disposition: attachment

Download text: download

You may have forgotten who?

Tags: Database

Similar Questions

  • BLOB format masks

    All,

    I have a beast of a time trying to understand how to use blobs in a report. According to the documentation, I can select a BLOB column in a query for an interactive report and then specify a BLOB format mask, but when I do this, the column results in my report being replaced by the "No data found" message (even if I'm not change the filter options).

    My configuration:

    I have a table with report data that contains a link ID to another table with the data in the file. The report currently grabs the ID and the BLOB itself, simply because column that I am trying to understand how it works. If I do not apply a mask of the BLOB column format, it shows that "[data type not supported]. But when I specify a format mask:
    IMAGE:A103_FILES_V:FILE_DATA:FILE_ID::MIME_TYPE:FILENAME:::inline:Download
    .. Everything explodes and I get "ORA-01403: no data found. I checked the table name and the column names and that there only are data in a103_files_v to the records in the report (I even tried filtering down to a single line).

    I found Re: how to display images of the BLOB by APEX 4.0 column which talks about the use of dbms_lob.getlength (...) for the column that contains the format mask. ... This makes very little sense to me. But, still, I tried to do this, with the same result. I also tried to put the mask on the column with the ID format, but got the same behavior.

    What Miss me? Column in which the BLOB format mask lights up, and if she is not the ID, why does to the column of the file table primary key? Where to get the ID of?

    In addition, it is less useful than the sample app ducks the issue altogether by using apex_util.get_blob_file_src (...). I'm just saying.

    Thank you
    -David

    Hello
    the select statement of the EIS should look like this

    SELECT id, title DBMS_LOB. GETLENGTH (blobcol) blobcol, filename, mime_type
    FROM blobtable

    and then, when you set the format of the BLOB column (in the select statement: blobcol) report displays the download link.

    The problem is that the wizard to create the IR not looking for the TASK and change the select accordingly.

    Regards Garry

  • Apply source formatting doesn't work not as expected

    Hello!

    I currently have a very simple problem, but it's annoying for me.

    The option 'Apply source format' has stopped working for me. I mean, it works, but not entirely.

    For example, I set my preferences for the tag "div" like this:

    before line breaks, inside, after. Content formatted and indented.

    But here is the result when I try to apply:

    < div id = 'page-wrapper' >

    < div class = "container-fluid" >

    < div class = "row" >

    < div class = "col-lg-12" >

    < h1 class = "page-header" > projects and customers < / h1 >

    < / div >

    < / div >

    < / div >

    < / div >

    It is really strange. It seems to work on half of the div only.

    Can someone help me with this?

    Thank you!

    It could just be a glitch of Friday the 13th.  For what it's worth, I created a keyboard shortcut to apply shaped Source (Ctrl + Q).  It saves time and I'm not click on the wrong item by mistake.

    Nancy O.

  • Why a film F4V format won't work not but in a request HTTP and FLV format?

    Why won't run a film F4V format but and FLV format is in an HTTP request, although both work in a FILE request? (Pro, browser plugin version 11.7 CS6, and tested in IE, Firefox, Chrome and Safari)

    It is usually a problem with the mime type of the server.

  • Download Apex 4.2 - blob in report with the Format mask

    Hello

    I need a little help.

    I have a report like this:

    SELECT id, file_name, dbms_lob.getlength (blob_content)

    of blob_docs;

    The column with the dbms_lob, is defined by the format mask, as a download link, saving up the BLOB to the user of the computer.

    My problem is a bit silly, I don't want to see 'Download', but the file name of each record, such as the 'link text'... but I can't seem to achieve this goal.

    My format mask looks like:

    DOWNLOAD: BLOB_DOCS:BLOB_CONTENT:ID:MIMETYPE:FILE_NAME:LAST_UPDATE:CHARSET:Attachment: download

    I tried to use #FILE_NAME # in the field 'Text download', since it is one of the column names, but nothing helped.

    Also used & FILE_NAME. but obviously does not work and gets the text "Download".

    All I want is a report that looks like

    File1

    File2

    File3

    Instead of

    Download file1

    Download File2

    Download file3

    Does anyone know how to get there?

    Thank you!!

    jaydarp wrote:

    I need a little help.

    I have a report like this:

    SELECT id, file_name, dbms_lob.getlength (blob_content)

    of blob_docs;

    The column with the dbms_lob, is defined by the format mask, as a download link, saving up the BLOB to the user of the computer.

    My problem is a bit silly, I don't want to see 'Download', but the file name of each record, such as the 'link text'... but I can't seem to achieve this goal.

    My format mask looks like:

    DOWNLOAD: BLOB_DOCS:BLOB_CONTENT:ID:MIMETYPE:FILE_NAME:LAST_UPDATE:CHARSET:Attachment: download

    I tried to use #FILE_NAME # in the field 'Text download', since it is one of the column names, but nothing helped.

    Also used & FILE_NAME. but obviously does not work and gets the text "Download".

    All I want is a report that looks like

    File1

    File2

    File3

    Instead of

    Download of file1

    Download File2

    File3 download

    Unfortunately (and annoying), it doesn't seem possible to do using the declarative format BLOB mask. Instead, a personalized download link should be generated in the report query using the apex_util.get_blob_file_src method of the API.

  • do format mask work with either displayonly or field number

    APEX 4.0, 11g. I have a numeric field whose value 132,5 (it's a 10.2 number in the DB). I updated the Format of the element mask FML999G999G999G999G990D00 (under settings), but it is always appear as 132,5

    I changed to a displayonly type and assign to the source
    SELECT TOT_FINE_AMT
    OF CLIENT_TABLE
    WHERE XREF_NBR =: P12_XREF_NBR and the mask of format at the bottom of the Source to FML999G999G999G999G990D00 area and it is always appear 132,5

    I tried with the item number and Displayonly type and assign to the source
    Select to_number (TOT_FINE_AMT, 'FML999G999G999G999G990D00'), but in both cases, it still shows as 132,5

    of course there must be a way to make a format mask works... any ideas? (Ideally it would be a displayonly field because it is not editable, but if I can't get it to work with the type of number, it's fine too)

    Swap for to_number to_char

    Jeff

  • Mask works not properly in swf

    Hai friends,
    I'm doing a simple masking works correctly in fla, but seen in swf text that is hidden is not seen... What I did was first I wrote some text converted to a movieclip, then another layer I draw a rectangle with some color and do a right click the rectangle and hidden when seen in fla the hidden text is visible, but when converting to swf format, the text is not seen there is a problem with Flash can you help me please...

    Text is not able to be hidden by default Flash.

    You CAN do IF you embed your text (or simply break apart into vectors if she does not need to be dynamic).

    To separate - select your text and press Ctrl + B twice (Cmd + B on Mac). This will make the text vectors, thus negating the problem.

    Otherwise, you must embed the fonts in 2 ways. First of all, if you wish, you can click on the button "Embed fonts" in the properties panel and select the items to include. OR, you can go to the library drop-down menu and select "New police" - choose your font and click OK. None of these methods incorporate your policy. BUT there is one more step. You should give your text box an instanceName, go to the control panel actions and enter the following command:

    myTextBox.embedFonts = true;

    This will end the embed process to enable the hide (and changes alpha) to work for the text.

  • Bought two of the iTouch, one for my wife and one for me. In the Notes his has the "" symbol for the formatting and mine does not work. Any suggestions?

    I bought the iTouch two at a time, one for my wife and one for me. In the application 'Notes' my wife shows the symbol "+" to the formatting and mine does not work. Any suggestion.

    Could you please include screenshots of the so-called issue?

  • Real Player downloader does not work on the new update of Firefox.The realplayer downloader works on Internet Exployer.Is this a promblem Firefox or a promblem Real Player

    After installing firefox 3.6 was also asked to install flash player 10.1. Real Player Downloader would not work. Went to Internet Exployer should install Flash player 10.1 on Internet Exployer to get the Realplayer downloader to work solely on Internet Exployer. I prefer firefox to have realplayer downloader to work. I hate Internet Exployer!. This can be solved? Please, I beg you!

    See: http://real.custhelp.com/app/answers/detail/a_id/7303/p/3/c/2222/r_id/119487

    Real is always, it seems, towards the end of release updates for the new browser updates. They receive equal opportunities during the stable pre-release of Firefox and other developers to ensure that their products will work with new versions of Firefox.

    But, alas, still the same problem!

  • Download of song in MP3 of cloud but it downloads to the amz format and it does not recognize the media player. How can I down the cloud song in Media Player so that it goes to my library and plays?

    After that I chose to download for my song in the clouds and he starts the process, options for the download location include no access to the Media Player, Media Center or any other media program.  There is no media choice program in the screen "save in", only the documents and the file downloads to the amz instead of MP3 format.  Cloud does not address this issue in their help section. How correctly to download music from the clouds to a multimedia program on my PC?

    This should help you:

    http://www.ehow.com/how_6085305_windows-support-_amz-MP3-format.html

    Amazing to see what you are looking for on Google ;-))
    See you soon
    Jerry
  • Download pop3 not working/no outgoing changing the window live mail mail / my sign in keeps popping up

    I write a question on behalf of the client. Here's the problem of the customer:

    Download pop3 not working/no outgoing changing email from Windows Live Mail to live / my sign in keeps popping up even though I'm.

    Hello
    I would say to contact Windows Live support team for assistance on this issue. Also, make sure you post the exact error message and provide more information on the question for assistance.

    http://www.windowslivehelp.com/

    Suggestions for a question on the help forums
    http://support.Microsoft.com/kb/555375

  • Download does not work on windows 8

    Tired of downloading windows 8.1 yesterday that failed. Today browsing the internet works fine but DOWNLOAD IS NOT WORKING. When I click on a download link, it displays the message "Web Page is not available" and it does not open. I have Chrome, Mozilla and Internet Explore. My laptop is currently under windows 8. What should I do?

    You can include an image of what you see?

    Dude thanks a lot but I solved the problem... I had to upgrade to 8.1 and it happned. Thanks anyway!

  • LR 6 stand alone download does not work... only CC

    LR 6 stand alone download does not work... only CC

    Serialize Lightroom trial to activate like Lightroom 6 CC

    https://helpx.Adobe.com/Lightroom/KB/serialize-Lightroom-CC-trial-to-activate-as-Lightroom - 6.html

  • I'm trying to reinstall CS2 on an XP that has never been installed. The download works fine, but will not accept my serial number to activate. I copy and paste from my account to ensure accuracy. Continue to receive the serial number incorrect error. What

    I'm trying to reinstall CS2 on an XP that has never been installed. The download works fine, but will not accept my serial number to activate. I copy and paste from my account to ensure accuracy. Continue to receive the serial number incorrect error. What would be my next step to get this race?

    CS2 (or earlier version) activation server has disappeared, then read below

    You MUST use the special number on the page, not your original serial number

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.htm

  • CS4 quick mask works not properly - opacity

    I can't get the quick mask to work properly in photoshop. Every thing I try to hide, and then copy ends up having an opacity of 50% or more. All layers are at 100% opacity, and in the quick mask options opactiy is also 100%. Anyone know what could be the problem?

    Thank you

    the opacity for the quick mask setting is for preview only, to show you the overlay rubylith different opacity levels. What you describe sounds when you draw with a 50% or more opacity brush or with 50% gray. Try painting with black to 100% opacity.

Maybe you are looking for