How to dynamically set the name of the generated PDF file sent by email

Hello,
I am using Reports 10g and I managed to send PDF reports by email, specifying the recipient, subject, format etc, using the reports servlet URL.
But there is one thing that I cannot find a way to do: I want to dynamically set the name of the attached file. It defaults to the name of the RDF file (eg monthly_sales.pdf). I would like it to be something more meaningful (eg monthly_sales_072010.pdf, where 072010 is the month and year passed by parameters).
Is it possible to do it?
Thanks
Luis

Use System.load(...) instead of System.loadLibrary(...).

Similar Messages

  • How to dynamically set column name in Answers

    Hi.
    How to dynamically set column name in Answers, for example I want to put presentation variable in column header. Is this possible?
    Regards,
    Goran Ocko
    http://108obiee.blogspot.com/

    May be a rude way .. but it works.
    Add narrative view and use Java script to change the column headings based on the variables.
    <script language="javascript" type="text/javascript">
    var a = document.getElementById('idResultsTableParent');
    var rows= a.getElementsByTagName('tr');
    rows[1].cells[1].innerText ="@{Presentation Variable}";
    </script>
    Editing the same post to remove irrelevant information.
    - Girish

  • How to dynamic set table names

    In our application, the table name can be set at runtime by the customer. So is there a way in Toplink JPA to set table name at runtime (thru annotation or orm.xml) or programatically? Thanks.

    Our application will host several domains at once. Each domain will get its own set of database tables for each module it uses. We keep them seperate by using a unique prefix. An example would be domainA.com's blog post table would be called domainA_blogPost, while domainB.com's will be domainB_blogPost. Both tables are the same, except for the name. The name needs to be specified at runtime since the central service controller tells the rest of the application which domain it is servicing and thus which set of tables to use. We will be adding domains dynamically all the time and we can't afford to create new entity sets and recompile the back end for every domain we add. I have been looking at the API and wonder if this is as simple as implementing a solution in our application, or am I going to have to tweek the implementation of toplink?

  • EMOD- How do I set company name as the "From" field?

    Can anyone tell me how I can make my company name as the From field, so that when people get the e-mail it says, "From: Acme Widgets, Inc." ?
    Thus far in my tests I have only been able to get an e-mail address to appear in the From field
    Thanks!

    There does need to be an email address in the From field. You can do something like this to show the company name and an email address in the From:
    Initech, Inc. ${Contact.Owner Email Address}

  • In printing from download how do you set your printer to print a pdf file without having to save it

    i am using a HP OFFICEJET4500 G510g printer. i am usinmg a program that i am allowled to retrive prepareed documents that are pdf formated. my question is how to set my printer to print these pdf formatted document without having to save the document first

    Hi there alpo64,
    Could you provide the community with a little more information to help narrow troubleshooting? What operating system and browser are we using?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Can anyone tell me how to change the names of the networks I have set up on Airport Express

    Can anyone tell me how to change the names of the networks I have set up on Airport Express please? I now work in a UN compound and my network is my own name, would prefer some anonymity so seeking to change the wifi network name that others might see.

    Hi mkl1961,
    Happy Holidays!  The article below will explain how to reset your Airport Express and change the network and base station names back to their defaults.  
    Resetting an AirPort base station FAQ - Apple Support
    http://support.apple.com/en-us/HT3728
    What default settings will my AirPort base station have after a hard or factory default reset?
    AirPort base stations are set to request an IP address by DHCP.
    AirPort base station passwords are "public."
    AirPort base station names revert to "base station xxxxxx," where xxxxxx is the last six digits of the wireless MAC address*.
    AirPort base station network names are "Apple Network xxxxxx," where xxxxxx is the last six digits of the wireless MAC address*.
    *A MAC (Media Access Control) address, also known as a "network ID," is a unique hardware identification number for a network port.  You can find the wireless and Ethernet network IDs on the printed label on the bottom or side of the device.
    Airport Express Setup Guide
    manuals.info.apple.com/MANUALS/1000/MA1613/en_US/airport_express_80211n_2nd_gen _setup_guide.pdf
    I hope this information helps ....
    - Judy

  • How can I keep Itunes from wanting to put my music cd in the compilations folder.  Even a 2 disc set sometimes itunes will place one cd in a folder of the name of the band and the other disc in the compilations folder under the name of the cd

    Two issues.  The first one is that when I upload some music cd's into my itunes library, itunes wants to place the songs in a compilations folder.  Sometimes this occurs even with a 2 or 3 cd set.  One CD will be filed under the artists name and the disc 2 may be filed in the compilations folder and listed by the name of the cd and not the artist.
    2nd issue is that sometimes cd's are similiar, but with different artists such as 20th century Hits of Neil Young.  The CD is filed in the compilations folder.  Than I upload the 20th century Hits of Tanya Tucker and the songs go into the same folder with Neil Young.  The don't even mix as one is county and the other is rock.
    I have moved these CD's out of the compilations folder and moved them in with the other cd's by the same artist, but Itunes keeps moving them back into the compilations folder.
    Is there a fix

    Generally setting a common Album title and Album Artist will fix things.
    For compilations that aren't, select all tracks, Get Info, and on the option tab set Part of a Compilation to No. If it already says No tick the box alongside, then click OK.
    For deeper problems see Grouping tracks into albums.
    tt2

  • How can i set a column which would show me the name of the user

    how can i write a trigger which would show me the name of the user now make changes in the table.

    872959 wrote:
    how can i write a trigger which would show me the name of the user now make changes in the table.I think what sb is trying to say is: if you mean the database user, you can use the USER session variable to identify the database user:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions227.htm#SQLRF06156
    you would write a before each row trigger to update an "updated_by" column on your table to be USER.
    e.g.:
    :new.updated_by := USER;

  • How to change the name of the column for dynamic query

    I would like to change the name of the column name to bidderone, biddertwo and bidderthree. the only problem is the vendors name unknown when I run the query and sometimes the query returns two vendors. the maximum vendor is three. here is the query and please let me know how this can be done. thank you so much. I am using oracle 10i
    FOR lv_rec IN   ( SELECT vendor, calcbtot
      FROM (SELECT t.*, ROW_NUMBER () OVER (ORDER BY t.calcbtot Asc) rn
              FROM (  SELECT DISTINCT
                             s.vendor,
                             TO_CHAR (s.calcbtot, '999,999,999.00') calcbtot
                        FROM bidtabs b, bidders s
                       WHERE     b.CALL = s.CALL
                             AND b.letting = s.letting
                             AND b.vendor = s.vendor
                             AND b.letting = v_letting
                             AND b.CALL = v_call
                    ORDER BY 2) t)
    WHERE rn <= 3 )                 
       LOOP
          lv_sql :=
                lv_sql  || ', TO_CHAR(MAX(DECODE(TRIM(S.VENDOR),'''|| TRIM (lv_rec.vendor) || ''', S.BIDPRICE)),  ''$999,999,999.00'') AS "'|| TRIM (lv_rec.vendor) ||'" ';
       END LOOP;

    thank you so so much for your help on this. I am sorry i did not post the entire code. my intention is to use bidderone, biddertwo,bidderthree as a column name insead of the name of the vendors and also calcuate the average of the three vendors. the maximum vendor will be three but the minumum could be one or two. hope this is enought information to help me out further . thank you
    CREATE OR REPLACE PROCEDURE biddersquoteforbridge (
       p_spnumber   IN       VARCHAR2,
       p_result     OUT      sys_refcursor
    IS
       v_letting   VARCHAR2 (40);
       v_call      VARCHAR2 (40);
       lv_sql      VARCHAR2 (32767) := NULL;
    BEGIN
       SELECT DISTINCT L.LETTING, CALL
                  INTO v_letting, v_call
                  FROM LETPROP L, PROPOSAL P
                 WHERE L.LCONTID = P.CONTID AND CPROJNUM= p_spnumber;
       lv_sql :=
          'SELECT   O.PRPITEM "Item Number",
                    INITCAP(FUNC_GET_ITEM_DESCRIPTION(O.PRPITEM)) "Description",
                    O.CONTID "Contract Id",O.SECTION "Section" , P.CPROJNUM "SP Number", P.CFACSSUP "District",
                    FUNCT_GET_SECTION_IDENTIFIER(O.SECTION, O.CONTID) "Section Title",  ''Q''||(TO_CHAR(D.DATELET, ''Q-YYYY'')) "Quarter",
                    O.IPLINENO "Line Number", O.QTY "Quantity" ';
      FOR lv_rec IN   ( SELECT vendor, calcbtot
      FROM (SELECT t.*, ROW_NUMBER () OVER (ORDER BY t.calcbtot Asc) rn
              FROM (  SELECT DISTINCT
                             s.vendor,
                             TO_CHAR (s.calcbtot, '999,999,999.00') calcbtot
                        FROM bidtabs b, bidders s
                       WHERE     b.CALL = s.CALL
                             AND b.letting = s.letting
                             AND b.vendor = s.vendor
                             AND b.letting = v_letting
                             AND b.CALL = v_call
                    ORDER BY 2) t)
    WHERE rn <= 3 )                 
       LOOP
          lv_sql :=
                lv_sql  || ', TO_CHAR(MAX(DECODE(TRIM(S.VENDOR),'''|| TRIM (lv_rec.vendor) || ''', S.BIDPRICE)),  ''$999,999,999.00'') AS "'|| TRIM (lv_rec.vendor) ||'" ';
       END LOOP;
       lv_sql :=
             lv_sql
          || '
            FROM   PROPITEM O  ,                   
                   PROPOSAL P  ,
                   LETPROP  L  ,
                   BIDDERS  B  ,
                   BIDTABS  S  ,
                   BIDLET   D
             WHERE O.CONTID = P.CONTID
                    AND P.CONTID = L.LCONTID
                    AND L.CALL = B.CALL
                    AND L.LETTING = B.LETTING
                    AND B.CALL = S.CALL             
                    AND B.LETTING = S.LETTING
                    AND B.VENDOR = S.VENDOR 
                    AND S.IPLINENO = O.IPLINENO
                    AND L.LETTING = D.LETTING             
                    AND O.LINEFLAG =''L''    
                    AND L.LETTING = :B1
                    AND L.CALL = :B2
             GROUP BY
                   O.CONTID,
                   O.SECTION,
                   O.IPLINENO,
                   O.PRPITEM,
                   O.QTY,
                   P.CPROJNUM,
                   P.CFACSSUP,
                   O.PRICE ,
                   D.DATELET             
             ORDER BY O.IPLINENO ';
      -- DBMS_OUTPUT.put_line (lv_sql);
       OPEN p_result FOR lv_sql USING v_letting, v_call;
    END;

  • [web] how can i set the name of an exported html file

    Hi,  I'm writing a plugin to export galleries for my homepage (standard html stuff). My current solution works and it creates a file named "index.html" and some additional stuff. Now I want to change the name of the created html file in the plugin (for example create a file galleryX.html with X being a number that is entered by the user). Is there a way to do this?  Thank you in advance, Sebastian

    I think the names of the files come from the plugin manifest. So you would create a file used as a template, and the name of that file would be the name of the resulting file.
    AddPhotoPages and AddGridPages take options to control the target HTML filename that might give you what you want, as well.

  • Can the name of the TASK bound to process level determined dynamically?

    In the 'Complete and Order' step of shopping cart scenario, we can display/ edit agents. This function enable us to see the approver list. In the 2nd column Process Step, there will be a description of the approver, which is the name of the corresponding task in the BRF process level. But when we want to reuse the task for several process level, we need to dynamically set this description. Since it is a name of the TASK, how can we achieve that?
    Thanks for reading.

    Actually this is what I was trying to do:
    <select name="<c:out value="${id}"/>versions" >
    <c:if test="${param.{id}versions == yyy}"> selected </c:if>
    </select>
    Do you know how to make the comparision works? The problem is the double curly bracket.
    Thanks again

  • How to get the name of the current tab.

    Hi Experts,
    I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
    Thanks in advance.
    Regards,
    Arun

    1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
    2. Declare an Import Parameter in this method
       Tab type String.
    3. This parameter has value of the selected TAB.
    4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
         wd_this->Att  = Tab.
    Att is the attribute created by you in Attributes Tab of View. ( of type String)
    5. Now the selected Tab ID is stored in this Attribute Att.
    6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
               Data : lv type string.
                lv =  wd_this->Att
    Now lv has your selected TAB ID.
    I hope it would help you.
    Edited by: Saurav Mago on Oct 13, 2009 2:22 PM

  • How do I change the name of the Home folder OSX 10.9

    Hi there,
    I am trying to change the name of the Home folder on my Macbook Pro running OSX 10.9  I had a clean install of 10.9, and used migration assistant to restore my settings from a Time Machine Backup. 
    The problem is that the Home folder for my user is now named "Cody 1" when it used to be "Cody".  This seems like a minor issue, but all the programs that reference data in the old location, are forcing me to go and find the data manually.  Everything from iPhoto to VirtualBox, all files have to be found manually. 
    I have tried the instructions set forth in this article, http://support.apple.com/kb/ht1428, but the dialog that should, according to the article, allow me to redirect the account to the existing folder, returns an error saying that the user name is already in use.  There is no option to use the existing folder.  I have tried re-naming the folder to something different, to no avail. 
    Ideas?
    Thanks in advance. 
    -Cody

    The Apple Support document you referenced is cumbersome, outdated, buggy, and too likely to result in the sort of problems you described.
    It may be too late now but see the following:
    Niel's post here: How to change name of home folder
    and:
    Apple Support Communities contributor Pondini found an astonishingly simple way to accomplish what you seek. etresoft distilled that information into the following User Tip:
    Changing user account short name
    Note that he writes it has been tested on Mountain Lion but the procedure appears sound and should work equally well with Mavericks.
    Back up your system before doing either one.
    To fix what happened might be possible in Single user mode. I don't have specific instructions but you should be able to find and delete user accounts in the /Users directory.
    Type carefully and don't proceed without knowing the risks.

  • How to get the name of the selected building block in a building block content control?

    Hello,
    How can I obtain the name of the selected building block in a building block content control?
    I want to use this together with an on exit-event to populate other content Controls depending on the name of the selected building block item.
    Environment: Word 2010.
    Thanks,
    Peeter

    Hi Peeter,
    As far as I know the building block is the pre-built content, and the
    BuildingBlock object represents a building block in a template. After add the building block to the document, it inserts the content to the document.
    Building blocks are stored in the templates, therefore, to access the building blocks available for a document, we need to access an attached template.
    So, I think, we can’t obtain selected building block in the document.
    There are some links that may benefit you:
    # BdingBlock Object (Word)
    https://msdn.microsoft.com/en-us/library/office/ff192414.aspx?f=255&MSPPError=-2147217396
    # Working with Building Blocks
    https://msdn.microsoft.com/en-us/library/office/ff837878.aspx
    # Set the Building Blocks That You Can Use for a Content Control
    https://msdn.microsoft.com/en-us/library/office/ff197523.aspx
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get the name of the subform

    Hi All,
    My form is designed in the below structure.
    masgterpage-->form1-->table
                                  -->subform
    How can i get the name of the subform dynamically(as it varies from page to page, but the rest of the structure is same).
    Please help me.
    Thank you,
    Saravanakumar.

    Hi there,
    the name property would be the correct attribute to get the subform name, just by looking at the code it doesn't seem like it's doing the right thing
    I am assuming that you send Main in the function countChk() which would look something like this
    countChk(Main);
    And you probably want to make sure you are entering the right subform so you need to keep that loop at the end of the function
    but if you want to get through all the checkboxes inside that subform you must do a loop through that node to find each checkbox
    I am assuming that the function would probably look something like this
    function countChk(vNode) {//Starts vNode with Main
         for (var i = 0; i < vNode.nodes.length; i++) {
              if (vNode.nodes.item(i).className === "field") {
                   if (vNode.ui.oneOfChild.className === "checkButton") {
                        if (vNode.items.nodes.length > 1) {
                             if (vNode.value.oneOfChild.value == 1) {
                                  nChk++ ;
              }else if (vNode.nodes.item(i).className === "subform"){
                   if (vNode.nodes.item(i).name === "Door_Subform"){
                        countChk(vNode.nodes.item(i));
         }//endloop
    Hope this help!

Maybe you are looking for

  • Keeping row and column headers while scrolling inside a Web Dynpro table

    Hi, I have to display a 2x2 matrix with storage location names on the x-axis (i.e. as Column Headers) and material names on the y-axis (i.e. row headers). The table data represents the quantities of a particular material in a particular storage locat

  • Body text appearing as TNR, not the default font

    I'm having a problem with the font settings with mail sent from Mail. I've set the default font to Arial, but all emails sent to other people (using Outlook under WinXP) see it as Times New Roman. I've even specifically selected Arial from the Font P

  • Doc. in FBL1N but not in F-04

    Hi All, Do you kindly let me know,why we are not able to find the some document in F-04 even though its available in FBL1N as open item. Let us put our case....  we made a down payment to a VENDOR 10000/- and posted 15 invoice  documents of this vend

  • Connecting kindle fire to wireless printer

    I have successfully installed the wireless printer (hp deskjet2540) on my laptop but cannot understand how to link printer with my kindle fire? I've downloaded the hp e print app but it's no help at all and despite following instructions to print an

  • Slingbox AND Airplay with one express possible?

    I two Airport Express units, one connected to my modem (WDS main) and a second connected to a Slingbox (via ethernet cable) and my stereo.  I can get the Slingbox to work on my network, but not airplay (and vise versa).  When the Slingbox is configur