Data Template Designer

Hi there,
Can anyone enlighten me - what options exist to create data templates other than hand crafting the XML? Is there a BI Publisher data template designer available? We are using BI Publisher as part of E-Business Suite (11.5.10.2)
Also, does any utility exist which will take a SQL statement and create an valid data template based on it?
Thanks,
- Matt

[email protected] wrote:
> If I correctly understand what you're trying to do then Adobe XPAAJ should be adquate:
>
>
>
> Below is a link to a "video" demonstration of building an application that uses XPAAJ:
>
>
>
> (I don't think your question about having to write an XDP file is crucial to what you're trying to do, but you don't need to write an XDP file -- it is a "save as" option within Designer. You can save a Designer file as either PDF or XDP. Or both, one after the other, if you need both.)
Careful with the recommendations for XPAAJ. There are specific restrictions around whether you can
use XPAAJ or not. Specifically, you have to own a copy of one of the server-based LiveCycle
products. This does not include LiveCycle Designer, which is a client product.
Maybe someone from Adobe can clarify.
Justin Klei
Cardinal Solutions Group
www.cardinalsolutions.com

Similar Messages

  • Question on the Template Designer

    Hi Experts.
    I am trying to create a document template using a web service.
    My need is to display a table with different lines of information but currently it does work.
    I created the web service with a component Business Transaction and for single data (like the object id), i am able to display it correctly. But when it cames to several lines, it doesn't work.
    My example is based on the partners where i try  to display all partners associated to the document.
    Here is the the xml integrated into word.
    Do you see something wrong with that ?
    [http://img34.imageshack.us/img34/4527/examplesdn.png]
    When i generate the template, it's empty for the partners but if i debug the web service i see the data for partners.
    [http://img130.imageshack.us/img130/3290/examplesdn2.png]
    Any idea on i can handle table in the template designer ? Anyone has some documentation to share ?
    Thanks for you help.
    Regards,
    Helder.

    Sorry, I forgot to close the thread but i've found it on the SAP Help
    [http://help.sap.com/saphelp_crm70/helpdata/EN/c3/769dd7c3ef4e7ea1467c05566c5385/frameset.htm]
    Anyways, i'm crediting you the points !
    By any chance do you know if it's possible to put conditions in the processing of the table ?
    For example something like do not display the partner function sold-to-party.
    Do i have to code it in the XML or is it possible to do that with the Web service tool or with the template designer ?
    Regards,
    Helder

  • Calling Oracle Functions in Data Template

    Hi,
    I have a package and 2 functions inside that, I need to use those 2 functions inside my BI Publisher Data Template,
    Package1
    Function1(Param1 varchar2,param2 varchar2) return Refcursor
    Open Refcursor for
    Select Fun1Col1,Fun1Col2,Fun1Col3 from ABCD;
    Function2(Param1 varchar2 , Fun1Col1 varchar2,Fun1Col2 varchar2 ) return Refcursor
    Open Refcursor for
    Select Fun2Col1,Fun2Col2,Fun2Col3 from XYZ where XXX=Fun1Col1 and YYY=Fun1Col2 and ZZZ=Param1;
    Here the Second Function is using the Output Columns of First Function as Input Parameters.
    The above functions are created for Oracle Reports which is working fine, Now I am converting them from Oracle Reports to BI Publisher and I am not able to proceed.
    I have designed my Data Template as follows.
    <dataTemplate name="XYZ " description="XYZ" defaultPackage="">
         <!-- Property to make XML Output tags UPPERCASE -->
         <properties>
              <property name="scalable_mode" value="off"/>
              <property name="debug_mode" value="off"/>
         </properties>
         <!-- Parameters -->
         <parameters>
              <parameter name="Param1" dataType="varchar2"/>
              <parameter name="Param2" dataType="varchar2"/>
         </parameters>
         <!-- Lexicals -->
         <lexicals/>
         <!-- SQL Queries -->
         <dataQuery>
              <sqlStatement name="Q_Container_Query">
                   <![CDATA[
    Select Package1.Function1(:param1,:param2) from dual;
    ]]>
              </sqlStatement>
              <sqlStatement name="Q_Container_Item_Query">
                   <![CDATA[
    Select Package1.Function2(:param1,:Fun1Col1,:FunCol2) from dual
    ]]>
              </sqlStatement>
         </dataQuery>
         <!-- Grouping -->
         <dataStructure>
              <group name="G_Container_Query" source="Q_Container_Query">
                   <element name="Fun1Col1" value="Fun1Col1"/>
    <element name="Fun1Col2" value="Fun1Col2"/>
    <element name="Fun1Col3" value="Fun1Col3"/>
                   <group name="G_Container_Item_Query" source="Q_Container_Item_Query">
                   <element name="Fun2Col1" value="Fun2Col1"/>
    <element name="Fun2Col2" value="Fun2Col2"/>
    <element name="Fun2Col3" value="Fun2Col3"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    The point of concern is whether
    Select Package1.Function2(:param1,:Fun1Col1,:FunCol2) from dual
    is valid or not, because its accepting Function1's output values as Input Parameters.
    Regards,
    Ashoka BL

    Could anyone please reply....

  • I cant call a procedure within a data template

    Hi,
    I m working in a data template because i want to call a prcedure befor running the report.
    My procedure is under the folder of procedure. it is not under a package.
    So i left the defaultpackage empty in the data model.
    *<dataTemplate name="Extraction_Template" dataSourceRef="mydatasource" defaultPackage="">*
    But it didsn't work.
    Help.
    SAAD

    The default package attribute is required if your data template contains any other calls to PL/SQL. For the source attribute for the data trigger definition, you need to have the source in the form of <package name>.<function name>
    Check out the report designer's guide for details.
    Thanks,
    BIPuser

  • Web template designs - any tutorials ?

    I have Fireworks 8 and would like to design some nice web templates for some sites.
    Not rickety designs but really nice ones, Web 2.0, etc.
    Are there any tutorials that help with that level of design?
    I've found some older tutorials but I'd love to find some that help with up-to-date modern design concepts.
    Many thanks

    I started writing just such a template awhile back:
    http://joedasilva.com/bellabean-coffee-a-fictional-client-project-using-adobe-fireworks
    I've yet to see it through to the finish, but it might help you get started...

  • Query in Template Designer

    Hello,
    I'm trying to create a word template in template designer for appointments (BUS2000126). I've created a web service in the web service tool. In the web service tool I found a query, Query for Activities [ BTQAct ], which seems useful. I have allowed all query attributes, but they don't appear in the XML Scheme when I create the word template. Is it possible to use queries this way? If so, what could I have done wrong?
    Kind regards,
    Johan Wigert

    Hello Robert,
    I followed your advice and I've found the information that I want to publish. I have one additional question about the date though. I'm now using the date in:
    Administrativeheaderoforder - Datesofheader - Alldates - element1 - TimestampTo
    This seems to give me the starting date of the appointment. I'm not too happy about the format as it is now YYYYMMDDHHMMSS. I would like to have it like YYYY-MM-DD. Do you know if that's possible?
    Kind regards,
    Johan Wigert

  • Error in viewing data in a data template with multiple data sources

    Hello,
    I have designed a data template with two data sources.One is from DEPARTMENTS table and the other datasource is a xml file.Following is the code for the data template :
    <dataTemplate name="EmployeeListing" dataSourceRef="demo">
    <parameters>
    <parameter name="p_DEPTNO" dataType="character" defaultValue="20"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[SELECT DEPARTMENT_NAME,DEPARTMENT_ID,LOC from DEPARTMENTS]]>
    </sqlStatement>
    <xml name="empxml" expressionPath=".//ROW[DEPARTMENT_NAME =$DEPARTMENT_NAME]">
    <url method="GET" realm="" username="" password="">file:///D:\OraHome_1\xmlp\XMLP\DemoFiles\Employee Salary Report.xml</url>
    </xml>
    /dataQuery>
    </dataTemplate>
    The problem is when i am trying to view the data, only data from SQL Query Q1 is getting displayed and the data from Employee xml is not at all getting displayed.
    Could anyone please let me know what i am missing?
    Thanks
    Nutan
    Edited by: user609971 on Oct 23, 2008 8:06 AM

    This is from Documenation sample....
    Did you see the data structure section, where you say, how you wanted the columns ?
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="Employee Listing" description="List of Employees" v
    ersion="1.0">
    <parameters>- Defines a single parameter for the Department Number
    - with default of 20:
    <parameter name="p_DEPTNO" dataType="character"
    defaultValue="20"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[SELECT DEPTNO,DNAME,LOC from dept
                      order by deptno]]>
    </sqlStatement>
    <xml name="empxml" expressionPath=".//ROW[DEPTNO=$DEPTNO]"> - Defines name
    - and link to DEPTNO in Q1
    <url method="GET" realm="" username="" password="">
    file:///d:/dttest/employee.xml</url> - Defines url for xml data
    </xml>
    </dataQuery>-
    <dataStructure>- The following section specifies the XML hierarchy
    - for the returning data:
    <group name="G_DEPT" source="Q1"
    <element name="DEPT_NUMBER" value="DEPTNO" />
    <element name="DEPT_NAME" value="DNAME"/>
    - This creates a summary total at the department level based
    - on the salaries at the employee level for each department:      
    <element name="DEPTSAL" value="G_EMP.SALARY"
    function="SUM()"/>
              <element name="LOCATION" value="LOC" />
    <group name="G_EMP" source="empxml">
    <element name="EMPLOYEE_NUMBER" value="EMPNO" />
    <element name="NAME" value="ENAME"/>
    <element name="JOB" value="JOB" />
    <element name="MANAGER" value="MGR"/>
    <element name= "HIREDATE" value="HIREDATE"/>
    <element name="SALARY" value="SAL"/>
    </group>     
    </group>
    </dataStructure>
    </dataTemplate>

  • Template Designer - Custom Partner Functions in Object GDCOIC

    Hi,
    After spending a lot of time juggling with Template designer we have finally managed to get it working.
    But we have now come to an issue where the object used to create web service for template designer GDCOIC doesn't have details of partner functions we have setup in our system niether does it have custome date fields.
    Does anyone know how to add them? redefine - regenerate component GDCOIC?
    Thanks,
    Pankaj

    Here is the screnario
    Customer(Sold2party) is assigned to multiple sales org, Has multiple vendors, so when i create sales order in GUI, and enter the customer ID in "Sold2party" it gives a first pop-up to select sales org and i select one the sales org and then gives next pop up to select vendor and i select one of the vendor then i go to "partner" tab and i can see "vendor" listed as one the partner function in the tab........ Now the same dosent happens in Webclient. I get the first popup for sales org in webclient but NOT the second popup to select vendor.
    thanks
    Shree

  • OBI Publisher Data Template

    Hi all
    Please can some one tell me where can i find description about Data Template .
    I want to call a PL/SQL Proc inside some package and get data from it.
    I am using OBI Publisher to create new report and defining data model in it.
    Please guide me to some good online tutorial ablut data templage.
    Thanks a lot
    Amit

    Hi,
    You can get some info about DataTemplate (structure etc.) in OBI Publisher Report Designer`s Guide.
    If you want to call PL\SQL procedure you should define your default package and then call proc from it in DataTrigger section.
    Read this guide for additional info and examples =)

  • Getting while attaching .rtf file in data template

    Hi All,
    When i am attaching a .RTF file to a data template , i am getting the following erro :
    The referring page may have come from a previous session. Please select Close Window to proceed
    i tried by login again but same error coming every time, please help me on thsi.
    Thanks

    <?xml version = "1.0" encoding="UTF-8" ?>
    <dataTemplate name="XMLTEST" description = "testing the" Version = "1.0">
    <properties>
    <property name="xml_tag_case" value="upper" />
    <property name="include_parameters" value="true"/>
    <property name="include_null_Element" value="true"/>
    </properties>
    <parameters>
    <parameter name="P1" dataType = "CHARACTER"></parameter>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[
    SELECT CASH_RECEIPT_ID , AMOUNT , SET_OF_BOOKS_ID
    FROM AR_CASH_RECEIPTS_ALL
    WHERE STATUS = :P1
    ]]>
    </sqlStatement>
    </dataQuery>
    <datastructure>
    <group name = "G1" SOURCE = "Q1" groupFilter="">
    <element name="CASH_RECEIPT" value ="CASH_RECEIPT"/>
    <element name="AMOUNT" value="AMOUNT"/>
    <element name="SET_OF_BOOKS_ID" value="SET_OF_BOOKS_ID"/>
    </group>
    </datastructure>
    </dataTemplate>
    i have modified the date datatype. im still seeing the same output. how do i change the element to be derived value? can you help me with the syntax.
    Thanks!

  • Index: 0, Size: 0 error while creating data template in BI Publisher

    Hi
    When i am trying to create the data template for BI Publisher reporting. i am gettinhg the Index: 0, Size: 0
    error. I checked the query that i have used to create template and it is working fine. But not sure why it is not happening while creating the data template. Can anybody help me out please.

    how about pasting the content of your data template here, so that forum members can see what could be the problem.

  • How to call a PL/SQL procedure from a xml Data Template

    We have a requirement in which we need to call a pl/sql package.(dot)procedure from a Data Template of XML Publisher.
    we have registered a Data Template & a RTF Template in the XML Publisher Responsibility in the Oracle 11.5.10 instance(Front End).
    In the Data Query part of the Data Template , we have to get the data from a Custom View.
    This view needs to be populated by a PL/SQL procedure.And this procedure needs to be called from this Data Template only.
    Can anybody suggest the solution.
    Thanks,
    Sachin

    Call the procecure in the After Parameter Form trigger, which can be scripted in the Data Template.
    BTW, there is a specialized XML Publisher forum:
    BI Publisher

  • Problem with data template in XML publisher

    When I create data template in xml publisher and save it, I get next message:
    dbase:
    Failed to save data.
    Error occurred when creating xml data.
    undefined
    NaN
    NaN
    dbase is a database server
    JDBC connection name:asu_fox
    JDBC connection URL: jdbc:oracle:thin:@dbase:1521:ora03
    Text in data template:
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="data_report_2" description="data template for reports 2 and 10"
    dataSourceRef="asu_fox" version="1.0">
    <dataQuery>
         <sqlStatement name="Q1">
              <![CDATA[select kol_pl,kol_sv,trud_pl,trud_sv,nom_per_p,kod_polu_p,p_v,kod_tmc,liter,kol_skl,nom_per,shifr_dse,shifr_izd,kod_polu,kod_post,trud,kol_m,tip_rin,kod_op,kod_op0,order1,n_val,shifr_usel_val,sum_trud_val,sum_trud_val_sv from reporter.t_plan_report_2]]>
         </sqlStatement>
    </dataQuery>
    <dataStructure>
         <group name="group_all" source="Q1">
              <element name="kol_pl_l" value="kol_pl"/>
              <element name="kol_sv_l" value="kol_sv"/>
              <element name="trud_pl_l" value="trud_pl"/>
              <element name="trud_sv_l" value="trud_sv"/>
              <element name="nom_per_p_l" value="nom_per_p"/>
              <element name="kod_polu_p_l" value="kod_polu_p"/>
              <element name="p_v_l" value="p_v"/>
              <element name="kod_tmc_l" value="kod_tmc"/>
              <element name="liter_l" value="liter"/>
              <element name="nom_per_l" value="nom_per"/>
              <element name="shifr_dse_l" value="shifr_dse"/>
              <element name="shifr_izd_l" value="shifr_izd"/>
              <element name="kod_polu_l" value="kod_polu"/>
              <element name="kod_post_l" value="kod_post"/>
              <element name="trud_l" value="trud"/>
              <element name="kol_m_l" value="kol_m"/>
              <element name="tip_rin_l" value="tip_rin"/>
              <element name="kod_op_l" value="kod_op"/>
              <element name="kod_op0_l" value="kod_op0"/>
              <element name="order1_l" value="order1"/>
              <element name="n_val_l" value="n_val"/>
              <element name="shifr_usel_val_l" value="shifr_usel_val"/>
              <element name="sum_trud_val_l" value="sum_trud_val"/>
              <element name="sum_trud_val_sv_l" value="sum_trud_val_sv"/>
         </group>
    </dataStructure>
    </dataTemplate>
    I get this error with different data templates.
    Help me, please.
    Vladimir

    Hi Vladimir
    Can you test the data template posted here. http://static7.userland.com/oracle/gems/leslieStuddard/EMPLOYEES.xml
    It needs to connect to the sample scott schema, hopefully you have it installed?
    Let me know if you get the same error.
    thanks
    Tim

  • How to handle errors in data templates

    Hi
    What is the recommended way to handle errors for example if one of your SQL statement in a data template returned no data how and where would you be able to create an error message for the user to find and read.
    Thanks,
    Mark

    The closest I have come to doing this is to put conditional statements into the format template. If a value matches an expected (ex. is null) you can return a message (in the report) via the format template (ex. "No Data Found").
    I am not sure this really answers your question as this is in the format template, but I generally view them as a matched pair that work together. I try to stick with data extraction in the data define, and do all my conditional stuff in the format templates.
    Scott

  • Issues with using Outer join in Data Template

    Hi all,
    this is my data in two tables .
    Table Ronny1
    colA colB
    1 u
    2 v
    3 x
    Table Ronny2
    colC colD
    1 q
    2 r
    This is my data template
    <dataTemplate name="MGF" dataSourceRef="Source1">
         <dataQuery>
              <sqlStatement name="Q1" dataSourceRef="Source1">
                   <![CDATA[select C, D  from Ronny2]]>
              </sqlStatement>
              <sqlStatement name="Q2" dataSourceRef="Source2">
                   <![CDATA[select A , B from lokesh1 where A = :C]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G1" source="Q1">
                   <group name="G2" source="Q2">
                        <element name="A" value="A"/>
                        <element name="B" value="B"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    Now this would give me result as
    A B
    1 u
    2 v
    however my requirement is this
    A B
    1 u
    2 v
    3 x
    that is, i want to display all the rows of table Ronny1 and matching rows from table Ronny2. I tried modifiying my second sql as
    <![CDATA[select A , B from lokesh1 where A = :C (+)]]> ( using a outer join)
    but this does give me correct data and comes back with the cartesion product.
    Can anyone please answer this for me that how can we use the outer join in data templaes.
    Thanks
    Ronny

    hey vetsrini,
    sorry for the confusion here,
    actually i want to display all the rows from table Ronny1 and i am also pulling in the matching rows from table Ronny2 and my data structure looks as ( pulling in column D from table Ronny2)
    <dataStructure>
    <group name="G1" source="Q1">
    <group name="G2" source="Q2">
    <element name="A" value="A"/>
    <element name="B" value="B"/>
    <element name="D" value="D"/>
    </group>
    </group>
    </dataStructure>
    and this is what i want the output to be
    A B D
    1 u q
    2 v r
    3 x
    Hence the row where A <> C the data in the D column will be null, same as in the case of outer join.
    any suggestions
    Thx
    Ronny

Maybe you are looking for

  • Sorting In the Aperture library entitled "Photos"

    In the Aperture library entitled "Photos", is there an easy way that I can I sort all the photos according to the chronological order in which they were taken?

  • Can .gz files affect iPhones?

    A few weeks ago, my computer downloaded a file named "controller.gz" out of no where! When that happened, only 4 web sites were opened on my browser, including Facebook. I haven't been using these sites on my iPhone (I actually never visited them on

  • Tween Class Unreliable?

    1 out of 4 function calls from a MouseEvent results in the MovieClip getting 'stuck' somewhere in the tween. As if it's not finishing. Has anyone else experienced this? Or am I using the Tween class wrong? addEventListener(MouseEvent.CLICK, tweenStyl

  • Searching Content in Edit Status

    Hi All, I have a content which has just one revision ,which is rejected in workflow  and is in Edit Status.Is there a way that I can get it in search results. When i try to fire a query xCustom <contains> `Test`,  where xCustom is custom metadata and

  • Beyonce's Visual CD of Album Wont Import to iTunes

    I recieved Beyonce's CD for christmas, and i'm trying to import to itunes. It comes in an Audio CD and a Visual CD.  I can't get the Visual CD to import to Itunes.  I wish to do this so it can go through my Itunes Match and both audio and videos be a