Shared Folder Images in RTF Template?

Hi, how to use images which are in shared folders like *\\\\path\\Trademarks\\test.jpg* into RTF templates? url:{} works only for http links and doesn't work for shared path. I need to have dynamic images, we have a logic in query that would give us the path like *\\\\usnbkb110p\\Trademarks\\testforuljp.jpg*. Not sure how to proceed further. Kindly advice.

Any ideas on this? Any recommendation would be appreciated.

Similar Messages

  • How can i display image in RTF template when Oracle Apps running in Windows

    Can any body help how can i display image in RTF template when oracle apps running in Windows Server.
    Thanks
    Ravi

    Hi Ravi,
    You can add images into your rtf template using MS Word Insert Picture feature.
    Did you try this method?
    Thanks
    Ravi
    [email protected]

  • Relative path for images in RTF templates

    Hi everybody!
    When I insert an image in a RTF template, I put its path into the web dialog, in order to see correctly the picture when I open the report from the xmlp server, in this way: url:{"http://servername/analytics/res/Images/image.bmp"}
    How can I make this path relative, in order to see the images even if the server name changes?
    Thanks so!
    Francesco

    Hi Tim,
    I am using BIP 10.1.3.3.2. I am able to access system variable CURRENT_SERVER URL.
    Steps:
    <?param@begin:CURRENT_SERVER_URL?>
    <xsl:value-of select="$ CURRENT_SERVER_URL"/>
    CURRENT_SERVER_URL is getting printed in BI Publisher. Value displayed is http://xx4697.xxx.co.in:9704/xmlpserver.
    Now we are importing xsl into RTF template. File aaa.xsl is stored at [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app]
    We have hardcoded the path for XSL in RTF. The path is <?import: http://xx4697.xxx.co.in:9704/aaa.xsl?>
    As we want to set dynamic path we changed hardcoded xsl path to <?import: {$CURRENT_SERVER_URL}/../aaa.xsl?> but it is not working. Sometimes BIP is taking local path of MyDocuments folder and sometimes Desktop path. If I put that XSL file in MyDocuments folder or Desktop, it is working fine. But ideally it should refer [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app] path...
    Thanks,
    Amit D

  • Insert Image in RTF Template Conditionally

    Can an image be inserted into an RTF Template using an If-Then statement? Like this:
    <?if:FIELD1='IMAGE1' 'insert IMAGE1' else 'insert IMAGE2'?>
    If this is possible what syntax needs to be where the example says 'insert IMAGE1'? The images are jpg files that exist on a local PC but the template will run on a Unix machine.
    Is there a way to do this? Thank you very much.
    James

    you can try like this
    <?template:image?>
    <?if:FIELD1='IMAGE1'?>
    IMAGE1
    <?end if?>
    <?if:FIELD1!='IMAGE1'?>
    IMAGE2
    <?end if?>
    <?end template?>
    use this tag where u need image <?call:image?>
    for image location or dynamic images check these links
    https://blogs.oracle.com/xmlpublisher/entry/dynamic_images
    https://blogs.oracle.com/xmlpublisher/entry/one_of_our_images_is_missing
    http://learnobi.blogspot.com/2012/08/dynamic-image-in-rtf-of-oracle-bi.html
    Signature image on template

  • Images in RTF template giving errors

    Hi,
    I am using "XML Publisher Template Builder for Word" ver 5.6 Build 45.
    My requirement says that i need to put all data values in a Rectangular BOX. I made the template and tested the same by using Priview option of Template Buider, and it looks Good.
    Now as soon as i am trying to upload the same template it gives me NPE, i am pasting the same here....
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.xdo.XDOException.getMessage(XDOException.java:128)
         at java.lang.Throwable.getLocalizedMessage(Throwable.java:266)
         at java.lang.Throwable.toString(Throwable.java:343)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
    Now after this when i closed the instance and reopen it, i found the template is already added even after that exception.
    Now i when i am trying to run report it is compliting with error and in log life, error is shown as below...
    [9/21/06 2:45:46 PM] [UNEXPECTED] [186597:RT3517534] java.sql.SQLException: No c
    orresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.
    FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LA
    NGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_C
    ODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DA
    TE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE US
    E_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APP
    LICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APP
    LICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND
    L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE=
    B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    As there is no row returing in this query i thing there are some prasing issues with RTF templated with images as the same report works fine without images.
    Please tell me if you have any pointer how to resove the issue.

    Hi Tim,
    We have logged SR 5803815.992, and uploaded the RTF template and a sample XML data file.
    We are currently on 11.5.10 CU2 and 11i.XDO.H
    Please let us know if you need any other information.
    Thanks

  • How to display a blob image in RTF template's Header.

    Hi,
    I want to display a blob image (logo company) in my RTF template,
    my problem is how i can display this image in the template's Header.
    I tried this
    <?
    <fo:instream-foreign-object content-type="image/jpeg" >
    <xsl:value-of select=".//LOGO"/>
    </fo:instream-foreign-object>
    ?>
    but was unsuccessful
    Thanks in advance.

    I tried this
    <?
    <fo:instream-foreign-object content-type="image/jpeg" >
    <xsl:value-of select=".//LOGO"/>
    </fo:instream-foreign-object>
    ?>
    but was unsuccessful
    sure
    what is red elements ?
    you template can be looks like
    ..... some data .....
    ( after  all data )
    <?template:footer_logo?>
    <fo:instream-foreign-object content-type="image/jpeg" ><xsl:value-of select=".//LOGO"/></fo:instream-foreign-object> (as field )
    <?end template?>
    <?call-template:footer_logo?> ( in header/footer )
    some remarks https://oralublog.wordpress.com/2014/10/04/bi-publisher-11g-footers-and-headers-in-rtf-template/

  • Display of image in rtf template

    Hi,
    I have a tag in my xml file like
    <ImageDistributeur>IMAGE:D:\EXPLOIT_UNPMF\Edition\Image\L29004G.tif</ImageDistributeur>
    and the image is stored in the particular location specified inside the tag.
    The xml file doesnt contain the image...
    My question is how can i use the tag and get the image in the template.
    I dont want to embed the image directly into the template as it is a dynamic logo...
    so i have to use the xml tag.
    but if use the above <ImageDistributeur> tag... its obvious that the text inside the tag only will be printed...
    Is there any other way to get the image from the path specified ..if so please guide me in this issue.

    Hi,
    have a look at Tims Blog: http://blogs.oracle.com/xmlpublisher/2006/05/02#a25
    Regards
    Rainer

  • Multiple images in rtf template with out using url conditions

    Just iam taken 3 logos from system to make copy and paste in rtf file
    But i need to write the conditions for those logos depend upon ord_id (or) supplier_name?
    How can i write condition by taking the if/when between logos
    Any one knows pls replay this (or) send to my mail id "[email protected]"
    Thanks and Regards,
    Basha

    Hi Tim,
    We have logged SR 5803815.992, and uploaded the RTF template and a sample XML data file.
    We are currently on 11.5.10 CU2 and 11i.XDO.H
    Please let us know if you need any other information.
    Thanks

  • Images Behind Text in RTF Template

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

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

  • Rendering a dynamic image(blob) in a BI Publisher Report via an RTF templat

    Been working on this for a while and now at a dead end hoping the experts can direct me to try something new. There is lots in the forums on blobs and displaying in reports and from it all I have gleaned that I need to encode the blob in Base64 and then use this code.
    <fo:instream-foreign-object content type="image/jpg">
    <xsl:value-of select="IMAGE_ELEMENT"/>
    </fo:instream-foreign-object>
    I use this function to encode a 9KB jpeg into a clob (and my jpegs will be less then 32K.
    function encode_base64(p_blob_in in blob) return clob is
    v_clob clob;
    v_result clob;
    v_offset integer;
    v_chunk_size binary_integer := (48 / 4) * 3;
    v_buffer_varchar varchar2(48);
    v_buffer_raw raw(48);
    begin
    if p_blob_in is null then
    return null;
    end if;
    dbms_lob.createtemporary(v_clob, true);
    v_offset := 1;
    for i in 1 .. ceil(dbms_lob.getlength(p_blob_in) / v_chunk_size) loop
    dbms_lob.read(p_blob_in, v_chunk_size, v_offset, v_buffer_raw);
    v_buffer_raw := utl_encode.base64_encode(v_buffer_raw);
    v_buffer_varchar := utl_raw.cast_to_varchar2(v_buffer_raw);
    dbms_lob.writeappend(v_clob, length(v_buffer_varchar), v_buffer_varchar);
    v_offset := v_offset + v_chunk_size;
    end loop;
    v_result := v_clob;
    dbms_lob.freetemporary(v_clob);
    return v_result;
    end encode_base64;
    The xml is simple:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW>
    <IMAGE_NAME>Test</IMAGE_NAME>
    <IMAGE_MIME_TYPE> image/jpeg </IMAGE_MIME_TYPE>
    <IMAGE_ELEMENT>…lots lines of encoded data… </ IMAGE_ELEMENT >
    </ROW>
    </ROWSET>
    Then when I put all together using BI Publisher Desktop 11.1.1.6 in an rtf template and preview the pdf, the preview fails with a long message ( can provide the whole thing if requested) but starting with:
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.xdo.common.image.ImageReader.checkFormat(ImageReader.java:130)
         at oracle.xdo.common.image.ImageReader.analyze
    I suspect the base64 encoding may be the problem but I am out of my realm in trying to debug this. Any help would be most appreciated…sorry for the length of this.

    I thank you again for continuing to try to help me. However, I regret to say that this function does not work. The same error results (see below). It is hard to believe that this cannot be done with APEX and BI Publisher. I would think that other APEX users have the need to display images and do not have the E-Business Suite.
    What I am doing is very straightforward....a small jpeg stored as a blob in an Oracle table that needs to be dynamically displayed from a report in APEX----created with BI Publisher and an rtf template.
    If you have any other ideas, please send them..your help is appreciated.
    Java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.xdo.common.image.ImageReader.checkFormat(ImageReader.java:130)
         at oracle.xdo.common.image.ImageReader.analyze(ImageReader.java:314)
         at oracle.xdo.common.image.ImageReader.load(ImageReader.java:510)
         at oracle.xdo.generator.pdf.PDFGenerator.createPDFImageReference(PDFGenerator.java:3261)
         at oracle.xdo.generator.pdf.PDFGenerator.getImage(PDFGenerator.java:3399)
         at oracle.xdo.generator.pdf.PDFGenerator.getImage(PDFGenerator.java:3388)
         at oracle.xdo.generator.ProxyStreamGenerator.getImage(ProxyStreamGenerator.java:121)
         at oracle.xdo.template.fo.area.AreaTree.getImage(AreaTree.java:779)
         at oracle.xdo.template.fo.area.InstreamForeignObjectArea.loadImage(InstreamForeignObjectArea.java:82)
         at oracle.xdo.template.fo.area.InstreamForeignObjectArea.init(InstreamForeignObjectArea.java:151)
         at oracle.xdo.template.fo.area.GraphicArea.<init>(GraphicArea.java:80)
         at oracle.xdo.template.fo.area.InstreamForeignObjectArea.<init>(InstreamForeignObjectArea.java:51)
         at oracle.xdo.template.fo.elements.FOInstreamForeignObject.doLayout(FOInstreamForeignObject.java:134)
         at oracle.xdo.template.fo.elements.FOInline.doLayout(FOInline.java:147)
         at oracle.xdo.template.fo.elements.FOInline.doLayout(FOInline.java:83)
         at oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:330)
         at oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:226)
         at oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:140)
         at oracle.xdo.template.fo.elements.FOFlow.doLayout(FOFlow.java:84)
         at oracle.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:250)
         at oracle.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:141)
         at oracle.xdo.template.fo.FOHandler.endElement(FOHandler.java:720)
         at oracle.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:595)
         at oracle.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)
         at oracle.xdo11g.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)
         at oracle.xdo11g.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1322)
         at oracle.xdo11g.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:366)
         at oracle.xdo11g.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:312)
         at oracle.xdo11g.parser.v2.XMLParser.parse(XMLParser.java:218)
         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.xdo.common.xml.XDOSAXParser.invokeParse(XDOSAXParser.java:166)
         at oracle.xdo.common.xml.XDOSAXParser.parse(XDOSAXParser.java:122)
         at oracle.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:407)
         at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1218)
         at RTF2PDF2.runRTFto(RTF2PDF2.java:473)
         at RTF2PDF2.runXDO(RTF2PDF2.java:337)
         at RTF2PDF2.main(RTF2PDF2.java:230)

  • Image substitution in a RTF template

    Hi,
    I'm trying to substitute an image on a RTF template.
    I have placed a dummy image on the template, and on the web tab of Format Picture i've hardcoded the actual image directory path.
    the entry is like
    "url:{/u01/app/applricew/ricewappl/xx/11.5.0/reports/US/signature.jpg}"
    Now, when I'm trying to preview the pdf output from XML Publisher, its displaying the dummy image on the output.
    Does anyone have any idea what could be the problem.

    sorry to bother you ..
    it was simply my mistake .. I kept the double quotes which should not be there ..

  • How to set restriction on shared folder to copy or move images and videos

    Hi,
    I am using windows server 2008 for file sharing, it's simple folder sharing and there is no additional roles added and not promoted as file server.
    Users have permissions to access folder and they can put data on shared folder but I want to restrict user that they can not copy any images and video on it.
    Need urgent help to stop copying images and videos on shared folder.

    If you need to restrict only certain types of files, then file screening is what you need. Windows Server 2012 R2 comes with a powershell module for FSRM, so you can script configuration of file screening.
    The code will look like the following (this is only an example):
    New-FsrmFileGroup -Name "Images and Videos" –IncludePattern @("*.jpg", "*.mpg", "*.avi", "*.tif", "*.mp4", "*.mov")
    $Notification = New-FsrmAction -Type Email -MailTo "[Admin Email];[File Owner]" -Subject “Warning: attempted to create a video or image file” -Body “You attempted to create a video or image file on a share that does not allow storage of this type of files.” -RunLimitInterval 120
    New-FsrmFileScreen -Path "C:\Shares\FileShare1" –IncludeGroup "Images and Videos" -Notification $Notification -Active
    Gleb.

  • How to create a hyperlink in RTF template to navigate within the report

    Hi,
    I have an RTF template for one of my report and in that i want to provide hyperlink "Top" which will take the user to the beginning of the report. The output of the report is in HTML format which gets displayed on the browser.
    Since the report has some many tables and is very lengthy i wanted to provide an hyperlink which will navigate to the top at the end of each table.
    I formatted my report title as "Heading1" and created an hyperlink at the bottom of the table in the template and pointed it to the above heading. But still i am not able to navigate to the top from the HTML report that gets generated.
    I have the template and the sample xml file at the following shared location:
    \\Rakumara-pc\TO_XMLPUB_GURU folder.
    Please take a look and help point out what am i doing wrong.
    -thanks
    Ramesh K

    Hey Ramesh
    Thats cheating ... the forum is meant for customers not O developers ;o)
    Can you send your template link (I cannot get into your PC) to the xmlp ML and we'll help there.
    Regards, Tim

  • Pictures which were found in shared folder are not shown as thumbnails

    Hi,
    I'm indexing SharePoint sites and  File Shared folder with Pictures.
    In the search results page the pictures from SharePoint are shown as thumbnails (there is a preview of the picture) but the pictures from fileshare are not shown that way (it is shown as a preview of a video but empty, without preview image).
    What should i set?
    I added a refiner of "Content Type" and it seems that the content type is "image/jpeg".
    keren tsur

    Hi,
    First create a custom display template which will read the image using the Path property as a thumbnail. Make it smaller etc using CSS. Next up create a custom Result Type which triggers on:
    ContentType Equals any of... image/jpeg
    ContentSource Equals and of... <name of file share content source>
    and pick your custom display template in the dropdown on the Result Type page.
    Depending on policy settings the browser will or will not read the image from the file share and display it inline.
    Thanks,
    Mikael Svenson
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Problem in RTF template

    Hi all,
    I use Bi publisher version (11.1.6 )
    First Question : What is the best template type for making operational reports not statistical report ( RTF template or PDF template or others ) ? --
    Second Question :
    when i try to make report template using RTF template in ms-word by using Bi publisher desktop
    1- How can i make repeating header dynamically ( header contain data from data model ) ?
    2- when i insert an image in the header it did't appear in the runtime ?
    3- when i insert line in the header it did't appear completely just part of the line .

    First Question : What is the best template type for making operational reports not statistical report ( RTF template or PDF template or others ) ? --it will be clear if you look at "Table 2-6 Valid Output Formats for Each Layout Type" - http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_report_new.htm#layout_config
    Second Question :
    when i try to make report template using RTF template in ms-word by using Bi publisher desktop
    1- How can i make repeating header dynamically ( header contain data from data model ) ?did you try
    >
    To repeat header rows:
    Select the row(s) that you want to repeat on each page.
    From the Table menu, select Heading Rows Repeat.
    from http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#BHBFEJJI ?
    2- when i insert an image in the header it did't appear in the runtime ?
    3- when i insert line in the header it did't appear completely just part of the line .did you try "4.5 Defining Headers and Footers" http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#do_handf ?

