This content has been marked as final. Show 8 replies
What are you using now in the Report Export Link Label? Here is what I use but you will need to supply your own image.
<img src="#WORKSPACE_IMAGES#Excel.GIF" border="0" alt="Icon 1"> Export to MS Excel
Yann39 wrote:Do you mean adding a name to the file?
Apex 4.1.1.00.23, Oracle 10g & 11g.
We are using csv export for our classic reports, it is working fine.
But is there any way we can add a title in the csv file ? (or other extra information).
What exactly you mean by other extra information
I mean adding extra information in* the file, like a title in the first cell, or some comments after report data.
It seems APEX does not provide any control on the generated file content...
Currently our users are using an old application running Oracle Forms, and they get a title in the generated csv file from reports, so I though it was possible in APEX too ?
Administrators tells me that they are not going to install BI Publisher because of the cost. And anyway they are not willing to install anything new on application server (JasperReport, ...).
We can install required applications (JasperReport?) on our own application server but it is a lot of work just to add a title to csv files...
So maybe there is a trick like adding a "hidden line" before report data, that will be included in the file, or something like that ?
If it is a standard report, yo can also build a custom report template to add the header if you like...
It is standard reports.
I already tried to add some content in the Header template attribute but it seems it is not exported in the file.
I will try again as soon as I am back at work :D
What have tried in the Filename parameter? This code was able to reference an item on my page plus a literal; it yielded a filename of Type Any Text You Want 10
Type Any Text You Want &P121_DEPTNO.
So indeed text written in the report template ("before column heading", etc.) is not exported into the file, only data is exported.
So I'am still looking for a solution.
@jwellsnh I don't care about the filename or the link name, I speak about the file content ;)