APEX + BI Publisher: dynamic pdf filename.

Hello gurus,
i'm deploying my first apex application and I need to know if is possible to decide witch name will have the pdf output file.
What I need is that the filename respect a particular syntax:
:USER_NAME_:DATE_:ID
I cannot find any customizable parameters in (report queries / report layouts ).
Is it possible?
Thank you very much in advance.
Regards.
Simon

Simon,
In the Print Attributes tab of your Report Region you can specify a filename. If you leave this blank it is the name of your region. Maybe you can enter there: &USER.
For the Date : If &USER. works, you should fill a hidden field with the date you want to use for your report and use a reference to that field as a Filename (like &DATE_FIELD. ).
The solution above doesn't seem to work. Even if you use &USER. in the region title (that is shown on the page), the PDF page is created with &USER..PDF as the name....sorry!
HTH
Regards
Roel
Edited by: Roel on Oct 16, 2008 12:31 PM

Similar Messages

  • Dynamic pdf filename creation from form data content

    Hello Community!
    Can someone give me step by step solution to dinamicaly take an invoice number (example field) and include it in the filename.PDF output?
    Thanks

    I do this a differnt way that you might find helpful. A prerequisite is that you can pass the invoice number as a variable in the jobline. The jobline would then look something like this:
    ^JOB INVOICE -fINVOICE -advDOC12345
    Then I set up job INVOICE to call transition file INVOICE.tdf with this content:
    O ' N 1 N N Y Y O
    S * CARD '^JOB' 1 1 1 10
    S * LINE '' 1 1 1 10
    E DESIGN CARD '-f' 1 1 1 2 80 0 0 ' '
    E ID CARD '-advDOC' 1 1 1 7 80 0 0 ' '
    E LINE LINE '' 1 1 1 1 100 0 0 ''
    #startscript CARD
    ^JOB @DESIGN.B -z..\pdf\@[email protected] ..\pdf\@[email protected] -afxon
    ^FORM @DESIGN.M
    #endscript
    #startscript LINE
    @LINE[1,--]
    #endscript
    You will now have:
    ^JOB INVOICEB -z..\pdf\INVOICE-12345 ..\pdf\INVOICE-12345

  • APEX - BI publisher dynamic image not shown

    Hi,
    I've developed a BI RTF report layout within my APEX application.
    I need to show external dynamic images stored into apex image files, but I have some problem.
    BI manul says I should include into the report layout a dummy image with the following text:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element of the XML file having the image url.
    When I run the report the image is blank although the IMAGE_LOCATION has the right url.
    I tried to add another image with alt text url:{'image url'} and it is correctly shown.
    I'm shure that IMAGE_LOCATION is right, because it's also shown in report as text.
    How can I resolve this?
    Thx
    Davide

    perhaps they can help you in here: BI Publisher

  • I can't get my Dynamic PDF Widget to work in Captivate 7

    Hello all,
    I've been trying to get my Dynamic PDF to work in my Captivate 7 project. I have created a button on the final slide where I want the user to open the PDF, I have named it correctly to correspond with the Dynamic PDF. I have also updated everything within the editor to appear how I would like it to appear. I have also tried viewing it in various formats such as Published, In a Browser etc. and nothing appears to work for me.
    What am I doing wrong?
    Thanks in advance!
    Peter

    Hi Peter,
    Please make sure that the pdf is also saved in the same published folder .
    Also test the behavior in other browsers as well like Chrome and Firefox .
    If you still face this issue then try to add the published output in trusted location of Flash.
    http://helpx.adobe.com/captivate/kb/hyperlinks-do-captivate-6.html
    Thanks

  • APEX, BI Publisher and SQL Query (PL/SQL Function returning SQL Query)..

    I don't know if I should be posting this in this Forum or the BI Publisher forum, so I am posting in BOTH forums..
    I love APEX, let me say that first.. And appreciate the support offered here by the group, but am running int a confusing issue when BI Publisher tries to build a report from the above type APEX report..
    Here is my dilemma:
    I have a number of reports that are part of a Oracle package. They return an SQL Query back to a reports region on a page. I am having to deal with the column names returned are col01, col02..
    The issue I have is, when building the Application Level query to download the XML sample from in building RTF layouts in Word, you can not use this code, you MUST use a standard SQL Select.
    I have taken the sql from the function returning sql, and copied into the application query, supplying the required data values for bind variables being used in the query.
    An XML file is produced, and I use this to build the RTF format file that I load back into APEX and try to use it for the PDF rendering of the report. I can view the output as a PDF in the Word add on, but when I try using it with the report, it is returning an empty PDF file.
    Can anyone tell me what error log files on the bi publisher side I can look at to see what error is happening?
    Thank you,
    Tony Miller
    UTMB/EHN
    Title changed, maybe SOMEONE has an idea on this??
    Message was edited by:
    Tony Miller

    Hi,
    1/ first check you are passing the bind variables and
    appropriate values in the call to your report - if
    the query returns no data then you get an empty page
    So if your query takes :P10_USERNAME variable then
    pass it to the report in the URL
    f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=YOUR_REP_QUERY_N
    AME:::P10_USERNAME:MYUSER
    2/ try to use the Default layout first to check your
    report query really returns the data when called
    3/ if you defined a header in your rtf template check
    there is no & (ampersand) - if using & in the header
    and preview the template from word it displays data
    OK, but if you use this template in the report query
    it fails to render the data (bug in Apex-> Bi
    Publisher integration maybe?)
    4/ If using the table in the rtf template check its
    width does not overflow the page margins - there is a
    problem with pdf export
    5/ check
    /oc4j/j2ee/home/application-deployments/xmlpserver/app
    lication.log forthe information on BI Publisher runs
    RadoIssue was in the APEX page having issues.. I recoded a new page and am able to generate BI Publisher based PDF files..
    Thank you,
    Tony Miller
    UTMB/EHN

  • I have a question about extracting pages.  When I do the function, adobe saves the individual files as " file name space page number ", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a

    I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files.  It casues me problems, however, for the space to be the the file name.  Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?

    No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.

  • How to auto add in pdf filename (shown in footer) by using Java Script?

    In order to have nice tracking a document, I want to print the file name as a header or footer when printing the documents. 
    How can this be done?  
    Found a perfectly nice post related to same issue
     http://forums.adobe.com/thread/302996 
     (Many thanks on every contribuitors inside that posts)  
     In the above post,  found that ##Reinhard had shared some well nice scripts for "enable to put in filename in the footer for every document, just by 1 simple click in each documents"  
    For the time being, 
    if i would like to generate a script that allowing 
    1) Only adding / showning the pdf filename in the footer
    2) Auto Run/Execute on this script for all documents, which means without any click but it will auto showing the "filename at footer" when any document opening.  
    Hope any experts can give a help on this.   
    PS: Currently using Adobe Acrobat 10 & Reader 11 // OS = Windows 7 
    Many thanks ^^

    My code for above method is Floor #2
    var FileNM = this.documentFileName;
    for (var p = 0; p < this.numPages; p++)
    var fd = this.addField("xftDate", "text", p, [30,15, 290,30]);
    fd.textSize=5; fd.value = " (" + FileNM +")";
    It works for me & my PC, however I unable to applied same things into a JavaScript.js file
    Hope any experts could help and advice.
    Many thanks.

  • While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra positi

    While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra position and also pdf generated from this word file also contains the same.

  • Save dynamic PDF as flattened or read only

    I finished filling a form, which is a dynamic PDF. Now that I'm done filling it out, I want to save it as a regular PDF, where the fields cannot be edited, and anyone can open it without needing a special version of adobe (basically just a regular PDF viewer), since it's easier to email, and anyone can open it without a problem. Can this be done?
    I have a MacBook Pro, with Yosemite OS.
    Thanks guys

    Do you understand what "flattening" a PDF does?
    It converts fields and annotations content into the context of the PDF and removes the form fields and annotations and they cannot be recovered to their original objects.
    I would look at making the fields read only and using a digital signature to disclose if the PDF has been changed after the signature has been applied.

  • Reader XI "save" button creates "save as"-dialog in a dynamic PDF

    I made a dynamic PDF with LCD ES4. Sometimes it occurs that a "save as"-dialog appears though I pushed the "save"-button. I am using Reader XI 11.0.07 on a Windows 7 Pro system. Suggestions?

    This don't seems to be a problem of the form.
    It's more likely that Readers save operation fails because the file is used by another process (Exploerers preview pane for example) or there are no rights to save into the current directory.

  • FM10 Book to PDF - show title (not PDF filename) in Reader header?

    FrameMaker 10.0.2.419 + Distiller X Pro 10.1.438 -> Adobe Reader X
    I have a FM book file with a title along the lines of 'Worked Examples'. When I save it to PDF with Distiller and view the PDF in Adobe Reader X, the reader's header bar shows the PDF filename e.g. wex.pdf, but I want it to show the book title Worked Examples.
    I assume there's a setting in Distiller that forces Reader to show the book title not the file name, but having trawled through the settings/help/forums I can't see it. It's probably blindingly obvious (when you know the answer!), but can anyone tell me how I can get Reader to show a book's title in its header?

    Note: I have partially solved this issue by loading the PDF into Acrobat X Pro and going to File > Properties, and on the Doc Properties > Initial View tab selecting 'Show = Document Title', and then saving the PDF. I'm hoping to figure out (or get told!) a way of achieving this from my FM10 book file though.

  • PDF Filename is entire path

    I am outputting a report to PDF and its all working fine
    except for one thing, and that is that the pdf's filename is the
    entire path to the file instead of just the filename. This is the
    code I am using in the cfdocument tag:
    <cfdocument format="pdf"
    filename="#request.baseRefTempFile#\#form.collectorLongName#_AssignedSamples.pdf"
    fontembed="yes" overwrite="yes"
    saveasname="#form.collectorLongName#_AssignedSamples.pdf"
    scale="100">
    request.basereftempfile is a variable pointing at the folder
    where the pdf is saved. Its saving it there correctly. Its just the
    filename is the entire path but it omits the directory slashed and
    replaces them with underscores.
    Any help would be much appreciated .Thanks very much

    I am currently using the same method and the working code is
    below. I do not use the saveasname. Have you tried without?
    <cfdocument
    filename="#application.reportPath##dateFormat(todaysDate,'yyyymmdd')#-#UserKey#.pdf"
    format="PDF" pagetype="letter" margintop="0" marginbottom="0"
    marginright="0" marginleft="0" orientation="portrait"
    backgroundvisible="yes" overwrite="yes" fontembed="yes">

  • How to include image in dynamic .pdf CF8

    What is the proper way to include an image in a dynamic .pdf?
    In CF7, I did this.
    <img src="file://///xxxDocServer/HiRes
    Photos#Biography.File_Path#" width="119" height="153" />

    Hello,
    Someone maybe able to help you here https://discussions.apple.com/community/books
    Good luck

  • How to make dynamic PDF form flowable across 2 pages in LiveCycle?

    I have a dynamic PDF form that is flowable on each page but not both. By that I mean that the fields on the 2nd page won't move to the 1st page if there is available space. How can I make the entire document flowable? I am using Adobe LiveCycle ES2 Designer to create the form. Thank you in advance.

    Hi,
    you need just one page which is flowable and allows page breaks.

  • Word 2013 - Publish as PDF or XPS button causes excessive registry queries / high CPU when added to quick access toolbar

    After installing Office 2013 Pro Plus on our XenApp 6.5 environment we noticed a drop in performance. Using taskmanager we could see winword.exe hit 20+% CPU usage when filling just 1 line with the same letter.
    Some investigating lead us to the "Publish as PDF or XPS button", when it is added to the quick access toolbar the cpu usage doubles during keystrokes. Using procmon I noticed excessive registry reading, up to 150,000 lines in 10 seconds.
    It seems to be a constant loop of the same queries to approx. 100 components in HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\
    I reproduced this in 3 different setups:
    Win2008R2 + Office2013 Pro Plus 32-bit + Office 2013 updates until 12-nov 2014
    Win 8.1 Laptop + Office2013 Pro Plus 32-bit + Office 2013 updates until 05-jan 2015
    Win 8.1 Desktop + Office2013 Pro Plus 64-bit + Office 2013 updates until 17-dec 2014
    Can anyone verify this behaviour? For now we've removed the shortcut from the quick access toolbar in our environment.
    Here's a small portion of the queries.
    19:22:49,7117781 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7117861 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1A89310DF62F54544A1465F790A7757D SUCCESS Desired Access: Read
    19:22:49,7117969 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1A89310DF62F54544A1465F790A7757D\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 130, Data: C:\?Program Files\Common
    Files\Microsoft Shared\OFFICE15\MSO.DLL
    19:22:49,7118058 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\1A89310DF62F54544A1465F790A7757D SUCCESS
    19:22:49,7118154 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7118232 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\837CF31208764B643868B58117357D20 SUCCESS Desired Access: Read
    19:22:49,7118332 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\837CF31208764B643868B58117357D20\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 112, Data: C:\Program Files\Microsoft
    Office\Office15\OUTLFLTR.DLL
    19:22:49,7118415 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\837CF31208764B643868B58117357D20 SUCCESS
    19:22:49,7118511 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7118586 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855 SUCCESS Desired Access: Read
    19:22:49,7118694 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855\00005109110000000100000000F01FEC BUFFER OVERFLOW Length: 144
    19:22:49,7118769 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 134, Data: C:\Program Files\Common
    Files\Microsoft Shared\OFFICE15\FLTLDR.EXE
    19:22:49,7118849 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\FDFFB7C3B3B7DA048B21B3A72D1BF855 SUCCESS
    19:22:49,7118949 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7119023 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BF574A30F66E6D54186C7F15B116E7A3 SUCCESS Desired Access: Read
    19:22:49,7119123 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BF574A30F66E6D54186C7F15B116E7A3\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 100, Data: 20:\CLSID\{000C0126-0000-0000-C000-000000000046}\
    19:22:49,7119203 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\BF574A30F66E6D54186C7F15B116E7A3 SUCCESS
    19:22:49,7119295 WINWORD.EXE 1484 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    19:22:49,7119369 WINWORD.EXE 1484 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\017CCC9DE12773C4FAD559D2951B14C6 SUCCESS Desired Access: Read
    19:22:49,7119466 WINWORD.EXE 1484 RegQueryValue HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\017CCC9DE12773C4FAD559D2951B14C6\00005109110000000100000000F01FEC SUCCESS Type: REG_SZ, Length: 128, Data: 22:\Software\Microsoft\Office\15.0\User
    Settings\Mso_Core\Count
    19:22:49,7119544 WINWORD.EXE 1484 RegCloseKey HKLM\SOFTWARE\MICROSOFT\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\017CCC9DE12773C4FAD559D2951B14C6 SUCCESS

    I'll do that, I'm however still interested if somebody can confirm the excessive registry queries.
    As a brief test, I captured winword.exe (2013) registry-reads on my Win8.1 pc (64bit Windows), with ProcMon.
    this is over a capture period of less than one second
    2092 of 2352 contain "component" in the reg path
    this is when I have winword open and whilst "File, Export" is displayed (this is what offers the export-to-PDF option)
    vs.  168 registry operations in an interval of 10 seconds, by winword.exe, if word is simply "running in background with an open blank document"
    I'm not sure if that is useful, but it seems an awful lot of registry reads/writes from an application which isn't apparently doing anything at the time..
    EDIT: similar registry read/write rate, when save-as-pdf is added to QAT (again sitting idle on a blank document). the registry read/write rate drops back down to 160 if the save-as-pdf feature is then removed from QAT.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for