How to set parameter in rtf template

Hi,
I've created a data model query using a parameter in BI Publisher Enterprise. When I'm showing the data I'm first ask for the parameter value.
Now I want to create a rtf template in BI Publisher Desktop. What do I have to do that the user can set the parameter and then see the result? So how to set the parameter in my query?
Thanks
chrissy

Hey Chrissy... i am realy sorry, i have guided u in the wrong way...
Above which i have explained was about Variable....
To test passing a parameter value, ff you are using the:
XML Publisher Runner – on the Setting tab enter a new line containing:
Name: xslt. InvThresh
Value: 1000
Template Builder
In the config file under <<TEMPLATE_BUILDER_HOME>>/config enter under the Properties section:
<property name="xslt.InvThresh">1000</property>
<xsl:param name="InvThresh" select="0" xdofo:ctx="begin"/>
InvoiceNumber     Inovice Amount
Grp: Invoice13222-2     $100.00EFE
Grp: Invoice= <?for-each:G_INVOICE_NUM?><?if:ACCTD_AMT>$InvThresh?>
13222-2 = <?INVOICE_NUM?>
$100.00= <?ACCTD_AMT?>
EFE = <?end if?><?end for-each?>
Hope this will help u out....
sorry for tht .....
Thanks
Praveen Gollu.

