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.

Tags: Database

Similar Questions

  • Question about report with the format "Date."

    Hello friends! I want to make a line chart with a measure on the columns and type 'date' Format (MM/dd) data on lines and my report is invited with the type 'date '. In my dashboard page, I have a prompt with the Date and the operator is "BETWEEN".

    For example if I choose in my line of the first date: 01/01/2009 and the second date: 01/10/2009 in my chart, I see the results between these dates. But my question is... I see the same date last year? I mean if I choose the 01/01/2009 - 10/01/2009 I see this line and another line with 01/01/2008-01/10/2008. Is this possible?

    Because in my guest I can't type a variable presentation because date type is not taken care of...


    Thank you very much!!

    Let's say you have fresh measure
    then in your SPR you create logical column with the AGO formula (costs, TimeDim.YearLevel, 1)-Let's call him ' py 'measure.
    This will be your column YAGO...

    now in your report - you drop date, measure and measure columns py... it should work as long as you have the right size of set up time

  • [REQUEST] Automatically display the number with the format mask

    Hi Expert,

    I use Jdeveloper 11.1.1.6.0.

    I have a problem to display the input text that automatically uses the format mask user input, as for example the entered user 10000 then the field will automatically display of 10,000

    Is this possible to do?


    I already find but I just had to format mask that the user must input 10 000 not automatically display in format.


    Please your advice, really appreciate your help.


    Thank you

    I already find but I just had to format mask that the user must input 10 000 not automatically display in format.

    Can you describe your use case a little more?

    The format is applied only when the focus is moved out of the field.

    You want to display the groups directly separator when the user inserts the value in the field?

    In this case, you will need to use javascript, and format the entry after each character. This technique is described in the blog of Frank https://blogs.oracle.com/jdevotnharvest/entry/get_social_security_numbers_right

    Timo

  • Default value in the item with the format mask DATE: DD-MON-RRRR HH:MIPM

    Dear all,

    I created OF type date DATE and mask game format: DD-MON-RRRR HH:MIPM

    and need to display the default code:

    declare

    v_start timestamp;

    Start

    BEGIN

    Select FROM_DATE IN v_start of TOUR_MAS

    where id =: P67_ID

    EXCEPTION WHEN OTHERS THEN

    v_start: = SYSDATE;

    END;

    RETURN v_start;

    END;

    But value display the DATE element is "11.02.00.000000 may 20, 15 h.

    In the table FOLLOWING is the timestamp.

    How to display the query result of default in the format ""HH:MIPM DD-MON-RRRR ". "

    How can I do that.

    Thank you

    Hi Maxence,

    Try this:

    DECLARE
    
      V_START VARCHAR2(64);
    
    BEGIN
    
      BEGIN
        SELECT TO_CHAR(FROM_DATE,'DD-MON-RRRR HH:MI PM')
          INTO V_START
          FROM TOUR_MAS
         WHERE ID =:P67_ID;
      EXCEPTION WHEN OTHERS THEN
        V_START:=TO_CHAR(SYSDATE,'DD-MON-RRRR HH:MI PM');
      END;
    
      RETURN V_START;
    
    END;
    

    Kind regards

    Kiran

  • Report with the items on the page

    Hi all

    I use APEX 4.0.3 and I would create a report where I could have editable page elements it contains. My goal was to have for example a variable number with its features displayed in the report and the power column choose a second from a selection list to associate with the first.

    In summary, I need to have a selection list in the report, and I need to know how to access the value of this element in each of the train.

    Thank you
    Mike

    You will need to loop.

    Find out "paintings of SEO, SEO of the values in a sequence to process" sections in the following documents.
    This should give you a fair idea.

    http://download.Oracle.com/docs/CD/E10513_01/doc/apirefs.310/e12855/apex_app.htm

    For example, if you have a report with the following query

    SELECT APEX_ITEM. Text(1,column_name) FROM myTable;

    and if you have 10 rows in the table, then 10 items of text will appear on your page.
    Given that we gave the ID (p_idx) as a 1, we can refer these elements of text using G_F01 picture. (If its 2 then G_F02 etc. we can have up to 50 dynamic element on one page)

    G_F01. COUNTY gives us "number of items".
    G_F01 (i) gives us the value of i ^ e ^ text value of the element.

    It may be useful

    Kind regards
    Hari

  • I have two vista windows oem sctatch disk at home. You can download it for me, these two are with the product key to the House.

    I have two vista windows oem sctatch disk at home. You can download it for me, these two are with the product key to the House.
    It is upgraded, the other is an integer telling Windows Vista;
    and the little hard up and down, mouse from left to right,.
    or can you please sent a copy of a disc to my address, this is the right path for fixed my windows vista online.
    (try to contact technical support of the direct Vista operating system)
    How about upgrading to windows 7? Give me the vista on 'the base drive OEM' continues for facilities?
    ----------------

    Replacement OEM or software support of system manufacturer in most cases, you must contact the OEM (OEM) manufacturer or the manufacturer of the system directly to replace Microsoft software that was distributed by your computer. However, an exception is made for operating system service pack media *, for which you can contact us directly.

    • Contact information for the manufacturer of the computer, see the Microsoft Web site at the following address:

      http://support.Microsoft.com/default.aspx?pr=oemphone (http://support.microsoft.com/default.aspx?pr=oemphone)
    • If the product has been distributed by an OEM or a system integrator, the product ID contains the letters "OEM". Visit the Microsoft Web site at the following address, select the appropriate product family, and then follow the steps to find the product ID:
      http://support.Microsoft.com/default.aspx?PR=notsureoem (http://support.microsoft.com/default.aspx?pr=notsureoem)
    • For OEM software, the certificate of authenticity (COA) lists the name of the manufacturer of the computer under the software version name. For more information on the certificate of authenticity, see the Microsoft Web site at the following address:
      http://www.Microsoft.com/resources/howtotell/ww/FAQ.mspx#1 (http://www.microsoft.com/resources/howtotell/ww/faq.mspx#1)

      If you have System Builder software, the COA lists "OEM software" or "OEM product" under the software version name.

    * Note Service pack support only includes what is associated with the service pack itself.

    More information: http://support.microsoft.com/kb/326246

    Regarding Windows 7 - frequently asked questions - Upgrade Options
    http://www.Microsoft.com/Australia/Windows/buy/offers/upgrade-FAQ.aspx TaurArian [MVP] 2005-2010 - Update Services

  • We have Windows XP Media addition ' 05 and we want to buy and IPod and download music. Is our computer compatiable with the classis IPod and IPod Nano? Also, what addition Itunes can we use? _ ___Windows IPod XP compatibility

    We have Windows XP Media addition ' 05 and we want to buy and IPod and download music. Is our computer compatiable with the classis IPod and IPod Nano? Also, what addition Itunes can we use?

    If you can install and run iTunes correctly, then I'm sure that sync with an iPod will work as well.

    What do you mean exactly with "add to iTunes"?

    Tim Baets
    http://www.BM-productions.TK

  • New reports with the Version 15.1

    With version 15.1, we have several new reports, including status report list grouping all individual status reports into a single report with the colors for the selected values of the keys.  It is an impressive report (as well as other added to 15.1).  Take the time to view the reports again.

    Where does he find one this version 15.1 report? I only find a project status report in global reports-> list of reports and there is no color as your example shows.

  • I bought the 14 for Mac adobe elements.  Is there a download error.  I received an email with the serial number, but when I went on the site to download the illustrated product was 14 for Windows.  What is the download link for adobe elements 14

    I bought the 14 for Mac adobe elements.  Is there a download error.  I received an email with the serial number, but when I went on the site to download the illustrated product was 14 for Windows.  What is the download link for adobe elements 14 for Mac?

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • Report with the query with union and parameters

    Hello

    We have an obligation to create a report with the request, which is the union and parameters.

    I intend to create a database for the report based on a query. But the problem here is that the way to pass parameters in the query.

    Request is something like that

    Select x.a, x.b, x.c
    x
    where x.year =: para1
    and x.status = 'A '.
    Union of all the
    Select x.a, x.b, x.c
    x
    where x.year =: para1 - 1
    and (x.status = 'c' and x.date =: para2 or x.status = 'I' and x.date < =: para2)

    Here x.year in the first select statement must be equal to: para1 and second select statement, it should be: para - 1.

    How this requirement can be achieved?

    Client don't want to separate worksheet, a parameter and another for the actual data that I tried with sys_context and it worked. But the client wants the result in a single sheet only... So I need to change their approach.

    Help, please.

    Thank you

    Hello
    Another option is to convert the request so that you will have the items from the selection
    for example on the query you provided that you can use:

    Select 'Curr' rec_type, x.a, x.b, x.c, x.year, x.date, x.status
    x
    where x.status = "A".
    Union of all the
    Select 'Prev' rec_type, x.a, x.b, x.c, x.year, x.date, x.status
    x
    where x.status in ('c', 'I')

    then, in the workbook, you will be able to create conditions such as:
    rec_type = 'Curr' and year =: para1

    rec_type = 'Prev' and year =: para1-1
    rec_type = 'Prev' and (status = 'c' and date =: para2 or status = 'I' and date)<=>

    Tamir

  • Hello need help with the opacity mask.

    Hello need help with the opacity mask. I hope someone out there can help

    I inherited a logo that appears to use a Logo of OM has a shape with a grad. This grad at first sight is not used in the Grad scheme and there is not editable.  Looking at the transparency palette I find an OM (pic1) output option. If I choose what the grad on separates it from the page of the form, that is from there I can change/remove as required (Note2).

    However, sometimes (he did no change), I'll be back to the same original form and output option is grayed out and is no longer available. Or I go to the similar shape that has the same treatment and I can't go out OM (pic3)

    The only difference is the thumbnail in the transparency palette, which is strong in pic1 and rated on pic3. What Miss me?    I'm not clear what the advantage is simply OM using the Grad palette to apply a grad in my form, but until I can get rid of OM who is there, I can't comfortably apply to the grad I want.

    The white gradient LHS I have no problem with. I choose fortunately only and each time get the possibility of release of OM.

    Screen Shot 2015-08-06 at 12.26.48.pngScreen Shot 2015-08-06 at 12.00.10.pngScreen Shot 2015-08-06 at 12.01.16.png

    The other thing weird. When I select the white gradient. Sometimes, the exit option is in the palette without going through the drop-down list (Fig 4).

    Other times seems not that OM has already been applied, because the palette gives me the ability to mask rather than liberation (5 photos). Until I go to the drop down and then I find Release is an option after all.

    What is the difference here?   Not much of a problem, because either way I can release OM to be able to change the grad.

    The file is passed through several hands and play anywhere to try to resolve issues, and many stops and save slot, so something along the line was of course done a logo and not the other because of the difference, but I can't for the life of me see what that.

    Screen Shot 2015-08-06 at 12.44.21.pngScreen Shot 2015-08-06 at 12.44.36.png

    I hope someone can help. Very appreciated


    See you soon

    Dave

    Dave,

    I've (mis) understanding the issues, you can account for the box to the right in the main palette transparency (called thumbnail) here.

    Illustrator help | Transparency and blending modes

    represents the masking objects.

    Some of your screenshots show no object mask, so it only is not really a mask even if do the opacity mask has been clicked and there seems to be one in the layers palette, wherever you look.

    I think that it is perhaps the issue.

  • Strange problem with the formatting of the text

    Hello

    I had a strange problem with the formatting of the text. I created a document in Polish language and the strange thing happens when it divides the word to the next line. For example here on this part of the page, I have a word "umieszczamy", which should be divided "' u - CEF - szcza - my", but my Indesign divides in umi-eszczamy (as shown on the picture). " How can I fix it so it divides the word correctly?

    Concerning

    forum.jpg

    What language is awarded when you select the text? Hyphenation, but also the spelling, is controlled by the dictionary that is assigned to the text.

    If the language is correct, you might have to change the hyphenation in the user dictionary.

  • Problem with the format of the values in the command prompt (when you use multiple values)

    Hi all

    I have problem with the format of the values in the command prompt when you use multiple values.

    Value is year (2009) and when I use it in the drop-down list that is formatted, all right, as 2009, but when I use several values I get number as 2009,00. I put in year column format number with 0 decimal places and save by default in the year column. Year is formatted well anywhere in the query, such as 2009. Why is - what happens at the command prompt when you choose multiple values in prompt dashboard?

    Thank you

    I think the YEAR Data Type could be defined DOUBLE RPD.

    Use the CAST function in the formula (fx) and the output from test.

    CAST (INT YEAR)

    Hope, it will help you.

  • First group title below displays under the column headers using the model 23 classic report with the help of repeat titles on break

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.


    When I look at firebug code I saw that all the tables but the first, the break line is included in the last line of the previous table, so I can see how it did not work for the holidays since.

    I have tow questions.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Example of a question can be seen at apex.oracle.com at home

    Thank you

    Brad

    Roadling wrote:

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    The Standard report template definition in issue 23 contains thead and tbody elements:

    Before the column header

    
    

    Column title template

    #COLUMN_HEADER#
    

    After the title column

    
    
    

    After the lines

    
    
    
    
    
    
    #PAGINATION#
    
    
    
    

    This is intentional, the best practice for marking up HTML tables. What is not expected is the problem that arises when this model is used with the break of repeat titles on break formatting option. The repeated headings result table consisting of soup of tags containing several poorly constructed tbody and thead, which is not valid elements.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Create a copy of the report model Standard in Standard (break formatting) for use with reports of the break, remove the thead and tbody definitions of template tags and the breakdown of the reports to use the new model of change. (Or, if you use mainly break reports using the Standard template, keep the tags in the copy and remove them from the original in order to minimize the number of reports, you need to change.)

    Personally, I would create a report model of line custom to break complex reports in order to be able to have complete control over the structure and presentation.

  • Report with the buttons

    Hello

    Apex - 3.0 version

    My report query,

    SELECT x.request,
    x.User,
    x.Temporary
    Of
    (Query SELECT htmldb_item.hidden(1,request_id),
    htmldb_item. Text (2, creator) USER,.
    htmldb_item.select_list (3, TEMPORARY,'No;) N, Yes; THERE ')
    OF test_user
    ) x

    Is it possible to add buttons to each line in a report?
    I m in need to add the button 'delete' for each line.
    How can we do?

    Kind regards
    VK.

    Hello

    a. to change the target of the Page in the URL request.
    (b) in writing to URL

    javascript:apex.submit('#DELETE#');
    

    c. in your process of writing the code

    DELETE FROM test_user
    where request_id = :REQUEST;  
    

    d. subordinate this process. Type PL/SQL expression

    REGEXP_LIKE(:REQUEST,'^[[:digit:]]+$')
    

    This is what will happen
    1. when the user clicks on the button Delete the page will be submitted with the application the Request_id =
    2. the Request_id I assumed is a number. So the condition on the process checks whether the request is a number
    3. when the request is number it runs the process to remove the row from the table.

    Note: You should make sure there is no other digital demand generated on the page.

    Kind regards

Maybe you are looking for

  • Cannot copy the addresses in new list since the update of 31.5

    I'm trying to set up a new list successfully) and fill it with addresses by copying and dragging the addresses in my personal address book. I have done this dozens of times in the past. Now, from 31.5, it seems that the addresses have been copied, bu

  • several versions of the Variables shared on the same network

    I have 2 separate reactors working on the same network each variable deployment shared ~ 50 (different names on each process) contacting LV 8.5RT running on hardware of the FP.  One of the reactors is asked for new features and upgrade.  It is possib

  • Creation of DVD Windows Media Player, Media Center, stop working

    I use Windows Vista and that you cannot use Windows Media Center, Media Player, Media Player Classic or Windows DVD Maker. When I try and play a video file for example, I immediately have an error message saying that "Windows Media Player has stopped

  • Error creating registry key, RegCreateKeyEx failed; Code 5 access denied

    Just as the title says. I encounter and error where a program is unable to create a registry key. Error 5, access denied. I tried as admin and the problem still persists. I tried to run the registry editor and access, but still the problem persists.

  • Camfrog 6 connection windows7 error

    I have the 6.0.92 camfrog video chat on my laptop running Windows7 64 bit but error conecttion How can I fix this step but not to install the new windows operating system