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

Similar Messages

  • Creating Parameters in RTF Template for BI Publisher Report

    hi,
    I have created Parameters in my BI Publisher Report and in SQL query. But i need to create same parameters in RTF Template , so that when i publish this report in dashboard , parameters will be visible. Can you please tell me how to create Parameters in RTF Template for BI Publisher Report ? I am not finding option. Please let me know .
    Thanks in advance
    Gayathri.

    all the parameter's value will be there in your xml .
    just you need to add parameter heading and corresponding xml tag name to get the parameter value on the report.
    if u dont have you can try like below
    https://blogs.oracle.com/xmlpublisher/entry/get_your_parameters_here_guv
    Declare Parameter in RTF Template
    Before you use the parameter in the RTF template file you need to declare it first. You can do so by having the following syntax.
    <?param@begin:%parameter_name%?>
    Note: where %parameter_name% is the parameter name that you have created at the BI Publisher Server UI.
    Here is an example:
    <?param@begin:param1?>
    Use it in RTF Template!
    Once it’s declared in the RTF template you can start using it as the same way you use the variable. You need to just add ‘$’ prefix in front of the parameter name. Here is the example:
    <?$param1?>
    The above example would print the parameter value in the report output. If you want to use this value in your condition or calculation you can simply use it as ‘$param1’. Yes, it’s that simple.
    If you are not sure if and how the parameter values are passed to the report when you run the report you can use this command in your RTF template, which will return all the parameter values passed to the RTF template at the runtime.
    <?xdoxslt:getXDOProperties($_XDOCTX)?>
    http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html

  • Charts in RTF Templates

    Hi,
    i am trying to create an chart based on xml data....
               <SALES>
    <SALE>
      <YEAR>2006</YEAR>
      <SOFTWARE>1200</SOFTWARE>
      <HARDWARE>850</HARDWARE>
      <SERVICES>2000</SERVICES>
    </SALE>
    <SALE>
      <YEAR>2007</YEAR>
      <SOFTWARE>1000</SOFTWARE>
      <HARDWARE>800</HARDWARE>
      <SERVICES>1100</SERVICES>
    </SALE>
    <SALE>
      <YEAR>2008</YEAR>
      <SOFTWARE>900</SOFTWARE>
      <HARDWARE>1200</HARDWARE>
      <SERVICES>1500</SERVICES>
    </SALE>
    </SALES> I created a RTF template and clicked on Insert-->chart but Ok,Preview buttons are not highlighted!
    whats the reason ? i am using 10.1.3.3.2 version template builder...
    !http://img382.imageshack.us/img382/1195/chart.jpg!

    hey i got the solution ...i didn't select label field now i am able to get the graph..

  • Problems with check printing RTF template

    To BI Publisher Gurus,
    I am working on the check printing RTF template and facing a few issues with page breaks, filling the insufficient invoice lines with template and positioning of the table(s) itself inside the RTF template.
    For page break, am using the following piece of code just before the end of all of my FE loops.
    <xsl:if xdofo:ctx="inblock" test="position()-1<count($inner_group)"><xsl:attribute name="break-before">page</xsl:att:attribute></xsl:if>
    the $inner_group is my group for G_INVOICES to loop through all the invoices of a check in G_CHECKS group.
    The problem I'm facing is, everytime a check is printed its printing a blank page in between. Searched all the earlier forum posts but none of the solutions worked in my case.
    Second issue, for filling the insufficient invoice lines (in my case, am printing 26 invoices per page per check), the call to the blank lines template is repeating twice and found no way to get rid of it.
    Third issue, if the check is running into a second page, the call to the blank lines template does not work and the position of the bottom part of check is getting misaligned.
    I am ready to send my template and the sample XML file to look at. Thanks for your time and effort.
    -Uday

    Hi Tim,
    Hi Tim,
    Could you please send me the sample rtf. We are also using APXPBFEG program for check printing..
    Also I have problem in generating dots(....) in the check where if total invoices lines are 37 and we have only one line of invoice then I have to generate 36 dots (.) in the invoice porition of the check..
    I appreciate your help..
    Thanks
    Krishna
    [email protected]

  • Problem of Chart in Web template

    hi friends,
    I  have created a chart in a web template,  however the chart is displaying the material number along with the calendar week, is it possible to have it only display the calendar week?  I also wanted to know if it is possible to insert a trend line in a chart within the Web App. Designer. guide and help me'.....
    Thanks in advance,
    Gopi
    Edited by: Gopi Nath on Oct 7, 2008 7:19 AM

    Hi Gopi,
    Dont select the Material number in the query or query view which you are using for that Chart. So that, you will be having only Calender Week followed by the Key figures which are required.
    Please let me know if you are not clear on this...
    REgards
    Gattu

  • Creating Calculations in RTF templates

    Is there any way of creating calculations or formula functions within rtf's?

    http://blogs.oracle.com/xmlpublisher/discuss/msgReader$75

  • Help with customizing chart in rtf template

    Since the MS Word plugin doesn't support stock_hilo_close type charts, I'm trying to create one by hand (by looking at the schema). I'm having trouble
    a) getting the chart to show the HI, LO and CLOSE marker values. The xsd only talks about how to display the CLOSE marker text, not the HI and LOW.
    b) (given enough time, I think I can figure this out) formatting the xml to show the right data. My xml source looks like this:
    <ROWSET>
    <ROW>
    <MONTH>Jun-07</MONTH>
    <LOW>1</LOW>
    <HIGH>15.9</HIGH>
    <CLOSE>5.5</CLOSE>
    </ROW>
    <ROW>
    <MONTH>Jul-07</MONTH>
    <LOW>2</LOW>
    <HIGH>12.4</HIGH>
    <CLOSE>6.5</CLOSE>
    </ROW>
    </ROWSET>Can someone show me what the <DataValues> element must look like for this structure?

    Since the MS Word plugin doesn't support stock_hilo_close type charts, I'm trying to create one by hand (by looking at the schema). I'm having trouble
    a) getting the chart to show the HI, LO and CLOSE marker values. The xsd only talks about how to display the CLOSE marker text, not the HI and LOW.
    b) (given enough time, I think I can figure this out) formatting the xml to show the right data. My xml source looks like this:
    <ROWSET>
    <ROW>
    <MONTH>Jun-07</MONTH>
    <LOW>1</LOW>
    <HIGH>15.9</HIGH>
    <CLOSE>5.5</CLOSE>
    </ROW>
    <ROW>
    <MONTH>Jul-07</MONTH>
    <LOW>2</LOW>
    <HIGH>12.4</HIGH>
    <CLOSE>6.5</CLOSE>
    </ROW>
    </ROWSET>Can someone show me what the <DataValues> element must look like for this structure?

  • Problem with extended SQL functions in RTF Template

    Hello,
    I'm new to BI Publisher and I'm trying to create a new rtf template. I've created my layout and added fields without any problems, but I'm having trouble trying to insert calculations such as add,substract,multiply,divide, etc.
    Here is an example of what I'm trying to do:
    <?xdofx:STAFF_ASMT+100?>
    Where STAFF_ASMT is one of my fields. When I add this function all I get is the actual value from that field returned on the first page, and then on other pages I get the value plus an extra zero.
    So with my example data below I get: 6600 on page 1 and 51830 on page 2. Any ideas on what I'm doing wrong or if it is possible to do what I'm doing? Also, is it possible to add/substract/multiple two or more fields together?
    Something like this: <?xdofx:STAFF_ASMT+GROSS_INV?>
    I was going to add all of these functions to my SQL statement, but I have 30 or so calculations I want to perform in the layout and I don't want to have to write that all out in SQL.
    <ROWSET>
    <ROW>
    <STAFF_ASMT>6600</STAFF_ASMT>
    <GROSS_INV>0</GROSS_INV>
    </ROW>
    <ROW>
    <STAFF_ASMT>5183</STAFF_ASMT>
    <GROSS_INV>0</GROSS_INV>
    </ROW>
    </ROWSET>
    Thanks for your help

    When I tried that I get the following error message when I click the Validate Template option:
    [080609_031631893][][ERROR] [Line 162.184] Incorrect XPath: +
    And when I try to generate a PDF preview I get:
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: oracle.xdo.parser.v2.XPathException: Error in expression: './/+'.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)

  • 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

  • Images Behind Text in RTF Template

    While creating a few rtf templates, I noticed that if an image is to be shown behind text then the image will not render to back to .rtf by bi pub.
    If I put the image inline with text, it renders just fine.
    Am I missing a step that would allow me to render the image behind text or is it just working as intended?
    Oracle BI Publisher 10.1.3.4.1
    Thank you.
    Edited by: Crawler409 on Dec 17, 2010 2:49 PM
    Edited by: Crawler409 on Dec 17, 2010 2:50 PM

    Hi
    Can you pl. send me the RTF template and sample XML. I will try to fix the template.
    Thx
    chundi ([email protected])

  • How to customize charts in RTF for BI Publisher

    Hello Experts
    How can an existing chart in RTF template be customized ?
    Can I change the properties of a chart such that values along the Y-axis in the chart are displayed in the reverse order ?
    Thanks in Advance.
    Amrith.

    Hello Rainer
    I've tried what you told but I was only able to sort the values on the X-axis but not the Y-axis. The following is my XML definition of the chart. Can you please let me know where can I add the tag order="descending" in my definition.
    X-axis has the values of 'ACTIVITY DATE' and
    Y-axis has the values of 'SALES'
    chart:
    <Graph graphType="LINE_VERT_ABS" seriesEffect="SE_AUTO_GRADIENT"><LegendArea visible="false"/>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'ACTIVITY_DATE1'))}" rowCount="1">
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="ACTIVITY_DATE1">
    <xsl:sort select="current-group()/ACTIVITY_DATE1"/>
    <Label>
    <xsl:value-of select="current-group()/ACTIVITY_DATE1"/>
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="ACTIVITY_DATE1">
    <xsl:sort select="current-group()/ACTIVITY_DATE1"/>
    <Cell>
    <xsl:value-of select="sum(current-group()/SALES)"/>
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    Thanks in advance
    Amrith.

  • How to create a dynamic RTF report which creates dynamic columns based on dynamic column selection from a table?

    Hi All,
    Suppose I have table, whose structure changes frequently on daily basis.
    For eg. desc my_table gives you following column name on Day 1
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    On Day 2, two more columns are added, viz, Address and Salary.
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    Address
    Salary
    Now I want to create an Dynnamic RTF report which would fetch data from ALL columns from my_table on daily basis. For that I have defined a concurrent program with XML as output type and have attached a data template/data definition to it which takes in XML as input and gives final output of conc program in EXCEL layout. I am able to do this for constant number of columns, but dont know how to do it when the number of columns to be displayed changes dynamically.
    For Day 1 my XML file should be like this.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 1, EXCEL output from RTF template should be like this.
    Name     Age     Phone
    Swapnill     23     12345
    For Day 2 my XML file should be like this. With 2 new columns selected in SELECT clause.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    ,Address
    ,Salary
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
      <element name="Address" value="Address" />
      <element name="Salary" value="Salary" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 2, EXCEL output from RTF template should be like this.
    Name     Age     Phone     Address     Salary
    Swapnill     23     12345         Madrid     100000
    Now, I dont know below things.
    Make the XML dynamic as in on Day 1 there must be 3 columns in the SELECT statement and on Day 2, 5 columns. I want to create one dynamic XML which should not be required to be changed if new columns are added in my_table. I dont know how to create this query and also create their corresponding elements below.
    Make the RTF template dyanamic as in Day1 there must 3 columns in EXCEL output and on Day 2, 5 columns. I want to create a Dynamic RTF template which would show all the columns selected in Dynamic XML.I dont know how the RTF will create new XML tags and how it will know where to place it in the report. Means, I can create RTF template on Day 1, by loading XML data for 3 columns and placing 3 XML tags in template. But how will it create and place tags for new columns on Day 2?
    Hope, you got my requirement, its a challenging one. Please let me know how I can implement the required solution using RTF dynamically without any manual intervention.
    Regards,
    Swapnil K.
    Message was edited by: SwapnilK

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • Convert XSL-FO template back to RTF template

    Report's layout that I have to create has strict size requirements (e.g. page margins, cell sizes and so on).
    I created a simple RTF template using MS Word. RTF template meets this size requirements but when I print my report using Acrobat Reader report looks different.
    I know that this happens because at runtime BI Publisher converts report to XSL-FO automatically to XSL-FO and only after that it renders pdf.
    In order to meet thissize requirements I converted my RTF template to XSL-FO stylesheet using Template Builder and changed appropriate cells and margins etc. manually.
    And everything works well but now I know that there will be a lot of changes in this report's layout (e.g. several complex tables will be added).
    It's quit difficult for me to create tables in XSL-FO. And so my question is
    HOW CAN I CONVERT MY XSL-FO STYLESHEET BACK INTO RTF FORMAT WITH ALL THE LOGIC IT HAS?
    BI Publisher Release 10.1.3.4
    Thanks.
    Edited by: Ruslan on 20.07.2011 5:22

    No way , you can't go back.

  • Problem in .rtf template with 2 dimensions in rows section

    There is a problem with standard .rtf template: if we select two dimensions in rows, table header (with months) moves left to the position of the second column of row dimension like there is only one dimension in rows (i tested even with 4 dimension in rows, header still starts from the position of the second column of row dimension), in any case default template acts like there is only one dimension in a rows section when a report is being formed, if anybody has already faced that problem maybe you could share an advice to fix it?
    p.s. We usually use 1 and 2 dimension in rows

    i have a suggestion that there is a problem with colspan parameter in xml file that is built when HP starts creating pdf report, could anybody advise where i can find this xml that is used for creating report?
    Edited by: s0uLr1pPeR on 18.05.2012 16:31

  • Rtf Templates created with BI Publisher 11.1.1.3.0 not working in APEX

    I created templates using BI Publisher v10 Desktop that I used to create Report Layouts in APEX and everything worked just fine. However, I've upgraded to BIP 11.1.1.3.0 Desktop and the rtf templates don't work. I suspect that the problem is with the graphs.
    Is there something in my APEX environment that needs to be upgraded or modified to be compatible with the BIP v11 templates? Are templates created with BIP v11 compatible with APEX Reporting?

    I'm having a similar issue with 11.1.1.3.0
    My RTF templated uploaded to APEX correctly, and seems to load and generate ok. The OUTSIDE formatting on the report (title, etc) all seem to show fine, but the actual repeating data block doesn't show any of the data or columns or boxes..... Just the column headers.
    VERY FRUSTRATING......

Maybe you are looking for

  • IPOD cannot be update - 40 GB Click Wheel

    Upgraded Itunes & Ipod to latest software versions and can't synch up ipod with Itunes. Have followed ALL steps to recify...uninstall, empty temp directory,standalone Quicktime,reinstall latest. Install goes fine but when I connect Ipod it begins to

  • How can I get my 4g phone to reliably and seamlessly talk to my network extender?

    I moved a few months ago, and ever since I've had major problems with dropped calls on my phone. Before, I was on the inside of a large concrete apartment building, and I had the 3g network extender. Because I was near the center of the building, des

  • HELP: jsp cookie problem

    Hi, 1) I have a page (index.jsp) that looks for a cookie, if the cookie isn't there it redirects to a login page. 2) The login page, on submit, calls a servlet that sets the cookie (when usr and pwd are valid). Then the servlet redirects to the origi

  • Muse has been lagging a lot...why does it do that?

    Sometimes it takes 5-10 minutes to do the simplist things. It can get very fustrating when you are trying to work on a project with a tight deadline. Why does it lag so much and is there a way to fix it?

  • How to add a tone from computer

    how to add a tone from computer