Similar Messages

  • How to show Parameter in .rtf  Templates

    Dear All,
    Kindly guide me that how can I show Report Parameters in my templates. I'll be very thankful to you for this.
    Regards
    Zain A. Siddiqui

    Hi Zain,
    If you are still looking for a solution, I would suggest trying this.
    Have another group in your report which selects parameters from fnd_concurrent_requests
    table based on the value of p_conc_request_id of your request..
    This group will show up in your xml which yiou can use.
    -Krishna.

  • How to set footers in RTF template

    Hi All,
    I need to display t&c at the bottom of each and every page except last page.There is an option for different first page footer, but when i use different first page footer option for first page and for other pages if i give the t&c footer in the next page,its getting displayed in all the pages, is there any way to restrict the footer to be displayed in last page?

    Take a look at the section titled: Last Page Only Content in the following guide. You should be able to create a footer only on the last page using this feature..
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    Thanks,
    BIPuser

  • Change value parameter in RTF template

    Hi
    sorry if possible change a value parameter in RTF template?
    Thanks in advance for any insights!

    Thanks but I already tried it and it works.But if there is a second page with the parameter value rebooting.
    For this reason I wanted to reset the parameter value.
    Thanks

  • How to use XDOXSLT in rtf template layout for etext template creation

    <DEFINE CONCATENATION>     BookDetails
    <BASE LEVEL>     Category
    <ELEMENT> Name || '/' || Price     
    <DELIMITER>      '/'
    <END DEFINE CONCATENATION>     BookDetails
    With EFTProcessor the above details are created in xsl file as follows
    <xsl:template name="CONCAT_BookDetails">
    *I need to declare one more variable here
    EG: <xsl:value-of select="xdoxslt:set_variable($mycount, count(.//Category))"/>
    --and use this variable for any dyanamic process inside this template. How to achieve this in rtf template by declaring a xdoxslt function. How to declare this
    syntax in rtf layout so that it creates a varibale in xsl template using the EFTProcessor. Please help me out. The main point here is to include xslt functions in
    rtf template layout for etext template creation.*
    <xsl:for-each select=".//Category">
    <xsl:call-template name="CONCAT_BookDetails_V"/>
    </xsl:for-each>
    </xsl:template>

    in the next time use BI Publisher forum - BI Publisher
    <?format-number(ENTERED_CR,'##,##0.00')?>it's works for me
    output:
    444    ->  444.00
    444.55 ->  444.55

  • How to print Title in RTF Template

    I want to define the Title of the Report Using Word
    File -> Properties -> Summary
    Say XYZ
    I would then like to reference this Title in my RTF Template. What syntax i can use for this?

    I want to use the Title property in Sub template which is common for all my templates. I know I can accomplish this by defining a parameter in main template and then passing it as parameter to the sub template. However i thought that Word properties is a more proper place for placing the title and somehow i need to reference it in my rtf template to that i can pass it as a parameter.

  • How to set data in rtf document?

    Hi friends,
    I have a rtf document can anyone suggest how to set data in cells of an rtf document?Is there any way?
    Thanks in advance..
    Regards ,
    Soumyanil

    Convert the resultSet from the db to a Object[][], let's call it result.
    Then create a JTable (jTable1).
    On the JTable you need to define the headers, and the data itself.
    You can get the headers from ResultSetMetaData. Convert these to an array again (headers).
    Now use these methods to create a model and set the model of the JTable.
    Model model =  new DefaultTableModel(result, headers);
    jTable1.setModel(model);That's about the basics.
    If you need more info, use at the tutorial at sun's homepage.
    How to use Tables:
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

  • How to set parameter id for a field, which is in disable mode ?

    Hi,
    I Have to set parameter id for field ledger for transaction FAGLB03, which is in disable mode, i have to set it through program,please let me know how to set it.
    Thanks.

    Say i have 5 rows then
    for(int i=1;i<=5;i++){
    String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
    web.text_area(Newpath).setText("Text to be set")
    Below function is used to update my path
    public String updatepath(String path,int i) throws exception {
    String FPath = "";
    if(i<2) {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    } else {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    return Fpath
    anyother way to update path and set the fields in mutiple block is appreciable
    thanks
    Suresh

  • Can the pdf title and author properites be set from an RTF template

    Is it possible to set the out PDF properties from the RTF template? That is the properties you see when you select file properties in the pdf viewer.
    Noticed a code snippet in another post that would appear to set some of the properties when using PDF book binder.
    Properties prop = new Properties();
    prop.setProperty(Constants.SYSTE_TEMP_DIR, location);
    prop.setProperty(Constants.SYSTEM_CACHE_PAGE_SIZE, Constants.NUM_50);
    prop.setProperty(Constants.PDF_COMPRESSION, Constants.BOOLEAN_TRUE);
    {color:#0000ff}
    prop.setProperty(Constants.PDF_TITLE, "Custom PDR");{color}
    prop.setProperty(Constants.INCLUDE_TOC_PAGE_NUM, Constants.BOOLEAN_TRUE);
    pdfBookBinder.setConfig(prop);
    Also found the posting about setting the pdf security property by seting word custom properties. Tried combining the two but is did not work. Any ideas anyone?

    For anyone who is interested, this was caused by our email client, not BIP.

  • How can change parameter field prompt template?

    Post Author: hnategh
    CA Forum: General
    Hello ,
    I make a report by crystal report 10 and i use of parameter fields .I call my report in visual studio 2005 and run it on a asp page.when run the report page ,I look a prompt for parameter field that it has a default template .How can i change the parameter fields prompt template on my report page? 
    Thank you. 

    To make the change permanent you need to use the same Folders submenu and select either Save ... or Save As.... I would recommend the latter and give the folder your own custom name as this then differentiates any changes from the seeded folders / other locations who might also be using this folder etc.
    Thereafter, either your users will have to select the folder or (better) you can use the Administer Folders option in SysAdmin to default the folder to a particular responsibility or responsibilities.
    Regards,
    Jon

  • How to round numbers in RTF templates?

    Hello!
    I'm using BI Publisher for Word (Oracle BI Publisher Builder for Word 10.1.3.4.1) to build a template to my BI Publisher report and I want to calculate this:
    avg(X)/(avg(Y)-avg(Z)/0.9)
    The result should be rounded to 3 places.
    I tried:
    <?(sum(X) div count(X)) div ((sum(Y) div count(Y)) - (sum(Z) div count(Z)) div 0.9)?>
    and I obtained the expected result.
    But, when I try to round in this way:
    <?xdofx:round((sum(X) div count(X)) div ((sum(Y) div count(Y))-(sum(Z) div count(Z)) div 0.9),3)?>
    I obtain 0 when is expected other value.
    Can someone help me?

    Hi ,
    You can select the number format in RTF template .Double click the Form Field select
    Type :Number
    Number Format :#,##0.000
    Thanks.

  • How to Format number in RTF template?

    Hi,
    In RTF template i am using Format_number for custom requirement. when i am using below conditon <?format-number(ENTERED_CR,'##,##0.00')?> number is getting formatted if above 1000 only. My requirement is 1). 444 should format like 444.00 2). 444.55 should format like 444.55 only. Can anyone suggest on this ASAP.

    in the next time use BI Publisher forum - BI Publisher
    <?format-number(ENTERED_CR,'##,##0.00')?>it's works for me
    output:
    444    ->  444.00
    444.55 ->  444.55

  • How to Sort Date in RTF template

    Hi
    in my report i have name, date_arrival, Time_arrival, Hotel. I created a report grouped by hotel. On the screen it's working OK. when I print yusing RTF created template, the date is not sorted as expected.
    Thanks,
    Ribhi

    I have read much about date formating. I think some of the functionality in to_chat and to_date is changing between versions. I don't know that this is the simplest way, but it is the only way that worked for me:
    <?sort: xdoxslt:format_date (ssPrimaryRevenueCloseDate,’ yyyyMMDD’, ’MM/DD/yyyy’,’Europe/London’,’GMT’)?>
    I do not understand why this function is not in the documentation.
    Edited by: user10189185 on 17-Mar-2009 05:01

  • How to hide codings in RTF Template

    Hi,
    I'm currently making a report which involves intensive calculation logics, for which I have no choice but to write intensive coding such as <?choose:?>, <?if:?>, <?xdoxslt:set_variable....?>. Howevever, even though all my codes are not supposed to output anything (all the logics are for setting up varialbles). There will be blank lines generated in the report outputs which mess up my format. Pls. don't suggest form fields as most of my lines are too long for the form field help properties to handle.
    Does anyone know a good way to hide coding in the RTF which won't affect the layout of the report?
    TIA,
    Jonathan

    BI Publisher 11g MSFT Plugin now offers a feature (not backward compatible) that allows up to 48kb of code in a form field. This enhancement is important as the original MSFT property limited this to be about 393 chars. Check this link for an example of this limitation: http://oraclebiblog.blogspot.com/2009/11/biee-and-bi-publishers-integration-best.html
    regards
    Jorge
    p.s I do not see other option. So please just close this post

  • How to set from field in template

    Hi all,
    We are using templates that always should be SentOnBehalfOf but as you can imagine it is often forgotten to change the from field ...
    Is there a way to set the from field to a pre-defined value? I don't get it done. Thanks for any suggestion.

    Glad to hear that you found the solution. Thank you for sharing it here, it will be helpful to other community members who encounter similar problem.
    Cheers,
    Steve Fan
    TechNet Community Support

Maybe you are looking for