Embedding a document in BI Publisher template

I have created a BIP template and I have a requirement to include attachments in the template. These attachments (PDF format) are located in a different server and are supplied as URLs. So basically I need to display the documents embeded from URL into the BI Publisher report. I have managed to get it to work with Images (jpg, gif, png) by inserting a dummy image in the report and including this line of code in the Alt Text: url:{'http://www.test.com/photo1.jpg'}. However this method does not work with documents.
I tried the following methods but they only work with images. They don't work with documents, i.e. pdf, doc, txt, etc:
Method 1:
<fo:external-graphic src="url('http://www.test.jsp?id=121342')"/>
Method 2:
<fo:instream-foreign-object content-type="application/pdf">
<xsl:value-of select="http://www.test.jsp?id=121342"/>
</fo:instream-foreign-object>
I read something online about another method <fox:external-document content-type="pdf" src="url('http://www.test.jsp?id=121342')"/>. But I am not sure how to set this up in BI Publisher, because when I tried to use this method, BI Publisher was throwing an error saying forx:external-document not recognised.
Does anyone know if there is a way of embeding documents read from URL in BI Publisher report?
Many thanks,
Agron

Insert a table with 3 columns and 2 rows..
split the (2,2) cell into 3 rows and (2,3) cell into 3 rows..
table cell (1,1)<?horizontal-break-table:1?>
(1,2)Sales
(1,3)<?for-each-group@column:SALE;./YEAR?><?YEAR?><?end for-each-group?>
(2,1)<?for-each-group:SALE;./REGION?><?variable@incontext:G1;current-group()?><?REGION?>
(2,2) 1st row Software
        2nd row Hardware
        3rd row Services
(2,3) 1st row<?for-each-group@cell://SALE;./YEAR?><?sum ($G1[(./YEAR=current()/YEAR)]/SOFTWARE)?><?end for-each-group?>
2st row<?for-each-group@cell://SALE;./YEAR?><?sum ($G1[(./YEAR=current()/YEAR)]/HARDWARE)?><?end for-each-group?>
3rd row<?for-each-group@cell://SALE;./YEAR?><?sum ($G1[(./YEAR=current()/YEAR)]/SERVICES)?><?end for-each-group?><?end for-each-group?>the xml file I used was mentioned in tim's blog in the previous reply of mine...I tried it and I got the desired o/p..
Edited by: user10280715 on Apr 8, 2009 8:58 AM

