Image is not getting printed on the page.

Hi,
I am using oracle apex 3.2 and Oracle 10g XE database. I am creating a email template based on the plsql and html content
DECLARE
  l_header VARCHAR2(8000);
  l_content VARCHAR2(18000);
  l_footer VARCHAR2(8000);
CURSOR contract IS
    SELECT DISTINCT contract_number, l.company_name
    FROM ib_support_contracts_mv c, customer_products p, customer_locations l
    WHERE c.serial_number = p.product_serial_number
    AND   p.location_id = l.location_id
    AND   c.contract_number = :P5_CONTRACT_NUMBER
    AND   ROWNUM <= 1
    AND   sub_line_status != 'TERMINATED' 
    AND   line_status != 'TERMINATED'
    AND   header_status != 'TERMINATED';
--    AND   header_status = 'ACTIVE'
--    AND   line_status = 'ACTIVE';
  CURSOR product (v_contract_number IN VARCHAR2) IS
    SELECT DISTINCT order_number, installed_at_name, ship_to_name, bill_to_name, item_description,
       serial_number, service_start_date, service_end_date, cust_po_number, service_description,
       ship_date
    FROM ib_support_contracts_mv v1
    WHERE contract_number = v_contract_number
    AND   NVL(order_number, 99999) =
          (SELECT max(NVL(order_number,99999)) FROM ib_support_contracts_mv v2
           WHERE  v1.serial_number = v2.serial_number
           AND    v1.contract_number = v2.contract_number
           AND    v2.line_status != 'TERMINATED')
    AND ROWNUM <= 100
    AND  sub_line_status != 'TERMINATED' 
    AND  line_status != 'TERMINATED' 
    AND  header_status != 'TERMINATED'
    ORDER BY item_description;
--    AND   header_status = 'ACTIVE'
--    AND   line_status = 'ACTIVE'
--    AND   ship_date IS NOT NULL
BEGIN
  l_header := '<table width="100%">
                 <tr>
                   <td align="left">
