BLOB image in XML Publisher

Currently we are using 6i reports to generate XML output, which in turn is passed to XML publisher to generate documents.
I am trying to access a blob image from DB in 6i reports. How Can I pass this image to XML publisher.
Basically my doubt is:
How do I incorporate BLOB image from database into XML Publisher? What are the different approaches available?

Hey David, well, this isn't the unique solution for displaying images in XMLP. The other alternative (wich is my plan b) is to have this images in a path in the server. So, you can bring the name of your image (maybe, a signature) from the database; I have test that and works very well.
I'm trying to use an URL because the signatures are stored as BLOBs in the db and I was trying to re-create the file in the server, but it became a little complicated. So, in my case, I just have to resolve any of this issues and I'ld have my images in the reports.

Similar Messages

  • How to Insert Image in XML publisher Report

    Hi Forum,
    I have created rtf file for xml report and in this i inserted one Image. When run the request from apps environment and while checking the output in excel format, Image is not displaying..
    Please advice me.
    Thanks & Regards,
    Nag.CH

    Hi;
    What is your EBS and Os?
    Please check below note:
    Image Does Not Display In XML Publisher Excel Output [ID 736897.1]
    Regard
    Helios

  • HRMS - Diplaying Employee image in XML Publisher Report

    I have uploaded employee picture through people screen in HRMS, The same picture i am trying to display in my XML report. Concurrent request is ending with warning. I couldnt find any help from metalink and SR. Got some clues from metalink to use URL. but we need to display employee image for each employee. did anybody worked on the same requirement. please provide the complete steps for the same.

    Hi,
    I am also having the same requirement,did u got the solution? pls share with me some inputs if u have achieved this.
    Regards,
    Sayeed.

  • Inserting Image Into XML Publisher Report

    I have a problem to insert an JPG Image(Dynamique Logo depending on setid ) into My XMLPublisher report.
    My Image is stored in database. My query return the field image
    I Use this syntaxe:
    <fo:instream-foreign-object content-type="image/jpg">
    <xsl:value-of select=".//IMAGE"/>
    </fo:instream-foreign-object>
    where IMAGE is the image field name of my query.
    But this does'nt work ; any Help please ?

    Make sure this parameter is set false:
    http://blogs.oracle.com/xmlpublisher/2008/03/secure_your_io.html
    Also follow along this guideline:
    http://blogs.oracle.com/xmlpublisher/2006/05/inserting_blobs_into_your_repo.html
    There you can even find an example
    Cheers
    Jorge
    ps. If this answers your question then please grant the points and close the thread

  • Getting BLOB column in XML

    Hi,
    We have a requirement where we have a database column as BLOB which contains images.
    Now we have to print this images in the XML publisher report after submitting the program in Oracle APPS.
    Please help or give a pointer for this,
    Thanks
    Aryan

    Here...this should help !
    BLOB image in XML Publisher

  • Print Images in XML Report

    Hi,
    I do have a requirement to print digital signature in a Quote, the signature is been stored as a picture (longraw datatype per_images table) in HRMS Tables
    HRMS Responsibility -> people -> Enter and Maintain -> Picture, here we will upload the signature of a person and this need be printed in XML Report.
    In the Report Builder if we change the ‘file format’ to ‘Image’ we are able to display the image , but when we are register in APPS, we not able to get the image, even XML tags are not been generated.
    Regards,
    Satish.

    Here...this should help !
    BLOB image in XML Publisher

  • Rendering Imges in XML Publisher Report

    Hi,
    We have the requirement of Rendering Images in XML Publisher Report.This images will be for each record you export. We do not want to construct the URL at run time and show the image, rather want to send the data through XML as encoded binary information and at run time to interpret the data and render the Image.
    Is this supported in XML Publisher, if yes , what are the steps to follow in sending the data (specific encoding/formats etc)
    Thanks
    Joseph George

    Why can you not use send the path on the server via XML to the template to render the image?
    Brett

  • Oracle XML Publisher Java API's showing arabic characters as question marks

    Hi All,
    I have created a custom xml publisher report. All the setups in xdo.cfg and the fonts have been installed. When i run the report as concurrent program using the XDODTEXE as the executable this report executes fine displaying the arabic characters in the PDF output.
    I have integrated this xml report to a OAF page where am getting the output of the arabic characters as ???????
    Following is the java code i have used to generate the blob for the xml publisher report.
    pageContext.writeDiagnostics(this,"Inside process Template",4);
    AppsContext appsContext = ((OADBTransactionImpl)pageContext.getRootApplicationModule().getOADBTransaction()).getAppsContext();
    String applicationShortName = dataDefApplication;
    String dataSourceCode = dataDefCode;
    OutputStream os = new ByteArrayOutputStream();
    try {
    DataTemplate dataTemplate = new DataTemplate(transaction.getAppsContext(), dataDefApplication, dataDefCode);
    //Get Parameters
    ArrayList parameters = dataTemplate.getParameters();
    //set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
    Iterator it = parameters.iterator();
    while (it.hasNext())
    Parameter p = (Parameter) it.next();
    pageContext.writeDiagnostics(this,"Processing Parameters "+p.getName(),4);
    if (p.getName().equals("P_AUCTION_HEADER_ID"))
    if(AuctionHeaderId != null)
    p.setValue(AuctionHeaderId);
    else
    p.setValue(null);
    dataTemplate.setOutput(os);
    dataTemplate.processData();
    System.out.println(os.toString());
    } catch (SQLException e) {
    System.out.println("SQLException occurred.");
    } catch (XDOException e) {
    System.out.println("XDOException occurred.");
    } catch(Exception e){
    System.out.println("Exception (other) occurred.");
    byte[] xmlb = os.toString().getBytes();
    BlobDomain blob = new BlobDomain(xmlb);
    return blob;
    Kindly let me if i had missed something.
    Thanks
    Anoop

    On a related note, I am seeing a couple of different types of 'incorrect' characters based on different NLS_LANG settings.
    If it is set to AMERICAN_AMERICA.UTF8, I get characters like this:
    رقم الموظ�
    If it is set to ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256, I get characters like this:
    ÑÞã ÇáãæÙÝ
    Do any of you know what these characters are?
    Thanks for any insight.

  • Unable to view image if the size is more than 3KB using XML Publisher.

    Hello,
    We are printing PO approver signature using xml publisher (rtf) on a pdf.
    If the size of the image is 3KB or less, the image gets printed.
    But, if the size is more than 3KB the image does not get printed.
    Additional Info:
    1. The signature is stored as jpg image in fnd_lobs table.
    2. On following code is mentioned in the rtf
    <fo:instream-foreign-object content-type="image/jpg">
    <xsl:value-of select="IMG_SIGNATURE"/>
    </fo:instream-foreign-object>
    3. We are using the following function that converts BLOB to CLOB.
    CREATE OR REPLACE FUNCTION XX_BLOBTOBASE64
    b IN BLOB
    RETURN CLOB
    IS
    sizeb PLS_INTEGER := 4080 ;
    buffer RAW(4080);
    offset PLS_INTEGER DEFAULT 1;
    RESULT CLOB;
    BEGIN
    -- dbms_lob.createtemporary
    -- lob_loc => RESULT
    -- , cache => FALSE
    -- , dur => dbms_lob.CALL
    -- LOOP
    -- BEGIN
    -- dbms_lob.READ
    -- ( lob_loc => b
    -- , amount => sizeb
    -- , offset => offset
    -- , buffer => buffer
    -- EXCEPTION
    -- WHEN no_data_found
    -- THEN
    -- EXIT;
    -- END;
    -- offset := offset + sizeb;
    -- dbms_lob.append
    -- ( dest_lob => RESULT
    -- , src_lob => to_clob(utl_raw.cast_to_varchar2(utl_encode.base64_encode(buffer)))
    -- END LOOP;
    DBMS_LOB.createtemporary(lob_loc => RESULT, CACHE => FALSE, dur => 0);
    Wf_Mail_Util.EncodeBLOB ( b, RESULT );
    RETURN RESULT;
    END;
    Requesting any of you to let us know if there is any method to resolve this issue.
    Thanks,
    Angelica.

    Hi,
    Are you using Outlook.com to send/receive emails? Based on my research, we can only add an image/ picture in your e-mail signature that’s Web based (picture that is available in existing websites or stored in an online storage). See:
    http://answers.microsoft.com/en-us/outlook_com/forum/osettings-oemailset/add-logo-to-outlookcom-signature/4455facf-0926-42a6-aad7-756de662a865
    Since this forum is for general questions and feedback related to Outlook desktop application, if you are using Outlook.com, I'd recommend you post your question in the Outlook.com forum:
    http://answers.microsoft.com/en-us/outlook_com/forum?tab=Threads
    The reason why we recommend posting appropriately is you will get the most
    qualified pool
    of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • My report contains a BLOB (image), why it can't generate an XML file?

    Hi guys,
    I created a report (Purchase Order) and it has a Signature field.
    which is a BLOB column of an image (.JPEG) of the signature of the Purchase Order Approver.
    When i run the report in the report builder its working and it shows the image of the signature.
    BUT when i try to generate xml file to use it for the XML Publisher, it generates an xml file with error. which can't be loaded into the .rtf file.
    i Googled around and it seems that there are limitations in XML Publisher that can not load a BLOB or LONG RAW fields.
    So Please guys i need your help! what can i do now ?
    They need the Purchase Order in a custom PDF format, which i can only make it with XML Publisher.
    Best Regards,

    Hello,
    For questions about BI Publisher (Formelly XML Publisher) :
    BI Publisher
    Regards

  • Image not showing in XML Publisher [works on windows, not unix]

    I have an xml publisher RTF template that references an image from a URL passed in from the xml data file. The report definition references the image as follows:
    <fo:external-graphic>
    <xsl:attribute name="src">
    <xsl:value-of select="//fld_FILE_PATH_NAME"/>
    </xsl:attribute>
    The XML produced for the report correctly contains one single element to resolve to the URL:
    <fld_FILE_PATH_NAME>file:////i01_02/psoft/90/finsys/appserv/FSDSYS90/files/OZ57_EX_E0445_0000000303.png</fld_FILE_PATH_NAME>
    When running in PeopleSoft on a windows application server the process works fine and I can see the image. When I run this in our unix solaris environment, PT 8.49, the report runs but the image does not display. I have checked that the image does exist in the correct location I ran firefox in gnome and pasted the file location below and it resolved fine.
    I am referring to the file using a 'file' URL as follows:
    file:////i01_02/psoft/90/finsys/appserv/FSDSYS90/files/OZ57_EX_E0445_0000000303.png
    Any ideas?
    Glenn

    OK, this was a confusing one, and I suspect is a bug.
    In the end, after using the xdo.log [debugger], we saw that the xml publisher engine is stripping off two slashes as the beginning of the URL construct. So, the solution, is to add two additional slashes.
    So, the URL which ended up working is:
    file://////opt/oracle/90/findev/appserv/FSDDEV90/files/OZ57_EX_E0445_0000000303.png
    which resolves to the file /opt/oracle/90/findev/appserv/FSDDEV90/files/OZ57_EX_E0445_0000000303.png
    FYI - our environment is Solaris 10 using the Oracle Application Server, PT 8.49

  • Displaying BLOB of type word doc in XML Publisher pdf output

    Hi all,
    Please guide me relating the Displaying BLOB of type word doc in XML Publisher pdf output with links or pointers.In the following xml column TRADE_LICENSE_COPY is BLOB when queried from toad and if clicked on the ouput word doc is being opened directly.How to show the column value word doc as attachment in pdf output?
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <XXTDIC_SUP_REG>
    <LIST_G_BASIC_QUSNRY>
    <G_BASIC_QUSNRY>
    <RESPONSE_ID>194</RESPONSE_ID>
    <UAE_REGISTRATION>Yes</UAE_REGISTRATION>
    <TRADE_LICENSE_COPY>PK</TRADE_LICENSE_COPY>
    <WEBSITE_DETAILS>com</WEBSITE_DETAILS>
    <AMERICA_2009_2010>Between 81 and 90 %</AMERICA_2009_2010>
    </G_BASIC_QUSNRY>
    </LIST_G_BASIC_QUSNRY>
    <LIST_G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>0</FAX_NUMBER>
    </G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>-</FAX_NUMBER>
    </G_CONTACTS>
    </LIST_G_CONTACTS>
    <LIST_G_SC_QUSNRY>
    <G_SC_QUSNRY>
    <RESPONSE_ID1>113</RESPONSE_ID1>
    <FY3_PROJTYPE_COMMERCIAL>Between 21 and 30 %</FY3_PROJTYPE_COMMERCIAL>
    <ENG_INSTALL_CAPABILITY></ENG_INSTALL_CAPABILITY>
    <SCM_EXPERIENCE_PARTNERING>Have you had experience of &quot;Partnering&quot;?(i.e with major contracts / employers If so list them.Also please provide details</SCM_EXPERIENCE_PARTNERING>
    </G_SC_QUSNRY>
    </LIST_G_SC_QUSNRY>
    <LIST_G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres1</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City1</CITY>
    <STATE>State1</STATE>
    <COUNTRY>US</COUNTRY>
    </G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres2</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City2</CITY>
    <STATE>State2</STATE>
    <COUNTRY>IN</COUNTRY>
    </G_ADDRESS>
    </LIST_G_ADDRESS>
    <LIST_G_DSN_QUSNRY>
    </LIST_G_DSN_QUSNRY>
    <LIST_G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.42</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Filters: Air, Fuel, Oil, Power Steering, Transmission and Water, and PCV Valves</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Hose and Hose Fittings: Brake, Heater, Radiator, Vacuum, Washer, Wiper, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.37</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.CRT Holders, Cases, Glare Screens, Locks, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.Keyboard Dust Covers, Key Top Covers, Keyboard Drawers, Wrist Supports, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    </LIST_G_PROD_SUB_CODE>
    <LIST_G_CONT_QUSNRY>
    </LIST_G_CONT_QUSNRY>
    <LIST_G_BUSS_CLASS>
    <G_BUSS_CLASS>
    <BUSS_CLASS>SUPPLY_CHAIN</BUSS_CLASS>
    </G_BUSS_CLASS>
    </LIST_G_BUSS_CLASS>
    <CF_SUPPLIER_NAME>N1</CF_SUPPLIER_NAME>
    <CF_REG_STATUS>Draft</CF_REG_STATUS>
    <CF_BUS_CLASS></CF_BUS_CLASS>
    <CF_PROD_SUBCODE>060.36</CF_PROD_SUBCODE>
    <CF_PROD_SUBCODE_MEAN>Automotive Maintenance Items and Repair/Replacement Parts.Electrical Accessories: Alternators, Ammeters, Coils, Distributors, Generators, Regulators, Starters, etc.</CF_PROD_SUBCODE_MEAN>
    <CF_COUNTRY>India</CF_COUNTRY>
    </XXTDIC_SUP_REG>
    Thanks in advance.
    Best Regards,
    Mahi

    Mahi,
    you can't do that yet.

  • XML Publisher Report - Unable to see image stored on External server

    Hi
    I need to put image on XML report that is on different instance for that i had put a dummy image on XML template and in the WEB TAB for that image i put the tag like url:{ATTRIBUTE3} and attribute3 is having correct value we are also showing it on the report , but at the run time i can only see the dummy image of the template and the URL, not the actual image , URL points to a image on different server we can see the image when we place that URL in Web browser.
    Please help me , Thx in advance.
    Ranga

    From the documentation:
    URL Reference
    1.Insert a dummy image in your template.
    2.In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    Element Reference from XML File
    1.Insert a dummy image in your template.
    2.In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    You can also build a URL based on multiple elements at runtime. Just use the concat function to build the URL string. For example:
    url:{concat(SERVER,'/',IMAGE_DIR,'/',IMAGE_FILE)}
    where SERVER, IMAGE_DIR, and IMAGE_FILE are element names from your XML file that hold the values to construct the URL.
    This method can also be used with the OA_MEDIA reference as follows:
    url:{concat('${OA_MEDIA}','/',IMAGE_FILE)}
    Edited by: stevencallan on Feb 13, 2009 3:50 PM

  • XML Publisher Report - Not able to see image stored on External server

    Hi
    I need to put image on XML report that is on different instance for that i had put a dummy image on XML template and in the WEB TAB for that image i put the tag like url:{ATTRIBUTE3} and attribute3 is having correct value we are also showing it on the report , but at the run time i can only see the dummy image of the template and the URL, not the actual image , URL points to a image on different server we can see the image when we place that URL in Web browser.
    Please help me , Thx in advance.
    Ranga

    Hi,
    I've got the same problem.
    Did you find any solution?
    Thank you
    Davide

  • XML Publisher in Oracle Applications - Merge PDFs in Templates

    Requirement,
    I have PDF files stored in Huge Blob columns in a oracle apps tables.
    I would like to make a single PDF using the XML publisher template to merge all these PDFs into a single PDF file and show the merged PDF file, when user clicks on view output of the concurrent programme.
    I am not interesed in using the Java apis provided as of now. I would like to acheive this using only template builder, without any java coding.
    Any help would be appreciated on how to build the template. I have tried displaying images and it worked and i am not sure how i can do the samething with PDF files stored in HUGE BLOB columns.
    Oracle XML Publisher Version is 5.6.3 which is being used by our Oracle Applications.
    Thanks
    Ram.

    Requirement,
    I have PDF files stored in Huge Blob columns in a oracle apps tables.
    I would like to make a single PDF using the XML publisher template to merge all these PDFs into a single PDF file and show the merged PDF file, when user clicks on view output of the concurrent programme.
    I am not interesed in using the Java apis provided as of now. I would like to acheive this using only template builder, without any java coding.
    Any help would be appreciated on how to build the template. I have tried displaying images and it worked and i am not sure how i can do the samething with PDF files stored in HUGE BLOB columns.
    Oracle XML Publisher Version is 5.6.3 which is being used by our Oracle Applications.
    Thanks
    Ram.

Maybe you are looking for

  • Stop boundless growth of myapp/application.xml

    I've put an orion-application.xml in my EAR in META-INF, with the <log> tag commented out. (if this is how you turn off creating the application.log ??) I see this orion-application.xml file in home/applications but oc4j (9.0.2) seems to ignore this

  • Japanese popup messages?!

    Hello... or konichiwa, I guess I should say. I bought Aperture last week and installed it, then ran Apple software update to make it current. When I try to order anything online though, I get Japanese text in the popups! For instance, I was able to o

  • Buy a Toshiba Vista Home Premium recovery disk, or buy Windows 7?

    I just bought a used Satellite L355D-S7810, but without any of the original disks.  The laptop originally had Vista Home Premium 32 bit (and it has the COA sticker for it).  I won't go into a long story.  Suffice it to say I had to wipe the hard driv

  • I have a good question does how many things we have in the dock station

    Slow our computer down, I used to have a pc and the more you had on your taskbar the slower the system was. Does the same thing happen with my Imac or does it not matter. If it does slow things down I would like a recomendation on how many programs I

  • Help me boot XP on HP/compaq 510 from CD/DVD

    i'm just buy HP/compaq 510 befor its work perfect for me , and i'm use XP daul boot with backtrack (for learn) 1 week ago i'm want delete all System os and reinstall , i'm use disk xp old its can't boot its can to boot only vista and 7 or linux,about