Using Sub-Template with BI Publisher

Hi,
I'm having a hard time dealing with the integration of sub-template :(
I've export the following
<?import:file:///C:\DevSuiteHome_1\j2ee\home\default-web-app\common_template_v01.rtf?>
<?call-template:header?>
for-each ROW
CODE
end ROW
common_template_v01.rtf
<?template:header?>
          Rep_title                    10/6/2010 15:59     
<?end template?>
<?template:footer?>
1 of 1
<?end template?>

I think you need to use forward slash in your import command.
eg:
<?import:file:///d:/temp/tctemplates.rtf?>
Regards
Nishka

Similar Messages

  • 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

  • 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

  • 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

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • To use the concept of  using a template with multiple windows inside it.

    Good evening friends ..........
    I have a requirement from my client like this i need to make a smart form in that
    i need to display a template of kind like this
    it must have 1st row 1st column of height 35mm approx. ie which should have 5 rows height with
    no lines IE rows inside that column, and column width must be 4cm.
    and it has 2nd to 5th column of lengths 3cm each in the same row IE 1st row. and
    in 2nd row from 2nd to 5th column of lengths 3cm each. and
    in 3rd row from 2nd to 5th column of lengths 3cm each continue the same pattern till
    5th row and lastly .
    in 6th row i must have 1st 2nd columns with length 4 cm each
    this whole thing i must get i one template only.....................
    when i tried to search this in sap portal or any other documentations
    i got the concept of combining windows and template in one window......
    they are saying we can make a template with 2 or more windows inside it. which also
    contain one template each inside that windows
    so my 1st row 1st column has exactly same requirement as this only.
    IE using a template with 2 or more windows inside it with templates inside each
    window.
    can u please guide me how to try it out this one .......
    this i tried to depict in pictorial form and send u in my previous reply
    but it displayed in other way sorry for that.

    Give this a go...
    // form1.page1.cb::click - (JavaScript, client)
    if (this.rawValue == 1) {
      xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,0";
      form1.page1.nf.border.edge.color.value = "0,0,0";
    else {
      xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,255";
      form1.page1.nf.border.edge.color.value = "255,255,255";
    Don't forget to make your form a dynamic form.
    Steve

  • 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

  • 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

  • Controlling the header size when using sub templates

    Hi All,
    I have a conditional header subtemplate which has a different company logo for each country. I have a header sub template which has the list of all possible logo's which are conditinally invoked from the main template. Everything works fine. But the header size if too huge. I have tried different options of reducing the margin-size, setting vertical alignment to the top, but none of them seems to make the header size any smaller. Pls help.
    Thanks
    Swarna

    Hi,
    once i upload the rtf to the server With the static url i am able to view it . the problem is occuring only when i add the ${HTTPSERVER} in the import statement. I have set the property "Disable external reference" to false.
    Here is my static URL
    <?import:http://myserver:9704/xmlpserver/HeaderFooter.rtf?>
    After adding property of HTTPSERVER in xdo.cfg file URL is
    <?import: http://${HTTPSERVER}/HeaderFooter.rtf?>
    further i am even able to download the file when I run the static URL.
    Please let me know if any settings need to be done

  • Can I use OVM templates with VirtualBox

    Oracle has lots of OVM templates available on edelivery for Oracle E-Business Suite. But it seems that to get those I need to install OVM and would not just work with VirtualBox.
    Is there a possibility that I can use them directly with VirtaulBox instead of first installing OVM(as this would require formatting of my laptop).
    Thanks & regards,
    Gaurav

    MikeLi wrote:
    Hi Gaurav,
    I also attempted to install R12 EBS and got stuck on the same issue that Oracle VM will wipe out the host. It is impossible for me as I use my laptop for other things.
    I wonder if you have gone through with Virtualbox to install R12 EBS and found any issues with it?
    Thanks, Mike.Mike,
    You can use VMWare if you want to keep your client OS.
    Note: Please create a new thread if you have any issues/questions instead of updating multiple threads -- Demo Vision Installation of Oracle EBS R12.1.3
    Thanks,
    Hussein

  • Using Quota templates with Self Service Site Creation

    I am having an issue with quota templates not getting assigned to site collections created with Self Service Site Creation.
    I set up a quota template in 'Specify Quota Templates' and give it the name 'test'.  I then go to self service site creation management and select the name 'test' from the 'Quota template to apply' dropdown.  I then create a site using self service
    site creation and when completed no template is applied to the new site collection.  I am wondering if anybody has seen this or if not am I incorrect in what I am expecting, that is that all site created in that web application should have the quota template
    applied that I selected in self-service site creation management
    Steven Albrecht
    University of Colorado Denver
    Steven Albrecht

    Hi Steven,
    Please create a quota template named "Personal site" and apply in self service site creation page, then check again.
    http://blogs.msdn.com/b/jimmiet/archive/2012/07/22/10332361.aspx
    http://danmyhre.wordpress.com/2010/03/16/my-sites-do-not-have-a-quota-when-they-are-created/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Using Avery Templates with Pages

    I am new to Pages. I want to format Avery 8387 Card in Pages instead of Microsoft Word. Are there Avery templates in Pages like there are in Word. Can I use Pages to make Avery labels? Please help!

    Cards are rectangles.
    Rectangles can be drawn and arranged in position on a page with minor use of maths.
    As fruhulda has said Pages will open the Word documents supplied by Avery.
    …and guess what's on those Word documents?
    Peter

  • Adobe AIR Output using Unipane Template - Problem in Publishing

    Hi,
    I have created new Adobe AIR browser based help using the Unipane template. When I generate the output, I specify a folder path in the Start Page field and click Finish. I can see the output excatly I have prepared when I select the first topic in the same folder.
    But the problem is when I copy the folder and paste in the new location and click the first topic, it shows the template only, my content is missing. Because of this I could not send my output to the client.
    If any one please guide me What should I do? I have prepared an entire Help system but now I could not send it to client. Please guide me.
    Regards,
    Ar.Raj

    In another thread (now deleted) AR Raj has posted that he cannot locate the previous thread with the same problem.
    I am adding AR Raj's post here as it relates to this thread.
    I will look later to try to find the post but if anyone else remembers it, please add the link in this thread.
    I  have created a help system using the Unipane template of Adobe AIR  feature and when I open the first topic of the help locally in my  system, it displays with the skin I have selected when initially  generated. But when I try to host the help in the Internet using IIS  Mgr, the help open with the default skin 'Black Pearl'  with a default  message at the bottom 'Powered by Robohelp' eventhough I have used the  skin 'Aqua Grey'. I have also replaced the message with my client name,  still it opens with the same message. The probelem arise when I try to  host the help system, but locally in my system it works fine.
    Mr.Peter  Grainge told me that this issue was raised already and it got answered.  I have searched Adobe AIR forum for a day long, but I could not locate  the answer.
    If anyone can help me to solve this, I have to deliver it to the client who repeately ask me about the Help system.
    Please anyone guide me to correct this.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How Can I Add a Blog (WordPress or Other) to my Website That Uses DWCS3 Template with PVII Plugins

    I want to create a blog and have it work within an already
    created website page <
    http://blog.myt4w.com>. I
    am not sure if this is possible since I was told that WordPress
    would not likely work with Project Seven Pop Menu Magic navbar
    plugin. Also it seems really complicated making a WordPress theme
    that will be identical to my site look and feel. Any ideas on how
    to do this in a way that is easier than creating a custom WordPress
    Theme? Or any other good ideas for putting a fully functioning blog
    within a website template page? Thanks!
    Dante

    Using the ThemeDreamer extension for Dw, you can navigate a
    theme file in Dw's Design View while seeing 'what from where' in
    Code View. Its the easiest way to customize a WordPress theme file
    without having mess with a server. You can work offline and unlock
    Dw's design tools. Without it, Dw is pretty much just another text
    editor for WordPress theme files.
    http://www.themedreamer.com

  • Error while using MS Word with BI Publisher

    Hi All,
    I am working on XML publisher while opening the fields in the designed RTF it is saying the error like
    "Automation error,Unspecified error".
    Please suggest me on this.
    Thanks,
    Surya

    XP:
    Just rename the file MSComctlLib.exd in 'C:\Documents and Settings\<YOUR USER NAME>\Application Data\Microsoft\forms' to MSComctlLib.exd.bak.
    The file MSComctlLib.exd will be recreated when you start working in BIP add in from word.
    win 7:
    Back up MSComctlLib.exd
    Run command prompt as Admin
    For 64-bit operating systems, type the following:
    Regsvr32 "C:\Windows\SysWOW64\MSCOMCTL.OCX"
    For 32-bit operating systems, type the following:
    Regsvr32 "C:\Windows\System32\MSCOMCTL.OCX"
    Restart.

Maybe you are looking for

  • New Mac Mini display recommendations

    I need a display for my Mac Mini and I can't really afford one of those nice Apple displays. As you know there are hundreds of third party displays and resolutions. I would like to find something around 20"-22", DMI, and of course resolutions that ar

  • Configuration plan for chages in XSL files ?

    During SOA 11g deployment, can we use configuration plan for making changes / override values which are set in transformation XSL files ? Have been getting mixed response on the net, so need to classify on the same. Thanks.

  • What is the use of...

    "show content classification in the library" ? (this is a translation I don't know if it's the same as you have in intenational english - by the way it's the 4th option in the second part of the general preferences box, just above the automatic d/l o

  • How do I get the little yellow house back to get to the home page

    I downloaded the new 4.0 and it doesn't have the little house to get back to the home page. How do I get it back?

  • Cannot connect to control panel

    I dont know if this is the right place to post this but up until today I can no longer use a custom ip adress or anything like that and http://192.168.1.1 wont even connect for me anymore it just sais it has timed out. does anyone have any clue how I