*<img src="#WORKSPACE_IMAGES#merunetwork.jpg">*
                   </td>
                   <td align="right"><h2>Support Contract Certificate</h2>
                   </td>
                 </tr>
                 <tr>
                   <td colspan="2"><br/>
                     <p>Thank you for purchasing award winning product and services from Meru Networks.<p>
                     <p>Below are the details of your service order, confirming support order completion.</p>
                   </td>
                 </tr>
               </table>' || utl_tcp.crlf ;
  FOR c IN contract LOOP
    l_content := '<div style="text-align: center;"><h2>CID: ' || c.contract_number || '</h2><h2>' || c.company_name || '</h2></div>' || utl_tcp.crlf ;
    l_content := l_content || '<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tab0">' || utl_tcp.crlf ;
    l_content := l_content || '  <tr class="tab0">' || utl_tcp.crlf ;
    l_content := l_content || '    <th class="tab0">Products Covered</th>' || utl_tcp.crlf ;
    l_content := l_content || '    <th class="tab0">Service Ordered</th>' || utl_tcp.crlf ;
    l_content := l_content || '    <th class="tab0">Serial Numbers</th>' || utl_tcp.crlf ;
    l_content := l_content || '    <th class="tab0">Begin Date</th>' || utl_tcp.crlf ;
    l_content := l_content || '    <th class="tab0">Expires</th>' || utl_tcp.crlf ;
    l_content := l_content || '    <th class="tab0">PO</th>' || utl_tcp.crlf ;
    l_content := l_content || '  </tr>' || utl_tcp.crlf ;
    FOR p IN product(c.contract_number) LOOP
      l_content := l_content || '  <tr>' || utl_tcp.crlf ;
      l_content := l_content || '    <td class="tab0">' || p.item_description || '</td>' || utl_tcp.crlf ;
      l_content := l_content || '    <td class="tab0">' || p.service_description || '</td>' || utl_tcp.crlf ;
      l_content := l_content || '    <td class="tab0">' || p.serial_number || '</td>' || utl_tcp.crlf ;
      l_content := l_content || '    <td class="tab0">' || p.service_start_date || '</td>' || utl_tcp.crlf ;
      l_content := l_content || '    <td class="tab0">' || p.service_end_date || '</td>' || utl_tcp.crlf ;
      l_content := l_content || '    <td class="tab0">' || p.cust_po_number || '</td>' || utl_tcp.crlf ;
      l_content := l_content || '  </tr>' || utl_tcp.crlf ;
    END LOOP;
    l_content := l_content || '</table>';
  END LOOP;
  l_footer:= l_footer|| '<h3>Meru Assure Reference Links:</h3>' || utl_tcp.crlf ;
  l_footer:= l_footer|| '<a href="http://www.merunetworks.com" target="_new">http://www.merunetworks.com</a>' || utl_tcp.crlf ;
  l_footer:= l_footer|| '<p>If at any time you have questions regarding the activation of your service contract or any other questions please contact our customer group at Meru Networks.</p>' || utl_tcp.crlf ;
  l_footer := l_footer|| '<h3>How to reach Meru Customer Support group:</h3>' || utl_tcp.crlf ;
  l_footer := l_footer|| '<ul><li>24x7x365 online support portal <a href="http://support.merunetworks.com" target="new">http://support.merunetworks.com</a>.</li><li>Toll-free numbers:<br/>   <strong>In United States: </strong>1 888 637 8952<br/>   <strong>In United Kingdom: </strong>0800 085 7381<br/>   <strong>In France: </strong>080 554 0108<br/>   <strong>In Norway: </strong>800 30 354<br/>   <strong>In Sweden: </strong>020 160 5667<br/>   <strong>In Denmark: </strong>80 600 087<br/>   <strong>In Japan: </strong>0120 924853</li><li>Direct number:<br/>   Regions outside toll-free areas: 1 650 385 3114</li><li>Email address:<br/>   [email protected]</li></ul>' || utl_tcp.crlf ;
  l_footer := l_footer|| '<p>We look forward to working with you in the future and thank you for purchasing a MeruAssure support plan.</p><br/>Sincerely,<br/><br/>Trevis Schuh<br/>Vice President - Worldwide Support & Services' || utl_tcp.crlf ;
  l_footer:= l_footer|| '' || utl_tcp.crlf ;
  l_footer:= l_footer|| '';
  :P5_CONTENT := '<STYLE>.TableBorder {border-top: 4px solid #b3394e;border-right: 4px solid #b3394e;border-left: 4px solid #b3394e;border-bottom: 4px solid #b3394e;padding: 10px;}