Similar Messages

  • Embedding DMS Documents within CG42 Report Template

    Hi All,
    We are using EH&S and DMS and would like to combine these two into a CG42 report template.  Through CG02, we have created specifications where we would like to have some value assignments instances take advantage of the user-defined text tab to pull in documents from DMS.  We have configured the system to successfully link in the DMS document info record into the user-defined tab within the value assignment area of CG02 and can view the DMS documents by double clicking on that reference.
    In taking this to the next step, we would like to embed this document into our report template definition.  Mind you that some of these documents are .pdf containing text and graphics.  Within CG42, we go to the specification symbol that we want and open the area called ADDITIONAL INFO, which then opens to other symbols, one of which is "ESTDF Additional Information - User-Defined Text".   When we open that node, it provides us with many attributes as options that we can embed within the report template.  The only one that relates to content is "GESTDHEADE HEADER Start of UD Text ".  It appears that all this does is just repeat the link that was specified in CG0 when we use the command to include that in the report template and then do a preview on the report.
    In reading some SAP Help Documentation in the section for user-defined text, I'm led to believe that you can embed these into the report template but I have not been able to do so thus far.  The only thing I can do is embed information about the user-defined text into the report template.
    Can someone shed some light if this is feasible?
    By the way, we are already embedding graphic logos by relating it to a phrase and keeping these images in a folder on a file server.  If we must, we can use that approach but I'd really lile to keep these documents in DMS as a controlled document.
    Thanks!

    Hello
    please consult online help. Take a look here:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/2872ac0a6c11d28a220000e829fbbd/content.htm
    Chapter: Symbol Type: Specification
    Subchapter: Output of Document Management Documents
    The description is ok and in my opinion a good starting point.
    Hope this helps.
    C.B.
    PS: http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/286d780a6c11d28a220000e829fbbd/content.htm is helpful too.
    Chapter: User-Defined Texts and Documents
    Edited by: Christoph Bergemann on Nov 26, 2011 5:12 PM

  • Using document function in xsl template - not working in BI Publisher

    Hi,
    I have a requirement where I need to display the data in one xml file based on the contents of a second xml. I am using Oracle BI Publisher 10.1.3.4.1 and template used for report generation is xsl-fo.
    1) ReportData.xml - contains the data xml
    2) ReportFilter.xml - contains the display information.
    I need to display the tags in the ReportData.xml based on the presence , absence of different tags in ReportFiler.xml
    I guess one of the option is to declare 2 datasource as use concatenated datasources. However , I am trying to use the "Document" function that is available in xsl transformation to reference the display xml.
    I have tried the different options for using the document function
    *1) <xsl:variable name="filterCheck" select="document('ReportFilter.xml')"/>*
    Errors out saying : XML-22021: (Error) Error parsing external document: 'Access not allowed : file:/
    C:/OracleBI/oc4j_bi/bin/ReportFilter.xml '.
    *2) <xsl:variable name="filterCheck" select="document('file:///C:/OracleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml')" />*
    Errors out saying ; Caused by: oracle.xdo.parser.v2.XPathException: Access not allowed : file:/C:/Or
    acleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml
    *3) <xsl:variable name="filterCheck" select="document('C:/OracleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml')" />*
    Errors out saying : Caused by: java.net.MalformedURLException: unknown protocol: c
    at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:153
    *4)<xsl:variable name="filterCheck" select="document('file:/C:/OracleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml')" />*
    Errors out syaying : Caused by: oracle.xdo.parser.v2.XPathException: Access not allowed : file:/C:/Or
    acleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml
    I have placed the document I need to access in all the 3 locations mentioned above
    ie in my
    *1) C folder*
    *2) C:/OracleBI/oc4j_bi/bin*
    *3) C:/OracleBI/xmlp/XMLP/DemoFiles*
    Is there any special permissions that I need to grant to enable access to these files?
    Please let me know if anyone has successfully made the document function to reference other xml documents in BI Publisher.
    Regards
    Sujith
    Edited by: user10979469 on Dec 8, 2009 11:48 AM

    Tim,
    Thanks a lot for the reply. Set the option to enable external document access and it works perfectly.
    Just for other who are looking at this post.
    Go to the Report in BI Publisher
    Click on Configure link on the top right
    Go to the Section FO Processing
    Disable external references - Server value is "True" . Set it to "False".
    Apply changes.
    Restarted the oc4j, just to be on safer side (not sure if this is required)
    The document function will open documents from any location on your machine.
    Thanks again Tim
    Regards
    Sujith

  • XML Publisher template. Can't associate to a report

    Hi,
    I made a report with xml output. With it's output I define an rtf template and associate it to an XML Publisher template.
    When I execute this report, I try to choose the template to format the output to excel (in Options button), but lov is empty.
    This is not my first XML Publisher template an I never had this problem, but now I don't know what to do. Any idea?
    These are the steps I follow:
    1- Create a report and setup it on EBS with XML output
    2- Launch the report in EBS and obtain and XML file
    3- Create an RTF template with MS Word, XML Publisher plug-in and XML file
    4- In EBS, XML Publisher Administrator, create a data definition and a template.
    5- In System Administration/Requests I try to associate the template to the report in On Site Tab. The template's lov is empty
    Thanks to all

    Hi,
    It is also mentioned in (Note: 276691.1 - XML Publisher and Concurrent Manager Integration). Anyway, the OP has already provided the solution without referring to any document which should be easy for those who may encounter the same issue.
    Thanks,
    Hussein

  • How to remove group in XML Publisher template

    Hi All,
    How to remove group in XML Publisher template while desining as below is one example in that i want to remove the group no 2,3,4 or G Supp Seq,List G Audit,G Audit and want the output of line no 1 and 5 and then 1 or Batch / Entry/ Category/ List G Supp Seq/C Line No / C Transaction / C Document//C Credit/C Debit/C H Seq Name.
    Example:
    1) Batch / Entry/ Category/ List G Supp Seq                    /C Credit/C Debit/C H Seq Name                    
    2)          G Supp Seq
    3) List G Audit
    4) G Audit     
    5)     C Line No / C Transaction / C Document
    Kindly help how to generate the output without the line no 2,3,4.
    Regards,
    Sushant

    Sushant,
    you can try to design the RTF by Regrouping the XML data based on your requirement then you may get proper order.
    Please see the Regrouping XML concept in the user guide.
    Regards,
    Prasad Raju

  • Can not  log in  using Bi publisher template builder  + word2007

    windows xp++bi publisher template builder for word 11.1.1.3.0 +word 2007
    I can not log in when i use template builder.
    click log in ,a window pop up, enter username/password ,
    nothing happened,
    If i entered the wrong password ,it told me something wrong with the password.
    but if i entered the correct password ,it stuck 。
    what's wrong
    Edited by: Cindy on 2013-4-12 上午3:15
    Edited by: Cindy on 2013-4-12 上午3:15

    at the begining clicked "log in " button , a error window showed up ,the message like " xxxx: Module_starter"
    For correcting this, I run
    F:\Documents and Settings\gxin>DEL /S /A:H /A:-H *.EXD
    regsvr32.exe /u C:\Windows\System32\MSCOMCTL.OCX
    regsvr32.exe C:\Windows\System32\MSCOMCTL.OCX
    then,tried again, i could see the login window but new problem appeared...
    Edited by: Cindy on 2013-4-12 上午3:36

  • XML Publisher Template Builder for Adobe Acrobat

    Need a XML Publisher Template Builder for adobe acrobat as is available for word.

    I did so.. however, publisher is not able to substitute xsl syntax by the actual value..
    eg.
    i had a <?X_PO_NUM?> in word (either using text field or manually writing this..) and i converted the word doc into pdf using third party s/w..
    when i uploaded this template pdf with sample data file using xmlp admin repsonsibility, and tried to preview the output,
    substitution is not happening..
    the requirement here is, to have some input fields in final PDF output for which report-users should be able to type values in.
    for which I assume initial template has to be in PDF itself..
    any ideas or pointers will be much appreciated..

  • IWeb • How Do I Make Links in an Embedded PDF Document Open in New Page?

    On this page http://ostyn-newman.com/Gov_Downloads.html I have a PDF document that is embedded.  I tried an IFrame, but everything seemed to work better for me with the "Embed" code.  I am open to changing this if it would be better.  Here's my problem.  I can get the PDF document to display fine, but when I click on the links in the PDF document, the destination page opens in the embedded window.  I want the links to open the destination in a new window.
    I created the part of the document with most of the links (Pages 8.5 - 56) in Numbers and cut and pasted the table into a Pages document to create the completed document on our site.  I exported the docuemnt from Pages as a PDF file which is what you see.  There is also a link to download the file on the same page which works just fine.
    I have tried to insert the target="_blank" code but have not been able to get it to open the destination pages in a new window.  I am inserting the code by using the Insert/Widget/HTML Snippet Feature in IWeb.  Here is the code I am using.
    <embed src=
    "http://ostyn-newman.com/Media/GS27F0026XTextfile.pdf"
    style="width:850px; height:1000px;
    border-width:0px;
    border-color:#FFCC66;
    border-style:solid;"
    scrolling="auto" >
    </embed>
    I am not a coder and have just used Google to find the code to cut and paste and have played around with it to get to the place I am.  If anybody can tweak the code I have or offer some totally new code for me to insert that will get this to work would be greatly appreciated.
    Please keep in mind that most of the people who visit and use this page are government employees and are almost exclusivey using Explorer. 

    Thank you Jeff,
    I tried your original suggestion and now my inserted html widget reads
    <embed src=
    "http://ostyn-newman.com/Media/GS27F0026XTextfile.pdf"
    style="width:850px; height:1000px;
    border-width:0px;
    border-color:#FFCC66;
    border-style:solid;"
    scrolling="auto" target="_blank">
    </embed>
    It is live on my site.  You can see that the embedded document still opens the destination links in the embedded window.
    As for your other two suggestions, thank you as well.  I am aware of those techniques and did not use them because that is not how I want the other PDF links on the page to behave.  The catalog and autocad blocks downloads in the box at the top should simply download (or behave however the client's browser is configured to handle downloaded PDF documents or zip files.)  I don't intend to force those to open a new window.  I could also have our client click on a link to the PDF document and open it in a new page (like in your second suggestion) but I was hoping to embed the PDF and have it automatically viewable on our Download • Terms • Prices Page with all of the PDF search functions intact as well as the links be active.  My only complaint at this point is that the links in the embedded PDF document open the destination page in the embed window instead of a new window.  I only want to force a new window because the destination window doesn't behave properly when it opens in my embed window and it is difficult to figure out how to go back to the my PDF document when a destination window gets opened in the embed window.  The code you sent didn't do the trick.  Or maybe I didn't get it exactly right.  That is why I included it above.  Thanks for trying though.  I appreciate the effort.
    I would be willing to bypass the imbed/iFrame route altogether if I could just somehow drop the Pages document into the IWeb page and retain the search and link features, but I've not been able to figure out how to do that.  When I was exploring how to directly drop a Pages document into an IWeb page is when I stumbled on the method of embedding a PDF document into an IWeb page to retain the important search and link features.

  • XML publisher(template builder menu for rtf)

    Hi,
    i am trying to do XML publisher report...
    To develop Rtf template by using Microsoft word.i need one menu name called Template Builder over microsoft word .
    i think to get this menu we have to apply some software or patch over the machine which we r using for rtf development .
    anybody can give me the software name and also where i can get this ...
    regards,
    kumar

    The XML Publisher 5.0 Template Builder for Word is available on Metalink as a Patch:
    Patch 4239263
    Description XDO/ORACLE XML PUBLISHER TEMPLATE BUILDER PATCH 1.0.0
    Product XML Publisher
    Release Applications 11i
    Platform or Language -------- Platforms --------Microsoft Windows (32-bit)
    If you don't have access to Metalink, you can download a trial version of the standalone release of XML Publisher 5.5 from Oracle eDelivery:
    http://edelivery.oracle.com/EPD/Download/get_form?egroup_part_number=B23145-01
    Product Pack Oracle Application Server Products
    Platform: Any (e.g. Window 32 Bit)
    The part number is B23145-01: "Oracle® XML Publisher CD/Media Pack".
    The Template Builder for Word is part of the "XML Publisher Desktop".
    HR Madrid

  • How can i print data in bi publisher template across wise

    Hi,
    Please let me know how can i print data in bi publisher template across wise.
    eg.
    In my C1 field there is a data coming like
    S
    JR
    MR
    i want to print this filed
    S JR MR
    Thanx
    Arjun

    Hi ,
    Now i am able to print S JR MR horizontally.Thanx a lot for that.Now my problem is
    There is one column field which displaying value like S JR MR
    Now i am calculating a value using a function and want to display that value for each vale of above column
    For eg
    The report should display like this
    C1 C2 C3
    45 1-2-3 S JR MR
    45*1 2*45 3*45
    I have created package to make the string 1-2-3 separeate and the fuction is working fine .But unable to print value in bi
    Its displaying like this for each S JR MR
    45*1 2*45 3*45 45*1 2*45 3*45 45*1 2*45 3*45
    45*1 is in different group that should display also horizontally thats why i tried this <?for-each@cell:G_STR_ID?>
    Please help me
    Thanks in advance

  • Can I open embedded PDF documents in a PDF file on an iPad or Android?

    Not sure if first post got through, the forum required me to change password ...
    So I'm trying to open embedded PDF documents in a "parent" PDF document on an iPad. 
    On a PC the file opens fine.
    On an iPad 2 with Adobe's Reader the same file says it's corrupted.
    On PDF Pro the file opens, I can see the listing of embedded PDF documents but when I click on them nothing happens.
    Is there a way for a PDF file with embedded hyperlinked PDF documents to be displayed on an iPad or Android?

    pages on the iOS has access only to the camera roll to embedd pictures , but no external files.
    Content from other documents like pdf can be copied and pasted by using Adobe Reader for iOS or the iBooks.app, open the pdf , copy text , then go to pages.app and paste text into the document there.

  • Modify Pivot Table in BI Publisher Template

    Hi,
    I've a crosstab report requirement in BI Publisher. Suppose I've 2 row-items, 1 column-item(Month) and 3 datapoints. In BI publisher template builder->pivot table wizard I found only option is there to display datapoint columns one after another vertically. So for each Month(column item) 3 columns are coming, total no. of columns for data points: 12x3=36 + 3 Total columns; ie total 39 columns. Also for two row-items 2 columns are coming. So all together in one sheet 41 columns are coming and it has become difficult to manage.
    Hence, I want to display the datapoint columns one above another, so that 13 column only (12 columns for datapoints + 1 column for Total) come instead of 39 columns.
    Please let me know how can it be done from BI-publisher template builder. Simple XML source taken from a table is used behind this template. Can the requirement be achieved by modifying XML source format or XSL-FO output taken from the template? Please help.
    Regards..

    Insert a table with 3 columns and 2 rows..
    split the (2,2) cell into 3 rows and (2,3) cell into 3 rows..
    table cell (1,1)<?horizontal-break-table:1?>
    (1,2)Sales
    (1,3)<?for-each-group@column:SALE;./YEAR?><?YEAR?><?end for-each-group?>
    (2,1)<?for-each-group:SALE;./REGION?><?variable@incontext:G1;current-group()?><?REGION?>
    (2,2) 1st row Software
            2nd row Hardware
            3rd row Services
    (2,3) 1st row<?for-each-group@cell://SALE;./YEAR?><?sum ($G1[(./YEAR=current()/YEAR)]/SOFTWARE)?><?end for-each-group?>
    2st row<?for-each-group@cell://SALE;./YEAR?><?sum ($G1[(./YEAR=current()/YEAR)]/HARDWARE)?><?end for-each-group?>
    3rd row<?for-each-group@cell://SALE;./YEAR?><?sum ($G1[(./YEAR=current()/YEAR)]/SERVICES)?><?end for-each-group?><?end for-each-group?>the xml file I used was mentioned in tim's blog in the previous reply of mine...I tried it and I got the desired o/p..
    Edited by: user10280715 on Apr 8, 2009 8:58 AM

  • How to create RTF template base on SQL in BI Publisher template for word?

    Hi,
    When i was using XML publisher desktop 5.6.2, i could able to see options Report wizard and SQL under Data menu to create template in MS word. But now i've installed BI Publisher template builder for word and there is no option for SQL or Report Wizard under Data menu. Is it eliminated in new version or did i mistake at install time?
    As i have no option for SQL, i just run sql in TOAD and export data as a xml file and just load that data in to MS word as XML Data. it's not bad idea !!!.
    Thanks & Regards
    Jay

    The create report from SQL option was removed from the Desktop tool. Here's what I would recommend.
    1. Go to BIP server and create your report and query there (use the online query builder, use SQL Developer, use BI EE, use TOAD)
    2. Open Word and login to the BIP Server
    3. Browser the report catalog.
    4. Open the report you just created online. (This will automatically create a download sample XML)
    5. Create your layout
    6. From inside word, upload your new template (new Menu option)
    The ability to start new templates and update existing templates directly from Word is pretty handy. You no longer have to go back to your browser to upload the lasted copy of your template to the server.
    Bryan

  • User is having a save issue with Word 2007 documents created from a template.

    I have 1 particular user, out of approx. 30, that is experiencing an intermittent problem when trying to save a Word 2007 document to a network drive.  The particular error is
    "Word cannot complete the save due to a file permission error. (xxx.docx)"  CTRL-SHIFT-I Error Code is: 701743
    This only happens while he is working in a document created from a template (.dotm) file I made a few months ago.  The problem has never occurred with any other Word docs or Excel, or any of the other users accessing the template to create documents. He
    also gets an error message stating
    "xxx.docx cannot be found.  Check your spelling, or try a different path."  CTRL-SHIFT-I Error Code is: 200635
    But this only occurs when trying to "Save As"  The odd thing is that if he renames the file to something like xxx1.docx, it will allow him to save on the network folder with no issues.  And as mentioned, this is intermittent - he may go weeks without
    seeing the message while doing nothing different.
    I have tried search for similar issues in the forums but they don't seem to match exactly what is happening to us.  Our 3-man IT department seems to be at a loss and I have had good luck solving other issues in this forum so I thought I would give it
    a try.
    Any ideas would be appreciated.
    Thanks,
    Adam

    Hi,
    It's seems temporary internet folder corrupted, please try to modify the location for temporary Internet files for Internet Explorer test this issue:
     1.In Internet Explorer, choose Internet Options from the Tools menu to display the Internet Options dialog.
     2.In the Internet Options dialog, click the General tab. In the Browsing history section click Settings to open the Temporary Internet Files and History Settings dialog.
     3.In the Temporary Internet Files and History Settings dialog, click Move Folder to open the Browse for Folder dialog.
     4.In the Browse for Folder dialog, select the following location.
    C:\Users\<user name>\AppData\Local\Microsoft\Windows\Temporary Internet Files
    5.Click OK to close the Browse for Folder dialog. Click OK to close the Temporary Internet Files and History Settings dialog. Click OK to close the Internet Options dialog.
    6.Reboot the computer.
    More detailed information you can refer to below link:
    http://blogs.technet.com/b/ryan_christiansen/archive/2008/04/28/word-2007-file-save-errors-an-error-is-displayed-when-attempting-to-save-a-word-document.aspx
    If this problem still persists, please refer to this article troubleshooting problems:
    http://support.microsoft.com/kb/921541
    Best regards.
    William Zhou
    TechNet Community Support

  • Problem with a text in the last page of XML Publisher Template

    Oracle Applications : 11.5.10.2
    Oracle BI Publisher Template Builder for Word 10.1.3.4 Build 129
    Hi,
    I have a problem with XML Templates, I need that a text (*Este documento no confiere origen, señala únicamente país de manufactura.) is always at the bottom of a table and it has to be in every page, the problem is in the last page where the text is showed twice.
    <?start:body?>
    LINEA EN
    FACTURA
    DESCRIPCIÓN
    CANTIDAD
    NO. DE SERIE
    PAIS DE MANUFACTURA*
    F LINE_NUMBER
    ITEM_DESCRIPTION
    CF_PRIMARY_QTY
    CF_SERIAL_NUMBER
    CF_PAIS_DE_ORIGEN
    E
    *Este documento no confiere origen, señala únicamente país de manufactura.<?end body?>
    *Este documento no confiere origen, señala únicamente país de manufactura.
    Is there a way in order not to print the text twice in the last page?.
    Regards,
    Sergio.

    Whatever the problem, it's likely due to how those paragraphs
    were formatted in Word. The RH conversion usually only reflects
    what was done there.
    Are you comfortable inspecting the underlying HTML code (the
    RH TrueCode tab)? I think you'd find some type of SPAN tag or STYLE
    attribute that is determining an absolute paragraph width.
    Otherwise, you could try this experiment:
    1. Strip the base Word doc to a moderate size, but which
    includes at least one of these non-wrapping paragraphs.
    2. Select All and press Ctrl+spacebar (this removes all
    formatting from the selected text).
    3. Import that Word doc to RH and see how it looks now.
    Good luck,
    Leon

Maybe you are looking for

  • Ran system restore and now my Adobe Acrobat license has exceeded its limit

    I tried restoring computer due to a corrupt install and it removed Adobe Acrobat, since the system restore did not work, I re-installed the OS, patched and then installed Adobe Acrobat XI Professional, entered my license and it comes up with exceeded

  • Movement types--warehouse management

    WM movement type 561 not allowed for warehouse number ......this is the error  i am getting while trying to create material stock.....what is the solution for this error plsss assist thanking you Maddy

  • Airport express software for mac air

    how can i get the sofwate for airport ´xpress on my computer

  • SAP Script : Amount in Words

    Dear All, I am working on bank Check, I need to print the amount value in Words. Amount field  &REGUD-SWNES&, I need to print this amount in words. I mean to say that, regud-swnes = 1000.69, I have to print this as One Thousand and 69/100. please adv

  • Enable ftp/telnet Solaris 10

    Hi, I�m trying to enable ftp/telnet in Solaris 10, this is my first time i use solaris 10, could you help me please?