PDF Sub templates.

Hi all,
I have just created an XSL-FO template from where I want to import a PDF sub-template.
When I try to import the sub-template, I get the following error:
java.io.UTFDataFormatException: Invalid UTF8 encoding.
Can anyone help me resolve this issue?
BR Kennth

How to call a rtf template from another rtf template by passing a value try in main template create hyperlink of url with parameters for another template
http://bipconsulting.blogspot.ru/2010/02/drill-down-to-detail-or-another-report.html
When user pull a quote report from siebel this new rtf template should attach to the quote at the end.it'll be only another report
IMHO you can not attach it to main. it'll be second independent report
you can try subtemplate but it's not about rtf from rtf by click
it's about call automatically rtf subtemplate from main rtf based on some conditions
for example, main template contain some data and if some condition is true then call subtemplate and place it instead of its condition

Similar Messages

  • Problem in Consistent Header and Footer with Sub Templates in BI publisher

    Hi All,
    I have recently started working with OBI and used Sub templates for getting Consistent Header and Footer in all of our reports. I did this in the following way
    1. Created one template called HeaderFooter.rtf with Header and footer templates.
    2. placed the file in web server and called in the main Template with
    <?import: http://myserver.com:9704/xmlpserver/HeaderFooter.rtf?> I mean as static URL and it is working fine.
    3. Now as a part of generalizing the server i have added HTTPSERVER property in xdo.cfg file which is located in
    %BI_REPOSITORY%/Admin/Configuration.
    4. I have checked this property by placing <?xdoxslt:getXDOProperties($_XDOCTX)? in my rtf file and HTTPSERVER property is showing same as that of static.
    5. Now when i place <?import:http://{$HTTPSERVER}/HeaderFooter.rtf?> in my rtf it is ending with an error.
    so can anyone please help me out in this regard?

    Hi User XY,
    you might want to ask this in the [url http://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher Forum
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Issue with 'text box' in rtf sub template for peoplesoft XMLP

    Hi all,
    i have a weired problem using 'text Box' in a sub template. I am calling a sub template from my template. In my Sub template i have a text box ( i am using text box bcoz i want to justify the text not to the page margin but starting from a specific column.not sure if there is any other way with which i can do the same !!) . When i process the report (using application engine program) i get the below error
    Message Log entry:
    [052311_071441208][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
    psxmlp://SUB_BMX2<Line 63, Column 191>: XML-22031: (Error) Variable not defined: '_MR'.
    @Line 63 ==> </xsl:stylesheet>
    [052311_071441216][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(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 com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:74)
    Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_MR'.
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
         ... 13 more
    [052311_071441218][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=64MB, total=11MB, free=1MB
    PeopleTools 8.49.27 - Application Engine
    Copyright (c) 1988-2011 PeopleSoft, Inc.
    All Rights Reserved
    Processing started
    data extraction for EMPLID:1000646332 EMPL_RCD:0 EFFDT:2009-12-28 and EFFSEQ:6
    CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : read 1 chunks
    UnchunkStuff : read 1 chunks for nCharDataLen 10520 chars
    CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : after decode & decompress: 35330 bytes
    Calling XMLP
    Processing Report Defn:TR_BMX2
    Error Executing XMLP.Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51952 Statement:1163
    Called from:TR_LATAM_CONTRACTS.ContractsXML.OnExecute Name:ExecuteXmlp Statement:16
    Called from:TR_LAMCNTRCT.MAIN.GBL.default.1900-01-01.Step04.OnExecute Statement:20
    Process 442706 ABENDED at Step TR_LAMCNTRCT.MAIN.Step04 (PeopleCode) -- RC = 22 (108,524)
    Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s
    It works fine when i remove the text box from my sub template. I tried to put the text box directly in the main template and it worked fine !! it is erroring out only when i use the text box in sub template !!
    Template file:
    <?import:psxmlp://SUB_BMX2?>
    <?choose:?>
    <?when: .//LETTER_CD=”PA4”?>
    <?call: BA101?>
    <?end when?>
    <?otherwise:?>
    Invalid Letter Code. No Sub Template Call defined for this Letter Code.
    <?end otherwise?>
    <?end choose?>
    Sub Template:
    <?template:BA101?>
    Testing without text box.
    Testing with text box
    there is a text box with text here .. cannot be copied from word !!
    <?end template?>
    i got the below error when i tried to 'preview' the report from my report definition.
    Error generating the report output: During calling method PTFOProcessor.generateOutput, the XDO engine throws an exception:NULL. (235,3101) (235,2309)
    Error occurred during the process of generating the output file from template file, XML file, and the translation XLIFF file.
    Any help would be greatly appreciated.
    Edited by: Naveen Kumar on May 23, 2011 4:31 AM

    misunderstood =/
    Original (Coming - output):  "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
    it's in output but what is data in database ?
    sorry but without knowing about source data for forming the xml i haven't ideas about your problem
    in db it's "TM " or "™" or ... ?
    Original (Coming - output):  "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
    Something like XAE or "K" after PAY Value in the xml tag and continued the text value.  (Tag value is not getting copied exactly here - i am sorry for that )
    that's ok. i need to see the problem not the data as is
    Expected (output):  "Here it needs to produce the "PAY TM" (Here "TM" should be super scripted to "PAY" Value in tag).
    as super scripted in xml?
    as idea - you can have <PAY_TXT>PAY TM</PAY_TXT> and in publisher set TM as super
    Designing XSL Subtemplates - 11g Release 1 (11.1.1)

  • Problem creating dynamic URI for importing xsl sub templates in rtf

    Hi,
    We are using xsl based sub templates in RTF. My code in RTF to import sub template is
    <?import:http://localhost:7001/xmlpserver/Header.xsl?>
    <?call@inlines: CustomerReportHeader?><?end call?>
    This sub template import statement is used in lot of RTF's. We require to configure host,port name in server run time properties and will get the value in RTF and will construct URI dynamically ,So we put one property in xdo.cfg.
    xdo.cfg contains as below
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="xdk-secure-io-mode">false</property>
    </properties>
    <properties>
              <property name="xslt.HTTP">'localhost:7001/xmlpserver'</property>
    </properties>
    </config>
    and i changed my sub template call to
    <?import:http://${HTTP}/Header.xsl?>
    <?call@inlines: subtemplate1?><?end call?>
    Where subtemplate1 : is one sub template in side Header.xsl
    This configuration is not working. The HTTP value is not being parsed. The BI publisher throwing exception as "Unknown host exception ${HTTP}"
    Please note that : I am able to print HTTP run time variable value in report by <?$HTTP?> adding in Form Field text.
    I have installed BI publisher 10.1.3.4.1 (xmlpserver) in weblogic 10.3.5
    Please guide us on this above problem.

    Hi,
    The problem got resolved when we tried same thing in BI publisher 10.1.3.4.2 (xmlpserver) in weblogic 10.3.5. It seems that BI publisher 10.1.3.4.1 does not have dynamic URI support.
    Thanks,
    Sanjaya
    Edited by: Sanjaya on Sep 4, 2012 2:09 AM

  • How to call a Sub template in BI Publisher for the same Loop

    Hi,
    I'm trying to achieve a multi template invoice customer facing Report output by using sub templates in BI publisher. I've stored the Template2.rtf file in Local machine temp directory and calling it in the main RTF. My Scenario is as described below:
    <?import:file:///C:\temp\Template2.rtf?>
    <? For-each@section: HEADERS?>
    ****Contents of header data and it's line***
    <?start@last-page:body?><?end body?>
    ***last page sub totals****
    **in next page i'm calling another .rtf file which is the second This template should repeat for each header transaction**
    <?call-template:Template2?>
    <?end for-each?>
    While trying to preview the output from Bi publisher Template, either it goes to infinite loop or it hangs up with error.
    Am i getting it wrong? for the Template2.rtf which i'm calling has contents <?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
    So for a given transaction i need to print two templates. All the data will be under <header> group. Please help me out if i'm missing something in the above.

    Do you get a "Template invoked but not defined error"? If so, the reason is because you the template can not be found...
    In your case, you have defined the template as:
    <?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
    However, in your call statement, you have (upper case T): <?call-template:*T*emplate2?>
    Change that and see if it resolves your error. If not provide details about the error.
    Thanks,
    Bipuser

  • Error while calling sub template in XML Publisher

    Hi friends,
    For the Header part of my report,I create a sub template and i am trying to call it.
    I am calling the sub template using the following commands:-
    <?call@inlines:Header?>
    <?end call?>
    Then in the body ,I am importing this file using <?import:file:///C:\sreekanth\Header.rtf?>
    When i run the report i get the following error
    Caused by: java.io.FileNotFoundException: /C:\sreekanth\Header.rtf (No such file or directory)
    please help me .
    I am unable to find out the reason for the error.
    But when i run it locally it runs fine.
    Is then any problem while i creating the subtemplate?what are steps to create a sub termplate?

    Hi,
    the BI Publisher Forum might be a better place for you to get an answer than the Reports Forum.
    Regards
    Rainer

  • Error obtained while calling a sub-template in RTF.

    Hi,
    I am trying to call a sub-template from my RTF template using
    <?import: file:///C:\Desktop\Sample RTF\TEST.xsl?>
    in a form field and
    <xsl:call-template name="add-X"> <xsl:value-of select="." /> </xsl:call-template> in another.
    The xsl file related to this template reads as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
    <xsl:template name="add-X">
    <xsl:param name="string" select="." />
    <xsl:if test="$string">
    <xsl:text>X</xsl:text>
    <xsl:value-of select="substring($string, 1,1)"/>
    <xsl:call-template name="add-X">
    <xsl:with-param name="string"
    select="substring($string, 2)" />
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>
    But I am ending up with an error. The error obtained is:
    ConfFile: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\template2.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\download_data.xml
    FOProcessor setLocale: en-us
    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(XSLT10gR1.java:641)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:247)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:181)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1151)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:275)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1809)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1027)
         at RTF2PDF.runRTFto(RTF2PDF.java:708)
         at RTF2PDF.runXDO(RTF2PDF.java:520)
         at RTF2PDF.main(RTF2PDF.java:305)
    Caused by: oracle.xdo.parser.v2.XMLParseException: The 'import' element children must precede all other element children of an 'stylesheet' element.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 14 more
    I will be glad if anybody can give me the idea where I am going wrong?
    Regards,
    Message was edited by:
    VishnuTR

    Put this as the first line in rtf
    The 'import' element children must precede all other element children of an 'stylesheet' element.

  • How do I set up/install my complimentary "PDF Portfolio Templates" zip file?

    How do I set up/install my complimentary "PDF Portfolio Templates" zip file?
    The Download site says:  "Please click the button below and select “save” when prompted to download the files to your computer.* To add your content, simply open Acrobat XI and follow the instructions."
    The instructions say:
    "To install a custom layout, select File > Create > PDF Portfolio.
    In the “Create PDF Portfolio” dialog box, click Import Custom
    Layout. Navigate to the custom layout   le on your computer
    and select Open. Layout   les have a .nav extension.   e
    layout appears in the Portfolio Layouts list, where you can select it.
    Imported layouts are permanently added to the Custom
    Layouts section of the Portfolio Layouts panel."
    However, there is no "File>Create>PDF Portfolio" menu option...

    Acrobat Standard can't make Portfolios; you shouldn't have been offered that item when you registered. I suggest you contact Customer Support and ask for your selection to be reset.

  • How to generate PDF using FDF file and the PDF form template (PHP)

    Hi Folks,
    I'm really sorry that I couldn't follow all the valuable discussions going on here, regularly. I need some immediate help.
    I NEED A PHP SOLUTION. I'm able to generate FDF files using the PDF Form Template in PHP. So, I have a collection of FDF files, which seeks the PDF template, while opened and populates the template with FDF data. Now if I need to save this PDF file, I have to do it manually clicking SAVE option. But, I need to convert FDF to PDF in bulk. So, I need some PHP based solution. The PHP script takes the PDF template and the FDF file and merges them to generate a complete populated PDF file. I know it's possible, but don't know how. I've seen Adobe FDF Toolkit. But by default it doesn't show any guideline for PHP. Please help me to write this code. I'm a professional coder. I can understand your hints and tutorials. PLEASE HELP GOOD PEOPLE.

    The only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
    Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
    So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off.

  • Sub templates with Locale - BIP 10G

    Hi,
    Does BI Publisher and desktop 10G support use of sub templates with locale information being passed while calling them ?
    Many thanks
    Rohit

    Hi,
    Does BI Publisher and desktop 10G support use of sub templates with locale information being passed while calling them ?
    Many thanks
    Rohit

  • Fillable PDF form template?

    Hello,
    I was wondering if someone could help me out on a little problem I am having with Adobe Pro, LiveCycle Designer.  I am trying to create fillable PDF office forms.  I have succeeded as far as getting the forms fillable... However, I was wondering if it is possible to turn that fillable PDFs into templates? Meaning, it would automatically ask the user to "save as" rather than saving to the original document.  If there is not a way to turn the document into a "template," then, how can I disable the saving feature on the form.  These forms are filled out by office employees but then given to the client which is why I am so concerned about the saving feature.
    Here the the problem we are running into:  If one of our employee uses the a pdf form, they automatically save the information.  I guess its out of habit.  Then, another employee will use the same form and (sometimes) end up missing information that needed to be deleted from the prior use.  Sometimes, the client will get the completed form with the wrong information.  It always end with
    confusion and other issues.  I have tried asking office employees to stop saving the information after using the form but that doesnt seem to be working out very well.
    I have also tried adding "permissions" to the form which covers the printing & editing rights BUT it also allows the user to save the document which is the exact opposite to what I want...
    I am a bit lost.. I tried googling as well but I havent found another person with the same question. Maybe, I am just goggling the wrong question. OR, maybe, I am setting up the permissions incorrectly. Who knows!
    So this image I uploaded is a fillable PDF receipt that we use to email or mail out to the client with a copy of their receipt.  For this, I would like the person to be able to fill it in but not able to save it OR have adobe ask them to save as instead of just saving the information to the original file.   
    Any help will be much appreciated!!!!!!!!!!!
    Thank you!

    Hi GJen900,
    Please ask Acrobat desktop applicaiton forum(http://forums.adobe.com/community/acrobat/forms) as this forum is for CreatePDF online service.
    Thank you for using Adobe products.
    Hisami

  • PDF form template displaying multiple sets of data loaded from xfdf

    Hello
    I would like to use PDF Forms with data stored in xfdf files.
    Is it possible to create pdf form (template) for displaying and printing multiple sets of data stored in xfdf?
    For example: pdf form contains 2 sets of data. Form field names:  F_1 and F_2.
    I have 7 sets od data. All I need is to create pdf and xfdf that can be displayed in PDF reader and printed
    as document consisting of 4 the same pages containing different data in form fields loaded from xfdf file.
    (something similar to Mail merge in MS Office Word).
    How it would be done? Is it possible to make such pdf, xfdf?
    If yes, where I can find examples (tutorial) of creating such forms, please?
    Thanks.
    J. Jas

    It is possible but not just a simple import of data.
    Each form field in the multiple page PDF would need a unique name not repeated on another page of the PDF. Fortunately the Acrobat form standard includes the "template" object and this object can be spawned or used to add a new page with the form fields automatically renamed with a prefix string of the page number and template added to each form field on the new page. So if one were to import a row from your tab delimited file into the template, one could then spawn a new page from the template with the data and rename the fields so there would be no conflict of like named fields.
    A Lesson in Templates for Adobe Acrobat by Dave Wraight
    With newer versions of Acrobat there is a mail merge feature.
    Create PDFs from Word mail merges

  • Variable not defined: '_MR' error when using sub template

    Hi,
    I am creating a check print report. When I had the check layout and the invoice layout on the same template it worked fine. But when I moved the check layout to a sub template then I started getting the error Variable not defined: '_MR' but I dont have any variable '_MR' can some please help me on this.
    Thanks a ton in advance
    Lakshmanan a.

    Hi Lakshmanan
    Its probably worth running the XML Publisher template regenerator program. somehow, I think your templates are out of sync
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • How do I install the complimentary PDF Portfolio Templates for Acrobat XI

    I download the complimentary PDF Portfolio Templates.  How do I install them to Acrobat XI?

    It depends on the OS you are working. Navigator files (Portfolio templates) usually go in the following locations:
    Windows
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Navigators
    Mac
    /Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro/Contents/Resources/Navs/

  • Installing the complimentary PDF portfolio templates?

    I could download the complimentary PDF portfolio templates, but failed to unzip the file. Adobe Acrobat XI cannot see the zipfile, nor the templates inside. Apparently I am skipping steps?

    I used Winzip, and the details of the error message are:
    Extracting to "C:\Program Files\Adobe\"
    Use Path: yes   Overlay Files: no
    Unable to process "Adobe_Acrobat_XI_PDF_Portfolios\_Instructions\".
    Severe Error:  Not permitted or able to create an output directory.
    2013/3/4 Pat Willener <[email protected]>
         Adobe Community <http://forums.adobe.com/index.jspa>   Re:
    Installing the complimentary PDF portfolio templates?  created by Pat
    Willener <http://forums.adobe.com/people/pwillener> in *Downloading,
    Installing, Setting Up* - View the full discussion<http://forums.adobe.com/message/5119014#5119014

Maybe you are looking for

  • Single Sign-On and VPDs

    Hi - we're trying to implement a VPD on our company database at the moment and were wondering if a single sign-on architecture on our middle tier could be successfully tied to a VPD on the database tier. We have a number of clients, both internal and

  • Opening FLA file in CS5.5 compared to CS6 - possible glitches in CS6?

    I've tried opening one of my FLA files from a client with CS6 and the components on the scene are mis-aligned,invisible and unselectable whereas if I open it in CS5.5, then it opens fine and everything is displays perfectly. Why would this be?

  • Export all data from my waveform chart to excel

    Hello, my name is Chris. I am just learning to use LabView. Everything I have learned so far is through these boards. Which is a valuable tool for someone learning. The VI I am working on is to monitor current from a unit we are testing. I am able to

  • How to handle exception in struts

    i am using global exception to pass to a page that shows an error message. I also want to pass the actual error message to that page is that possible through the struts config <global-exceptions> <!-- global exception handler --> <exception key="glob

  • Publish to iOS: Unable to find llvm JNI lib

    Whenever I try to publish to iOS using Flash Professional CS6 I get the following error. Exception in thread "main" java.lang.Error: Unable to find llvm JNI lib in: /Users/username/Tools/adobe/airsdk/3.5/lib/adt.jar/Darwin /Users/username/Tools/adobe