.formLabel {font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;font-size: 11px;font-weight: bold;color: #000000;}
.GroupBox {border-top: 1px solid #BDC7D6;border-right: 1px solid #BDC7D6;border-bottom: 1px solid #BDC7D6;border-left: 1px solid #BDC7D6;}
body { font: 12px/16px Verdana, "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif; color: #555; margin: 0 auto; }
table.tab0 { background: #eee; vertical-align: top; font: 0.9em sans-serif; border: solid 0px #b3394e; }
th.tab0 { padding: 6px; margin:1px; color: #b3394e; font: 0.9em sans-serif; text-transform: uppercase; font-weight: bold; border-top: 4px solid #b3394e; border-bottom: 1px solid #b3394e; border-left: 0; border-right: 0; background-color: #fff; text-align: left;}
td.tab0 { padding: 5px; vertical-align: top; border-bottom: 1px solid #b3394e; background-color: #fff; }
tr.tab0 { }
td.tab0s { padding: 5px; vertical-align: top; border-bottom: 1px solid #b3394e; background-color: #fff; white-space:nowrap; font-weight: bold;  }
td.tab0 a { color: #08c; }
td.tab0 a:link, a:visited, a:active { text-decoration: none; }
td.tab0 a:hover { text-decoration: underline; }
h1 { font-weight: bold; font-size: 24px; margin-top: 5px; margin-bottom: 8px; color: #b3394e; line-height: 26px; }
h2 { font-weight: bold; font-size: 18px; margin-top: 5px; margin-bottom: 8px; color: #b3394e; line-height: 24px; }
h3 { font-weight: bold; font-size: 14px; margin-top: 5px; margin-bottom: 8px; color: #b3394e; line-height: 20px; }
h4 { font-weight: bold; font-size: 10px; line-height: 18px; color: #b3394e;}
.smallcaps { color: #333; font: 0.8em sans-serif; text-transform: uppercase; }
</STYLE>' || utl_tcp.crlf ||
       '<div>
          <table width="98%" cellpadding="5" cellspacing="5">
            <tr>
              <td>' || utl_tcp.crlf ||
                l_header || l_content || l_footer ||
       '      </td>
            </tr>
          </table>
        </div>' ||  utl_tcp.crlf;
END;Problem am facing here is i am trying to dispaly a logo in the template which is uploaded in the workspace. Its not getting display please suggest me how to fix this issue.
Thanks
Sudhir

This question has been answered here:
Inconsistant translation of #WORKSPACE_IMAGES# by server
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------

Similar Messages

  • Text overflown is not getting printed in the next page in ADOBE

    Hi Experts,
    I have a text field, where the users can enter the comments. In this text field if the user enters more than a page, a scroll bar appears in the print preview where the users can view the complete text what they have entered, but while printing the text which exceeds more than a page is not getting printed in the next page.
    I have set the subform properties as "Flowed" and the check box "Allow Page Break within content" is also been enabled, but still the extra contents is not getting printed in the next page.
    Please help me regarding this.
    Thanks & Regards,
    Karthik MD

    Hi Lohitha,
    Even "Expand to fit" is been enabled.
    Thanks & Regards,
    Karthik MD

  • Text overflown in the first page is not getting printed in the next page

    Hi Experts,
    I have a text field, where the users can enter the comments. In this text field if the user enters more than a page, a scroll bar appears in the print preview where the users can view the complete text what they have entered, but while printing the text which exceeds more than a page is not getting printed in the next page.
    I have set the subform properties as "Flowed" and the check box "Allow Page Break within content" is also been enabled, but still the extra contents is not getting printed in the next page.
    Please help me regarding this.
    Thanks & Regards,
    Karthik MD

    Hi,
    This issue is in ADOBE, I think there is no concept of Window in ADOBE,
    The text box is placed inside a Subform.

  • OLE images are not getting transfered to the pdf format

    After executing the oracle report file 6i and while sending the report file directly from the report screen to the microsoft outlook mail by clicking the mail option from the report, the OLE Images are NOT getting converted to the mail attachment. Rest of the data is getting converted fine.

    hope this is not the correct forum to place this question.
    if not, mention DB and OS versions and state your problem more clearly
    mark answered post as helpful / correct*

  • Images for tabs are not getting displayed in the page if Iam using a template

    I have page with a unstructured template. I have arranged tabs on page with images attached. But images are not getting displayed. why

    Hi,
    Please check if the images are in the server and in the /images alias path.
    thanks,
    Sharmila

  • Barcode is not getting printed in the SmartForm

    Hi All,
    I am trying to print BARCODE in a SMARTFORM but it is not getting printed.
    I have created a barcode ZTest_Barcode from the transaction SE73. Then I have created a Character Format C1 with this barcode ZTest_Barcode.
    In the SmartForm I have applied this character format like this <C1>&WA_VBAK-VBELN&</C1>.
    But in the preview of this SmartForm barcode is not getting printed while this field is printing like <C1>220<C1>.
    I have also tried with some SAP barcodes like BC_CD39, C128A_01, etc. But the result is same.
    Please help me to resolve this issue.
    Regards,
    Avaneet

    hi avaneet,
    check this site for barcode.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    it may help you.
    thanks
    Sachin

  • Background image is gone when printing out the page

    I have a region with table and created a style as follows:
    th {font-size:9pt;font-weight:bold;background-image: url(#WORKSPACE_IMAGES#blue.gif)}
    when i print out the page, the image color for TH is gone. How to change to show the color in the print-out.
    Thanks for your help.
    Jen

    Hi,
    IE - Tools/Internet Options/Advanced - scroll down to printing and make sure the check is on "Print background colors and images"

  • Images for tabs are not getting displayed in the page

    Hi,
    I have given images for tabs on a page. when iam applying images from the local disk, it is showing the images in edit mode. But when I view the page, it is not showing any images.
    Where should i copy the images I use in my pages. I ahev copied all the images in the images directory of portal30 in server.
    Please help.
    Murthy

    Hi,
    Please check the httpd.conf file in your server for /images alias. The /images alias will point to a directory. Copy your
    image files in that directory.
    Thanks,
    Sharmila

  • Text element is not getting printed in the output

    Hi all,
    I'm trying to print address from table KNA1in address window through a text element.
    The corresponding code being :
    In Delivery Prg,
    Data : lv_kna1 type STANDARD TABLE OF kna1,
              lv_adr6 type STANDARD TABLE OF adr6.
    DATA : WA_ADR6 TYPE ADR6.
      SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
      SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'DELIVERY_ADDRESS'
       WINDOW                         = 'DELIVADR'
    and calling the same text element 'DELIVERY_ADDRESS' as follows in the Script:
    /E           DELIVERY_ADDRESS
    /:           IF &LV_KNA1-TELF1& <> &SPACE&
    IL           Tel.: &LV_KNA1-TELF1&
    /:           ENDIF
    /:           IF &LV_KNA1-TELFX& <> &SPACE&
    IL           Fax : &LV_KNA1-TELFX&
    /:           ENDIF
    /:           IF &LV_ADR6-SMTP_ADDR& <> &SPACE&
    IL           E-mail : &LV_ADR6-SMTP_ADDR&
    /:           ENDIF
    But,this text element is not printing in the output.
    Any pointer on this would be of great help.
    Regards,
    Vamsee Priya.

    yes, it is.
    I'm trying to get the e-mail address from adr6 table with the corresponding address number  from table kna1.
    so I created two tables as below:
      Data : lv_kna1 type STANDARD TABLE OF kna1,
             lv_adr6 type STANDARD TABLE OF adr6.
    DATA : WA_ADR6 TYPE ADR6.
      SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
      SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
    now, I'm trying to fill e-mail adress from lv_adr6. but the problem is lv_adr6 is not getting filled.
    data is coming to work area wa_adr6.
    SAP is not allowing me to write the below statement:
    SELECT SINGLE * FROM ADR6 INTO LV_ADR6 where ADDRNUMBER = kna1-adrnr.
    Now, will any move-corresponding statement from work area to its table works?? Is that logically correct??

  • How not to print all the pages of a smartform? (for tr F150 - Dunning)

    Hi Forum
    We have the follow situation:
      For DUNNING (transaction F150) the user want stamp 3 diferents SMARTFORM.
       For the first time the transaction is executed is required only a list of documents, for the second time (via sample printout, indiv dunn notice or dunn history)  once the legal data of the customer is updated, the user wants the list of documents, a letter for the lawyers and a letter for the client, in the follows executions  (3 and up) the user can require only the list of documents or all smartforms (list and letters)
      Via customizing we can control the normal dunning and the legal dunnig, but once the client is in legal status the transaction create only the legal smarforms.
    We found  an user exit associated  EXIT_SAPF150D_001. in the F150 transaction, but is not complete, in sense that are failed some parameters .
      Another option is create an unique smartform with 3 pages where we can control the case for the print, but here is where we ask: How we can do to print a specific page of the smartform without print all of them (how can we print the 2nd and 3rd page without print the firs one) ??
    To control the 3rd execution, we can create a dictionary table with a flag .
    Thank you for your help

    You could create a report containing all the single reports in one using UNION. This report could be placed on a "hidden" page. The link for downloading that report you can place on your page. That should work.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494

  • Values not getting printed in the Output

    Hi all,
        Iam facing strange problem.
    In the debug mode iam seeing the values for all variables ( Variable windows) but after printing no value is getting printed. MAIN window is there but no element is being called from the MAIN window.
    Can anyone help me in this regard.
    Rehards,
    Indrajit

    hi Indrajit ,
    check that in print program you have created the element same as using in main program , also declare temporary variables inside loop at table so that **** sign doesnt gets printed ..
    Hope this will help you

  • My captche image is not popping up in the pages to start new accounts or new memberships. It is used for security reasons. how do I fix it? everything is fine up to that point.

    the distorted image in the setup for new accounts does not appear.

    If images are missing then check that you aren't blocking images from some domains.
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    * Check the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions
    * Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images)
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Terms and conditions not getting displayed on the last page

    Hi All,
    I have to display a smartform, on the front side of the page i have to display material details and on the back side of the page i have to display terms and conditions. I' am unable to print the material details and terms and conditions in duplex mode, but on the last page only material details are getting displayed, terms and conditions are not getting displayed.
    Can you please help me how to make the terms and conditions get printed on the back side of the last page.
    Thanks,

    I'm a bit confused by the statement "I' am unable to print the material details and terms and conditions in duplex mode".
    I suppose you meant to say "I am able to print the material details and terms and conditions in duplex mode", correct?
    If the problem is that on the last form page, the T&C is not getting printed on the back of the form, you could force the T&C page by using a flow logic command as the very last element of the main window, which gets processed when all the data is already output. For the command, use the 'Go to New Page' and specify the page name for the Terms & Conditions.
    In case this causes an issue that the last page is printed twice (since the T&C page is likely defined with the next page being NEXT_PAGE), then copy the already existing T&C page, call it LASTPAGE and leave the Next Page attribute empty.

  • APEX4.0.2 - Interactive Report total is not getting printed when downloaded

    I've an Interactive Report based on a sql in Apex 4.0.2. There is a Balance column whose total sum is displayed at the bottom of the table.
    When I download the report, the total sum of balance column is not getting printed in the bottom of the report.
    Could this be a bug or have I missed some setting?
    Thank you for the help.

    Hi,
    Whilst you can update the SQL to include totals, these would probably not be effective if the user filters the data (the total row may be filtered out) or sorts columns (as the total row would likely be sorted as normal data).
    Unless someone else has any other ideas on this, this may be something that needs to be logged with the Apex team as an enhancement request - create a new thread and start the Subject as "Enhancement Request:"
    Andy

  • Can logger stmts belonging to one class alone not not get printed at times?

    Hello,
    My application has run into an issue where some log statements in "one particular class" do not get printed at times. The issue is not reproduced in a consistent manner ie. it may happen on some days/may not on some other days.
    Here is the structure of the two classes which has reported the issue. I have a class A and another class B which has extended the class A. I am printing 2 log statements in class B(one statement using the logger object of class A (logA object), and the other statement with the logger object of class B (logB object)). But the logger statement using the logA object does not get printed on some days. After a server restart, it starts working fine. Is there some thread which gets killed?
    public class A{
    protected static Logger logA = Logger.getLogger(A.class);
    public static void myLog(String s) {
    logA.info("in myLog, " + s);
    public class B extends A{
    protected static Logger logB = Logger.getLogger(B.class);
    myLog("Log Statement Number 1"); //This statement does not get printed all the time
    logB.info("Log Statment Number 2"); //This statement always get printed
    Any help is appreciated. Thanks
    Anoop

    Anoop.Isaac wrote:
    The issue is not reproduced in a consistent manner Since you cannot reproduce the problem you have not narrowed down what the possible cause might be. So now you expect someone here to diagnose your problem and provide a solution just by reading some vague and incomplete lines of code with no other information.
    Good luck with that.

Maybe you are looking for

  • How do I change back to having "bookmark this page" on the top of the list and subordinate "all bookmarks" lower since I use former 100 times more than the later on a daily basis?

    I create about 25 -50 new bookmarks daily for my business. So, it would seem user friendly to put that command at the top of the scroll down list. Maybe I am unique and others want to "show all bookmarks" repeatedly. I can't understand why one would

  • Excel formulas and blank cells

    Hi I have this formula which calculates the number ordered (C11) by the price (E11) and if the cells are blank then the cell containing this formula is blank, if they aren't blank then they show the result. This works a treat. =IF(SUM(C11*E11)=0,"",S

  • Error in output Spool

    Hi: I need help, I'd like send spool of program as attachment PDF file, so, my solution is... 1.Get Spool Number    I get the Spool Number from table:TSP01, to get the last one. 2.Get Spool Data, useing function 'RSPO_RETURN_SPOOLJOB' 3.Sendmail use

  • CDA XML Schema Data Connection

    I have been experimenting in Adobe Designer 7.0 and want to create an CDA XML schema data connection. I used the directions in the help screen and was almost finished, but I got a pop up box that said that my XML schema file was too big. What are the

  • App.launchURL not working after multiple click

    Hi, I am using below script to open the url in new window. app.launchURL(dynamicUrl , true); After clicking the buttons multiple times, new window get hanged, even requested url not came to server. Is there any solution for this? Please help for the