Maybe you are looking for

  • Mystery HDD usage

    hello all, I haev an old Powermac G4/533 that i use as a file server, and it also does some light local stuff ( runs scanner etc.) Has 10.3.latest on it. Two internal HDDs - 40 GB main; 80 GB backup.  Plus an external FW 2 TB that is used as a NFS. H

  • JDK Swithcing

    Does Jdeveloper 9iRc2 support JDK 1.4? I am trying to use JDK 1.4 but I keep getting "Could Not Initialize the Java Virtual Machine" Any Suggestions? Thanks, Mike Johnson

  • Why do third-party keyboard apps have problems in Mozilla Browser for Android?

    I have a third-party app that I use as a keyboard: SwiftKey X. whenever I select this keyboard as my default and start typing, be it in text-fields on site itself or the adressbar, it never seems to get the text right. For example; it deletes words w

  • Setting LOV in URL for viewrpt.cwr

    Hello, I am trying to find out how I can specify a list of values for a prompt when I build a URL using viewrpt.cwr? I would like to have a different list each time the report is viewed depending on a number of different factors unrelated to crystal.

  • Array index out of bounds in oracle top links, jsf page

    Dear All, // This is my controller page // * To change this template, choose Tools | Templates * and open the template in the editor. package jsfpack; import db.Addressmaster; import db.Partymaster; import db.Propertymaster; import db.RealEstateJSFBe