APEX-PDF-reports: Add IDS and data more on behalf of file-PDF

Hello
I create a report layout in APEX, and a report query to export data to a PDF file (I use BI Publisher).
It works fine, but now I need to add the ID and some other information to the file name.

Because if the user create PDF files, it should be able to see, this file is for which data...

How can I do this?

Kind regards
Mark

Hi Mark,

The file name is based on the name of your report query. If you want to specify your own file name, your best option would be to create a process of the page to start the download of your report by calling the API print APEX directly, here are the API, you must call, it is documented here:

http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDGFADB

APEX_UTIL. () DOWNLOAD_PRINT_DOCUMENT
p_file_name in VARCHAR,
p_content_disposition in VARCHAR,
p_application_id in NUMBERS
p_report_query_name IN VARCHAR2,
p_report_layout_name IN VARCHAR2,
p_report_layout_type IN VARCHAR2 default 'xsl - fo.
p_document_format IN VARCHAR2 default 'pdf '.
p_print_server IN VARCHAR2 default null);

Just specify the desired, dynamic name including IDS, or information you need for the content-disposition header, you can use "attachment" or "inline" and then enter your application ID, the name of your query and report layout and the desired output format. Print server argument can be NULL to use the server instance to the scale defined reports.

Kind regards
Marc

Tags: Database

