Datatype change in RTF template

Hi Team,
I am not sure if this can be done, but, do we have a way in which we can change the datatype of a column in rtf template while preparing the template.
Can you please help!
Thanks
Bhupendra
Edited by: Bhupendra Gupta on Sep 9, 2009 4:21 AM

Thanks for replying Vetsrini.
Say i have a rtf template with which i will generate an csv report, and am not able to retain zeros in csv.(have posted one more post on this)
So i want to convert a number column in database to character or string in rtf so that i can try if the leading zero problem is still there.
I need CSV file because we have more 60k rows of records and csv does not do formatting.
Sorry for posting 2 threads on this.
But i need this to be get going as soon as i can
Can you please help me out with this!
Thanks
Bhupendra

Similar Messages

  • 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

  • RTF Template Logo boarders get changed in apps pdf output

    Hi,
    I developed rtf template with logo , rtf page header is 0" and margins are 0.2" and 0.25" (minimum for ms word to print).
    I don't want to have any space b/w header and logo.
    Preview in rtf template in pdf format is showing with correct margins.
    But when i print the pdf preview, the logo changes its positin..ie..margins get changed.
    when i attach to template in apps, the pdf output is coming with different boarders sizes.
    PDF O/P is having space at the header ie..b/w header and logo.
    any suggestions.
    Thanks.

    I figured out why the layout is changing when I print - page scaling option in Adobe was set to 'fit to printable area'. Is there some way that I can ensure whomever prints the file (3rd party provider) has this setting turned off? A command embedded in the template? A config file?
    Any help would be sincerely appreciated.......

  • Changing HTML head in RTF template?

    Hello everybody,
    I have a question concerning RTF templates and BIP's HTML output: Is it possible to add information to the <head> section of HTML pages generated by BI Publisher when creating the RTF template? And if it is, can somebody tell me how to do it?
    Thanks in advance!

    Hello Naveen,
    thank you very much for the link. Unfortunately this seems to be unsupported by BI Publisher.
    Instead of showing my report, BIP displays the following error message: +"element Header is not supported yet."+
    Thank you again for your efforts.
    kv12

  • Excel changes needed from RTF Template

    Hi all,
    I created RTF template which it publish in excel format.I am getting correct report but here i want some Excel settings from RTF template.
    These all properties i want in Excel  output file which is generated from RTF.
    1) Page number must be displayed at the bottom of each printed page.
    2) Report should be landscape oriented.
    3) Column headers must display on each printed page of the report
    4) Page should be setup to print at 47%
    5) Freeze panes in one of cell.
    Thanks in advance!!!!
    Thanks
    KSS

    Hello KSS,
    ) Page number must be displayed at the bottom of each printed page.
    For this select the Insert-->Page Numbers and say position as bottom of the page.
    2) Report should be landscape oriented.
    Select File-->Pagesetup here select the oreintation as Landscape.
    3) Column headers must display on each printed page of the report
    You might have defined a table and included the desired values
    Select the table properties and go to the Row tab there check the option "Repeat as Header row at the top of each page"
    Kind Regards,
    Kumar.

  • Relative path for images in RTF templates

    Hi everybody!
    When I insert an image in a RTF template, I put its path into the web dialog, in order to see correctly the picture when I open the report from the xmlp server, in this way: url:{"http://servername/analytics/res/Images/image.bmp"}
    How can I make this path relative, in order to see the images even if the server name changes?
    Thanks so!
    Francesco

    Hi Tim,
    I am using BIP 10.1.3.3.2. I am able to access system variable CURRENT_SERVER URL.
    Steps:
    <?param@begin:CURRENT_SERVER_URL?>
    <xsl:value-of select="$ CURRENT_SERVER_URL"/>
    CURRENT_SERVER_URL is getting printed in BI Publisher. Value displayed is http://xx4697.xxx.co.in:9704/xmlpserver.
    Now we are importing xsl into RTF template. File aaa.xsl is stored at [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app]
    We have hardcoded the path for XSL in RTF. The path is <?import: http://xx4697.xxx.co.in:9704/aaa.xsl?>
    As we want to set dynamic path we changed hardcoded xsl path to <?import: {$CURRENT_SERVER_URL}/../aaa.xsl?> but it is not working. Sometimes BIP is taking local path of MyDocuments folder and sometimes Desktop path. If I put that XSL file in MyDocuments folder or Desktop, it is working fine. But ideally it should refer [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app] path...
    Thanks,
    Amit D

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • BI Publisher pcl codes in rtf template

    Hi all,
    I am using Oracle Business Intelligence 11.1.1.6.9, with oracle database 11G on windows server 2008. I have need to embed pcl commands in rtf templates for printing purposes, but not sure how to do that.
    Only thing I found was PCL codes for use when check printing, but also a sentence saying that other pcl commands may work.
    There are two things I need if possible - on runtime, depending on value of a filed to change font color (let us say that signature must be sometimes red, sometimes green (font color) in same document), and other is if there is a option for "highlight" saying printer from which ink to print picture (let us suppose that original image is black, but for large xerox printers with black + one color  you say use that other color).
    PCL printer I try to use for now is on HP laserjet MFP 375 pcl printer, with pcl5 and pcl6 drivers installed.
    Should I use in rtf field or can I type these codes in text like xsl commands?
    Do I have to use {{beginPCL}}  and {{EndPCL}}?
    Is it enought to use escape sequences like this? <pcl><control><esc/>&l2S</control></pcl>
    Thanks and greetings
    Mario

    Hey Vijay,
    You cannot query in RTF using select :)..
    You have to mess/play with RDF to do it ;)
    Oh wait, did i say , we cannot in RTF, we can , but that is difficult approach to go with., keep this as an end of the world option.

  • Calculations in RTF Template

    Hi All,
    I am new to BI Publisher and I am trying to create a template that will calculate growth for various fields.
    The data is split like (ignore # - using to show structure of XML):
    <YTDKPI>
    ###<YTDKPI_ROW>
    ######<FIELD 1>(Val)</FIELD 1>
    ######<FIELD 2>(Val)</FIELD 2>
    ######<FIELD 3>(Val)</FIELD 3>
    ###</YTDKPI_ROW>
    ###<YTDKPI_ROW>
    ######<FIELD 1>(Val)</FIELD 1>
    ######<FIELD 2>(Val)</FIELD 2>
    ######<FIELD 3>(Val)</FIELD 3>
    ###</YTDKPI_ROW>
    </YTDKPI>
    There are two <YTDKPI_ROW>, one for 2009, one for 2008.
    Within the template, I would like to calculate the growth year on year for each of the fields.
    My template so far looks like (again ignore #):
    |## KPI ###|##<?for-each-group@column:YTDKPI;./YEAR?>#####<?YEAR?><?end for-each-group?>##|
    |## YEAR ##|##<?for-each-group@column:YTDKPI_ROW;./YEAR?>#<?YEAR?><?end for-each-group?>##|
    |
    |## KPI 1 ##|##<?for-each-group@column:YTDKPI_ROW;./YEAR?><?FIELD1?><?end for-each-group?>##|
    |
    |## KPI 2 ##|##<?for-each-group@column:YTDKPI_ROW;./YEAR?><?FIELD2?><?end for-each-group?>##|
    |
    |## KPI 3 ##|##<?for-each-group@column:YTDKPI_ROW;./YEAR?><?FIELD3?><?end for-each-group?>##|
    |
    When previewed, this results in a 3 column table with the KPI's for 2008 in column 2 and the KPI's for 2009 in column 3 (names in column 1)
    If possible, I would like a 4th column to calculate the % change between 2008 and 2009.
    I would like to do this within the template as the above is a very simplified version of the actual and to have fields within the data for each of the growths would not be the preferred method.
    From the above I hope I have communicated exactly what I need!
    I think the problem I face is in specifying a particular row number within the data to perform a calculation?
    I may have started off completely wrong, so any advice would be useful.
    Please Help!
    Many Thanks
    note: the data is generated via an Answers report and the template has been created as an RTF template using Word 2007.

    Hi Vetsrini,
    That didn't work either. I think we need to take a step back to ensure I have not missed something.
    Please see below for a sample xml and the code from word:
    <DATA>
    <YTDKPI>
    <YTDKPI_ROW>
    <YEAR>2008</YEAR>
    <SALES>100</SALES>
    <PERCENT_TO_PLAN>0.8</PERCENT_TO_PLAN>
    </YTDKPI_ROW>
    <YTDKPI_ROW>
    <YEAR>2009</YEAR>
    <SALES>150</SALES>
    <PERCENT_TO_PLAN>0.85</PERCENT_TO_PLAN>
    </YTDKPI_ROW>
    </YTDKPI>
    </DATA>
    YEAR     <?for-each-group@column:YTDKPI_ROW;./YEAR?><?YEAR?><?end for-each-group?>     <? (/YTDKPI/YTDKPI_ROW[1]/YEAR div /YTDKPI/YTDKPI_ROW[2]/YEAR)?>
    SALES     <?for-each-group@column:YTDKPI_ROW;./YEAR?><?SALES?><?end for-each-group?>     <? (/YTDKPI/YTDKPI_ROW[1]/SALES div /YTDKPI/YTDKPI_ROW[2]/SALES)?>
    PERCENT TO PLAN     <?for-each-group@column:YTDKPI_ROW;./YEAR?><?PERCENT_TO_PLAN?><?end for-each-group?>     <? (/YTDKPI/YTDKPI_ROW[1]/PERCENT_TO_PLAN div /YTDKPI/YTDKPI_ROW[2]/PERCENT_TO_PLAN)?>From loading the xml data into word, copying and pasting the code into word (2007) and previewing I get:
    YEAR
    2008
    2009
    NaN
    SALES
    100
    150
    NaN
    PERCENT TO PLAN
    0.8
    0.85
    NaN
    If I use the other suggestion, for the calculation, it returns a blank cell.
    Please Help! What do I need to do?
    Again Many Thanks,
    Edited by: user11240727 on 17-Sep-2009 02:06

  • Find and replace in RTF Template

    Hi,
    I'm using a if statement in my template, but i need to change a value within this statement. It's being used multiple times, therefor it would be easier to do a find and replace, is there a way to do a find and replace within the RTF template? Already openede it in Notepad++, but no luck
    Osman

    I don't think there is a way to find and replace all.. You can view all the code by using Field Browser -> Show All and then replace the code and update one by one from there..
    Thanks,
    Bipuser

  • In Rtf Template ,table is not fit with window after hide columns

    Hi,
    In my RTF template i have table with 5 columns in that 3 colums will display based on condition. During runtime it showing correctly with 5 columns i.e fit to window.
    suppose if any of column is not displayed(hide) and table is shrinking and not fit with window.
    Tried with following option in word doc:
    Right click on table and select Auto Fit--> Auto fit to window. but didn't work. Please let me know is any options to make table to fit with window.
    Thanks..
    Edited by: user9530489 on May 3, 2011 1:09 PM

    Hi,
    I've changed the output device in order to test with the LP01 printer.
    This device is not active in SPAD but if i setup my action with this device I can preview the smartform. It is not possible to preview the smartform with the printer that I'd like to use.
    Any ideas?
    Thanks in advance,
    Stephanie

  • Fix Cheque position in RTF Templates for AP Payments R12

    Hi,
    I created rtf template for check printing. I have to print invoices details first and after that check at the bottom of the page. I need to print invoices on the cheque page only when total invoice count < = 3 which I am able to control. I am facing issue when for 3 invoices the table height is variable, depends on invoice description this table size is changing. How I can give the fixed-height for invoice table or how I can specify exact place for check (at the bottom of each page )
    Thanks
    Mital

    Hi Prakhar,
    Please note the cheque is not an image its in a table.
    Even if I fix a table using table positioning in the output it doesnot print at the fixed position which I have provided in my RTF.
    Please let me know if you would want to see the sample XML Data and RTF that I have created which can be easier to debug.
    Thanks for your help,
    Mital

  • Problem: Creating Charts in RTF Templates

    I am using BI Publisher Template Builder for Word. I am using Word 2007 and the patch 9821068 of the Template Builder.
    I am attempting to create a chart in an rtf template using the chart wizard. I can go through the wizard fine and preview my chart and changes using the preview button.
    However, when hit ok a static image of the preview of the chart is inserted into the rtf file and not a bi pub chart “object”. When I right click on the “chart” I do not see the “BI Publisher Chart..” menu item.
    When I create a report on the BI Server using the chart template I created above, the chart is not updated. It is just the static image that was inserted by the Template Builder. I tried various data sources for the report and the chart never changes.
    Anyone have any ideas whats wrong?
    Thanks,
    -Matt
    Edited by: user12869451 on Jul 22, 2010 4:04 PM

    Hi Matt,
    Send me the template and xml, fusion{DoT}object[AT]gmail[dOt]com

  • Need help with 'division' operation in RTF template

    We are using variables in RTF template to perform all data manipulations
    To calculate columns where we need to do division operation, using ‘/’ or ‘DIV’ is not working.
    Using <?xdofx: op1 DIV op2?> is working only when op1 and op2 are numbers like ex. <?xdofx: 100 DIV 50?> returns result 2.
    But the same tag used for columns or variables is not working.
    For ex.
    <?xdofx: (xdoxslt:get_variable($_XDOCTX, 'var1')) DIV xdoxslt:get_variable($_XDOCTX, 'var2') ?> is not returning any result, though
    <?xdoxslt:get_variable($_XDOCTX, ‘var1’)?>
    <?xdoxslt:get_variable($_XDOCTX, ‘var2’)?>
    both are returning values stand alone.

    On Thu, 03 Jan 2008 00:22:31 -0500, Alan
    <[email protected]> wrote:
    >yes, the use of child page comments in a template file is
    probably the
    >problem. But if that is solved, having two editable
    regions with the same
    >name will cause problems.
    >
    >short version- things be horked big time.
    <chuckle /> Methinks you're right. It looks like the
    copy/paste monster
    has been munching on it. One guess to fix it would be to open
    it in a
    text editor and change this:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    To this:
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    And change this:
    <!-- InstanceEndEditable --></head>
    To this:
    </head>
    Gary

  • Issue in grouping in RTF template

    HI ALL,
    I have a requirement as below.
    The report header part contains : Order number,
    Email_address,
    the report body part contains the details for each order like
    item number, item name
    Again the line section is based on the another group, so it should repeat for each group.
    My requirement is in header section for each order and email address i need to repeat the while header and line for a order.
    Ex: Header : Order_number :101
    Email :abc&gmail.com
    Line section :
    Here we have another group like demand_class
    DEMAND_CLASS : 'ABC'
    Item1: abc,
    item quantity1 :1
    DEMAND_CLASS : 'DEF'
    Item2: abc,
    item quantity2 :1
    Header : Order_number :101
    Email :def&gmail.com --------------------------------------same data only email changed
    Line section :
    Here we have another group like demand_class
    DEMAND_CLASS : 'ABC'
    Item1: abc,
    item quantity1 :1
    DEMAND_CLASS : 'DEF'
    Item2: abc,
    item quantity2 :1
    Another section : to display total calculation for each demand class for a order.
    So my requirement is to repeat the same data for each order and email address.
    Please help me on this

    If the demand_class group is under your first group, then you need to go one level up by using "../".
    So try using ../order_number, ../Email_address
    I really need to see your xml data structure.
    Send me the RTF template and xml file to [email protected] and I will try to help.
    Thanks,
    Bipuser

Maybe you are looking for

  • HELP needed on Remote Management set to allow access for all users

    my mac mini snow leopard server runs in a data center and i use screen sharing to interact with it. i played with the sharing settings remotely yesterday and changed "allow access for" to all users. i was disconnected immediately and i couldn't logon

  • How to send my Movie in 8.5 to a handheld anything?

    I have a working program in 8.5. Would like to get that same program into a handheld device. I know it will lose resolution. How does one begin? I'm sure I just can't send my movie "into" the thing. Please assume I have unlimited funding for this pro

  • Filtering with wildcards in af:table

    Hello! We are using af:tables with filter bars. By default, attributes of Java type String are filtered with an additional wildcard at the end, respectively they are using the STARTSWITH operation in the ViewCritieriaItem. This behaviour is done in c

  • Splitting and executing the query for each 1 lac and executing parallel.

    Hi All, We have a table with around 10 keys and each key is having more than millions of records for a given date. And my requirement is to find the sum of the sale_price of each keys. ( example : Select key, sum(sale_price) from table1 where date1=s

  • Generating JavaHelp (online help) in Arabic Language

    Dear Friends, I would like to know from you that I want to generate JavaHelp (online help) in Arabic Language. Could you please suggest me which tool will generate Javahelp in Arabic? Thanks & Regards, T. BALAJI Sr. Tech. Writer