Custom Apex theme prohobits CSV Download link

Hi,
I'm using Apex 3.2.1.00.12; Database version = 11.1.0.7.0.
A customized theme is used for the application.
For a reports region I added CSV Download link, but it is not showing when i run the page.
Please let me know if any settings to be changed for the page/theme/template.
Thanks & Regards.

Hi
In the report template (not the region template), there is a substitution string available called #CSV_LINK#
You need this somewhere in the template in order for the link to appear. For exmaple you may have something like this in the 'After Rows' section of the template...
</table><div class="someClass">#CSV_LINK#</div></td>
</tr>
#PAGINATION#
</table>Cheers
Ben

Similar Messages

  • Export to CSV download link doesn't work

    hi,
    I have done the following:
    If you click on the report link in your Region group
    for the page concerned, then select the Report
    Attributes tab and scroll down to Report Export you
    can change the Enable CSV Output to YES and update
    filename, separator etc.
    This will show a link on the report page at runtime
    that will allow the user to download the report in
    CSV format to a spreadsheetAnd when I click on the link to download the report, it tries to download the page in html format...
    any ideas on what the problem is?
    thanks!!

    Anoushka,
    Do you have spreadsheet software such as MS Excel or OpenOffice installed? What filename did you choose? Do you have your browser configured to launch a spreadsheet application when files of a certaim mime type are downloaded?
    Sergio

  • Custom development new apex theme.

    Fyi.
    i m oracle apex and oracle plsql developer.
    now i m facing development new apex theme(Custom).
    any one have steps to develop my Custom apex theme?
    so help me out for this.
    Thanks

    Harry wrote:
    Fyi.
    i m oracle apex and oracle plsql developer.
    now i m facing development new apex theme(Custom).
    any one have steps to develop my Custom apex theme?
    so help me out for this.
    Thanks
    >Fyi.
    i m oracle apex and oracle plsql developer.
    now i m facing development new apex theme(Custom).
    any one have steps to develop my Custom apex theme?
    This is a big topic and it's not really possible to cover it in the format of a forum post.
    Developing a complete theme requires a good knowledge of HTML and CSS (and increasingly of JavaScript and a JS framework like jQuery). It's beyond the scope of this forum to provide information on the basics of HTML and CSS, and/or web and UI design in general.
    See this classic Cloning your Corporate UI with HTML DB blog post (HTML DB was the former name of APEX).
    Before going further you should be familiar with the documentation relating to the use of themes, templates and CSS in APEX: Oracle® Application Express Application Builder User's Guide, Chapter 11: Managing Themes and Templates
    Once you get started, if you have specific questions relating to the inclusion in APEX of particular HTML, CSS, JS frameworks, or components then those are the questions it is appropriate to ask here (after consulting the documentation and searching the forum and web for prior relevant discussions, and according to the guidelines in the FAQ and sticky threads).
    With APEX we're fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with the issue, which we can then see at first hand.

  • CSV Output link not shown

    Hi,
    the CSV output link is now shown in Easy- and SQL report. How to ? - I did check Yes and named it in the report attributes page.(1.5.0.00.33 - IE6.0)
    TIA brgds
    Bernhard

    two things are necessary for your csv download link to appear:
    1) you need to have enabled csv output in your report. you said you've done that.
    2) the report template you're using needs to have the substitution string #CSV_LINK# somewhere on it. that's the string into which your link is substituted.
    please take a look at your report template to see if you have that sub string it. hopefully that's your issue.
    regards,
    raj

  • BLOB content download link on apex report

    Hi Guys,
    I have a simple form where user can attach file and save the records. I iterate through wwv_flow_files and get the file and save it to a custom table which has BLOB column. On another report page i display uploaded file details. What i need is, there must be a column with download link when user clink the link appropriate file should be downloaded. How can i do this ?
    Really appreciate if someone can assist me on this.
    Thanks Guys.

    See About BLOB Support in Forms and Reports.
    There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well. (An earlier version but it is still relevant to APEX 4.x.)
    (Please make an effort to consult the documentation and thoroughly search the forum for previous coverage of a topic. This is a much discussed question.)

  • 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.

  • I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes does not have a ringtone tab.  I can not sync the ringtones.

    I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes library does not have a ringtones tab.  I can not sync the ringtones (or I don't know how)!  Please help.

    Yes, the file extension is M4R.  Does it matter where I save these files on my Macbook?  I then opened them in Itunes and played them.  I did find the Tones folder in Itunes but the Tones or Ringtones tab does not show up when I select Iphone (within Itunes).  When I open the Tones folder in the Library, it is empty.  Thanks in advance for your help.

  • I must install creative cloud at a customer, but i want to download it before in my base because customer internet link is poor. Is possible? How?

    I must install creative cloud at a customer, but i want to download it before in my base because customer internet link is poor. Is possible? How?

    Francescob40485430 a stable Internet connection is a requirement to utilize a Creative Cloud membership.  What specific errors are you receiving?  For information on how to resolve download errors please see Error downloading and installing Creative Cloud application.

  • 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.

  • Securing file download links

    As per the File upload/download How-to at http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14377/up_dn_files.htm#sthref153
    downloading a file involves writing a stored procedure and invoking it directly using the DAD and mod_plsql. For example, /pls/htmldb/owner.procedure?p_file_id=1234
    This link bypasses the Apex show engine so even if I have all the security in the world in Apex using authentication schemes, authorization schemes, etc, a authenticated user in Apex can just right click on the Download link, shoot it off to someone else who can download the file without even logging in to my application!
    How can these "download links" be secured so that only authenticated users can access them only from an Apex session?
    Thanks

    Thank you Vikas.
    The reason I ask is I get a compilation error in my procedure.
    I am no PL/SQL expert so I am sure my syntax or logic is wrong.
    I am using APEX version 2.0
    Error(7,19): PLS-00103: Encountered the symbol "." when expecting one of the following: constant exception <an identifier> <a double-quoted delimited-identifier> table LONG_ double ref char time timestamp interval date binary national character nchar The symbol "<an identifier>" was substituted for "." to continue.
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
            APEX_APPLICATION.G_FLOW_ID := 100;
    BEGIN
    --testing security
    IF NOT wwv_flow_custom_auth_std.is_session_valid then
        -- display this message or a custom message.
    htp.p('Unauthorized access - file will not be retrieved.');
        -- You can do whatever else you need to here to log the
        --     unauthorized access attempt, get the requestor's
        --     IP address, send email, etc.
        RETURN;
    END IF;
            SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
                    INTO v_mime,lob_loc,v_file_name,v_length
                    FROM file_subjects
                    WHERE id = p_file;
                  -- set up HTTP header
                        -- use an NVL around the mime type and
                        -- if it is a null set it to application/octect
                        -- application/octect may launch a download window from windows
                        owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
                    -- set the size so the browser knows how much to download
                    htp.p('Content-length: ' || v_length);
                    -- the filename will be used by the browser if the users does a save as
                    htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
                    -- close the headers           
                    owa_util.http_header_close;
                    -- download the BLOB
                    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    /Thanks
    VC

  • Interactive Report Download Link Question

    I have an interactive report where I have outer joined to a table that contain blobs that I want the user to be able to click a link to download. I have a custom procedure that works with the download link. However I can't figure out how to get the download link to only appear for the records that actually have a file (since it is outer joined, only some of the records have a blob file associated with them).
    Click this link to see a screenshot of the report example.
    The existing column with the download link was created as a column link, where I specify the url (to my custom download proc). The problem as you can see is that it puts the download link in that column for every row, whether there really is a file to download or not. I'd rather only have a download link where there is a file to download for that record (see the My File column).
    Thanks in advance for any help on this.

    HOT TIP
    If you are passing parameters into your download procedure in the URL then the users will be able to hack the URL and download information they shouldn't be able to. More worrying, if you have granted execute to public (which I think you have to) on the Procedure then information can be downloaded without the user being authenticated.
    The solution is to have a page in the application with an On Load - Before Header process that calls the procedure, with some hidden items as parameters for the procedure. You can then evoke the procedure by branching to the page in the usual way and setting the page items in the URL. This will also allow you to add the additional Apex security features such as Session State Protection (Page requires a Checksum). Remember to revoke the execute privileges from Public.
    Change the report link to:
    SELECT some_columns,
      NVL2(my_file,'Download',null) link
    FROM your_table Then use the 'column link' region to create the link in the usual way and set the Link Text to #LINK#. If you have set the target page to require a Checksum this will then be added without having to code it into your sql.
    I hope that makes some sense?
    Shunt

  • 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

  • HT201272 To whom it may concern, This morning I purchased an album, on listening to it three of the tracks are not playing correctly. I read on an apple discussion board that I should delete them and re-download them. This did not work as I was asked to p

    To whom it may concern, This morning I purchased an album, on listening to it three of the tracks are not playing correctly. I read on an apple discussion board that I should delete them and re-download them. This did not work as I was asked to pay for them, and one of the tracks was an album only track.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • ApEx 4 to Excel download - Numbers end up as Strings

    Hello,
    We are developing reports in ApEx 4. Some users will be downloading them to Excel to further play with the data.
    We are formating some number fields (Sales, quantities, etc.) using 99,999,999,999.99 or 999G999G999G999G990D00.
    Everything is great until we export report to Excel.
    Number
    '123,456.78'
    is created in Excel with leading spaces:
    ' 123,456.78'
    This prevents user from additional data manipulation like using it in formulas/functions or doing summaries since Excel doesn't recognize it as a Number.
    It works properly if we use dollar sing in the format or we don't set the format at all.
    Is there any way to set the format in Apex so that it download's properly to Excel?
    Thank you, I appreciate any help.
    Jan.

    Jan,
    This is a common problem, if you are using an interactive report there is a pretty painless workaround for it.
    1. Add another column to your report with the unformatted value of your numeric column. I generally use the <col>, <col>_DL (download) naming convention.
    select to_char(12345,'999G999G999G999G990D00') the_number,
           12345 the_number_dl
      from dual2. Make the new DL column display before or after your formatted column.
    3. Save the interactive report as default settings with this column displaying.
    4. Make the display condition for your formatted column "Request != Expression 1". expression 1 = CSV
    5. Make the display condition for your _DL column "Request = Expression 1". expression 1 = CSV
    The DL column will be rendered when the interactive report submits the request to download the report to a file and the display column will be used when it is rendered to your web browser.
    Cheers,
    Tyson Jouglet

  • 3.1 IRR download CSV behaves different than 3.0.1 CSV download

    I am generating some links dynamically in the select statements for some of my reports (i.e. select decode(REGULAR_EXPRESSION_KEY,
    null,'-NO RE-',
    "a href="f?p=&APP_ID.:2:... )
    Note: I changed the example a bit so that it would display and not be interpreted...
    The download to CSV in my 3.0.1 automatically stripped this HTML out of the download to CSV.
    The CSV Download in the Interactive Reports of 3.1 did not strip the html. All of this HTML is downloaded into the CSV file.
    Is there a way to get this 3.1 Interactive download to CSV to behave the same way it worked with the 3.0.1 download to CSV?
    Thanks,
    Steve

    Hi Gurus,
    I updated one of my small apex application to use interactive report, but I also encountered this kind of
    'cannot export to CSV' problem, it is so bad, we need to export to Excel all the time! I have to give up my upgrading and remade it with classic report, though many cool stuffs with interactive report, pitty!
    Ok, I will try to use your method to work around this problem, that may give me some kind of hope.
    Hope you can improve this much more in the later release.
    Anyway, 3.1 is very cool though, but also if you can more simply the Blob founction .
    Peter

Maybe you are looking for

  • Imac vs ipad2

    why my imac 2011 model is slower than my ipad regarding web browsing

  • Xephyr problem with awesome3

    Hi, I try to run this nice thing. http://wiki.archlinux.org/index.php/Awe - ing_Xephyr But all I get is a black screen (rc_test.lua is working) and some errors: ╭─[thomas::Heraklit] ╰─[9:36]> Xephyr -ac -br -noreset -screen 1152x720 :1 & DISPLAY=:1.0

  • Server failed during initialization ...(authentification for user denied)

    hi, I'm using weblogic 7.0 server to replace my weblogic 5.0. I've got an error during login to the server: <server failed during initialization Exception: java.lang.securityException: Authentification for user denied..> could you help me and tell me

  • Help! audio interface problems

    I dont think this is just a logic problem but my audio interface keeps on stuttering and stopping, especially when using logic. Sometimes the time bar will be moving but there will be no sound then if i stop it might play a stutter or snippet of soun

  • Shortcut keys to menu bar?

    Hi, I've looked everywhere on websites, forums.. I need to ask here since I can't find the answer. What is the shortcut keys to "menu bar" on photoshop on mac? I just want to go to the menus below, by using shortcut. File Edit Image Layer Type Select