Similar Questions

  • Add headers of data channel to the output file

    I've seen several threads, discussing how to get names on the column headers in the data output dynamic in a file and thought I'd give a simple example of how to do it.

    The example generates a Y = 2 X 2 data flow and sends them to a XY Chart and an output text file.

    It is necessary to convert the dynamic data to a waveform and waveform VI attribute allows you to add the attribute named NI_ChannelName.

    The waveform is then converted into dynamic data.

    It's the solution, I developed and confirmation of more experienced users would appreciate it if this is the best way.

    Colin

    Hi Colin

    Just to let you know that your method is the best way to deal with dynamic data - there is no way to directly add dynamic data headers. If you have any other questions, feel free to ask.

    Best regards

  • Can I add images and sounds more on DVD in Movie Maker?

    Time ago, I made a DVD of windows Movie Maker. My question is: can I add more photos and sounds on the DVD I made?

    Send me an email to * address email is removed from the privacy *.

    Please repost to section photos and videos:
    http://social.answers.Microsoft.com/forums/en-us/vistapictures/threads

    Basically, you will need to copy the DVD on your computer. Then, re - import video into movie maker.

    Here's a way to copy the DVD to your computer.
    http://www.ehow.com/how_2222401_copy-DVDs-onto-computer.html#ixzz11iBjGM5e

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Header and data in an incremental file

    Hello. I am Sorin.
    After a few days of reflection and trying, I decided to ask for help.
    I need an idea or a sugestion, or even a good exemplification for my problem. It's a simple reflection at first, but I met a lot of problems.
    I have a downloaded photo with my general idea.
    I want to write the first and data header to 1 text file line/sec. The file must not exceed 65536 rows (excel limit), so I calculate them, I put a condition for limiting, and after this registered nominative must move to the next file (file_1, file_2 file_3 e.g. and so on).
    I tried many ways, many loops, but not the result I aspected be.
    I mention that I have the modules:
    -write the header in the file (write on a spreadsheet file);
    -write data in the file (write on a spreadsheet file).
    -calculate the n lines in the file (.vi)
    So, if you help me please, just make a square or something instead of this module. I made them separately and they all work very well.
    I avoid the goto function because I can't control it. Maybe that's why I failed.
    A pseudo schema with loops and son would help me. I dare more.
    Thank you.

    Dsasorin

    check this

  • PowerCLI script for datacenter clusters and is, ANDS vm guests in a CSV file.

    HI -.

    I need help to write a script powercli that collect information vcenter such as the list of each Datacenter and its clusters, hosts and vm in a CSV file.

    Thanks in advance!

    -Philippe.

    You can do something like this.

    But be aware that it will not report VMHost, Clusters and data centers that do not have any virtual computer in them.

    {foreach ($dc in Get-Data Center)

    foreach ($cluster Get-cluster-location $dc) {}

    foreach ($esx in Get-VMHost-location $cluster) {}

    Get-VM-location $esx |

    Select @{N = 'Center'; E = {$dc. Name}},

    @{N = "Cluster"; E = {$cluster. Name}},

    @{N = "$vmhost"; E = {$esx. Name}}, name

    }

    }

    }

  • Is this really the case with the free player, the clients can access is no longer a PDF to add comments and mark out? We have always used a PDF file for the reviews of books/documents, but now we hear customers that there is no way to add comments and ann

    Is this really the case with the free player, the clients can access is no longer a PDF to add comments and mark out? We have always used a PDF file for the reviews of books/documents, but now we hear customers that there is no way to add comments and annotation. Please let me know if this is the case, or if there is a solution

    '' If '' they use the free software Adobe Reader and "If" there is no security prevent this, he should be able to add comments.

    It'll be hard to say what's wrong without more details such as what exact version of the reader they use, they open the pdf file in a browser or in the player itself and what exactly happens when they try to add comments.

  • How to add text and change my PDF file?

    How to add text and change my pdf file

    Hi pilothorse,

    To edit a PDF file, you must use Acrobat. If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.

  • R12 payment process Request Status Report add additional columns to the XML data.

    In 11i, we had modified the preliminary report of payment to include additional columns (distributions of invoice). R12, this report is obsolete and Oracle introduced a new report 'Payment process Request Status Report'. This query uses BI Publisher to generate the release of the final report. I can't edit the template for the output XML to the report has not
    contains data for distribution invoice account. We need to know how we can modify the XML data to include additional columns.

    For the disbursement of funds (payment instructions file) process, Oracle provides extensibility IBY_FD_EXTRACT_EXT_PUB package to build the custom XML element structure that can be added to the extracted XML payment generated by the Oracle payments. Do we have something similar to this report? Are there other options available?

    Thank you

    Hello

    The same "IBY_FD_EXTRACT_EXT_PUB" package also works for the payment request process status report. Please add the logic to get the distribution data in this package, and you'll see the new XML tags in this report also.

    I hope this helps.
    Serge

  • ACS 5.1 on Vmware: Advanced Monitoring and Reporting Add-on license

    I the permanent Base license and permanent license to add-on from blockbuster. But advanced monitoring and additional license statement is always EVAL. There is no order information for ACS 5.1 - Advanced Monitoring and Reporting Add-on license. Advanced built-in license ACS5.1 and EVAl the follow-up was for ACS5.0? Thanks for help.

    You are right. These advanced M & T capabilities are built into the feature DCC 5.1 base. In ACS5.0 a license is required for this feature but not in 5.1 ACS

  • Hi Please clarify me the requirment system so that I don't have tables and data on more than 20 billion?

    Hi Please specify me the system requirements so that I don't have tables and data on more than 20 billion?

    SET ECHO OFF;

    SET FEEDBACK OFF;

    SET SERVEROUTPUT ON;

    GAME CHECK

    SET PAGES 0;

    ALIGN THE HEAD

    Set linesize 200 trimspool on

    the value of colsep «,»;

    SELECT 2013 AS YEAR, 3 AS A PERIOD, 'RQ' AS PERIOD_TYP, 'SRVC_DT' AS ANALYSIS_TYP, NO_MEM_SRVCD AS MLTS_TYP, SRVC_CATG_CDE, SRVC_SUB_CATG, SUM (COST), SUM (NO_CLAIMS) AS NO_CLAIMS, SUM (NO_MEM_SRVCD) AS 'NMLTS '.

    OF ICUSER. CLAIM_DETAIL, ICUSER. SSCATG_SCATG_MAP_MSTR

    WHERE SRVC_SUB_CATG = SRVC_SUB_CATG_CDE

    AND ((YEAR_SRVC = 2013 ET MONTH_SRVC))<=>

    OR (YEAR_SRVC = 2012 AND MONTH_SRVC > = 10))

    GROUP HERE 2013, 3, 'RQ', 'SRVC_DT', 'NMLTS', SRVC_CATG_CDE, SRVC_SUB_CATG

    COIL C:\Users\ATCS23\Desktop\Sql_Ldr\testscript10.txt

    /

    spool off

    You may need to adjust the number of linesize.

    David Fitzjarrell

  • Since the Adobe Acrobat update in may on my Samsung GalaxyTab S android version 5.0.2 calculations (add, subtract and multiply) stopped working with pdf forms.  Same shape works well on laptop.

    Since updating Adobe Acrobat app in may on my Samsung GalaxyTab S android version 5.0.2 calculations (add, subtract and multiply) stopped working with pdf forms.  Same shape works well on laptop. Form calculations are still working fine on the laptop using the same forms.  Also worked fine on Samsung Tablet before can update the app.

    Hi herb,

    The calculations do not work as they use Javascript to perform the operation and version 5.0.x Lollipop has problem with Javascript that is fixed in the version 5.1.x.

    Thank you

    Abhishek

  • I'm retouching of images taken on my iPhone 6 more with Photoshop CS6. I'm doing my color correction and add effects and all that. Before you export the image I review and be sure to what I has no more sharpness and the lines are smooth and it looks good

    I'm retouching of images taken on my iPhone 6 more with Photoshop CS6. I'm doing my color correction and add effects and all that. Before you export the image I review and be sure to what I has no more sharpness and the lines are smooth and it looks good overall. I export it to JPEG, max quality with the establishment of reference standards. I then open the image and it seems fine, as it did in photoshop. My problems begin to occur when I try to download on Twitter as my profile picture. I tried downloading from my office directly on the site via google chrome. When I download the image then begins to have jagged edges and overlooks the tablets. So I thought it was some performance settings, then I tweaked them and restarted a couple of times and still the same result. He would go on my desk but when uploaded to twitter as my profile picture is horrible. So I tried emailing the image of myself and the download through my phone. I opened the image on my iphone and it seemed fine as he did on my desktop but when I downloaded the image it makes then look blurry. I had this problem when downloading photos Twitter via my iphone, so it doesn't surprise me. I have read different forums saying: you must download it from the office, so I thought it would work like this. This could be a problem of twitter than compresses uploaded photos? Other people can do very much the same way, but it does not work for me. Please someone help me before I put my computer in an oven microwave.

    This could be a problem of twitter than compresses uploaded photos?

    Yes. The rest, we can answer. You wrote a lot, but very little discussion. Instead of accurate information you lose yourself in the vague descriptions. Screw color management to the wrong dimensions that trigger resizing server-side it could be any number of things here.

    Mylenium

  • Hi, I want to know if it is possible to install the version pro on several computers, or just one and if we want to add later that cost more?

    Hi, I want to know if it is possible to install the version pro on several computers, or just one and if we want to add later that cost more?

    A single user license allows installation enabled on both machines.  These two machines you can only use the software on one machine at a time.  You will need the licenses as the number of machines that you want to use the software on at the same time.

  • Google Analytics can provide reports and data from a form created in Muse?

    My Muse site will be held by a third-party free image host, as I am creating a new customer. My client wants to be able to see a monthly report of inquiries submitted through the contact form, which was established in Muse. Google Analytics can provide reports and data from a form created in Muse?

    Muse done files through the interface design approach. It actually has nothing to do with the operation of your site. And this forum is for Business Catalyst, Adobe CMS. And if you use not only a 3rd party then for monitoring etc. based on you or someone another installation the analytical code of google on this Web site. Muse has nothing to do with it.

    Here is the departure of google for this guide.

    http://www.Google.com/intl/en-AU/Analytics/learn/setupchecklist.html

  • How can I use FNDLOAD for XML reports and data defnitions

    I program simultaneous registerd bound reports xml and data defnitions in instance of staging and managed to switch to DEV... After updating of this stage and when I download the details of DEV and transferred to the program only simultaneous scene I can download... Can we use the command FNDLOAD for definitions of data or the data model for the XML report, FNDLOAD used for the simultaneous program, he transferred only the details of the program at the same time.

    Hello

    Use XDOLoader.

    Note: 469585.1 - how to use XDOLoader?
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=469585.1

    Kind regards
    Hussein

Maybe you are looking for