3 Replies Latest reply: Dec 11, 2007 5:49 AM by 585286 RSS

    dynamic logo's

    585286
      I am having problems to show dynamic logo's. It seems that XMLP doesn't pick up the value of my fieldname.

      If i use the the following syntax. It works fine.....


      url:{contact ('${OA_MEDIA}','/','LOGO_243.gif')}


      However when i use :

      url:{contact ('${OA_MEDIA}','/',DOC_LOGO_NAME)}

      In my xml-file i have a field named DOC_LOGO_NAME:

      <?xml version="1.0"?>
      <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
      <PO_V22>
      <LIST_G_C_COMPANY>
      <G_C_COMPANY>
      <ORG_ID2>243</ORG_ID2>
      <DOC_LOGO_NAME>LOGO_243.gif</DOC_LOGO_NAME>


      However then no logo appeared on my pdf.

      I looked at several forums about this topic, however the right answer doesn't seem to be there...:-(

      Can anyone help me on this.

      Cheers,

      Sal
        • 1. Re: dynamic logo's
          Tim Dexter
          Hi Sal
          You need to be more specific on the path to the logo element Either

          url:{concat ('${OA_MEDIA}','/',.//DOC_LOGO_NAME)}

          or

          url:{concat ('${OA_MEDIA}','/',/PO_V22/LIST_G_C_COMPANY/G_C_COMPANY/DOC_LOGO_NAME)}

          As long your only using it once the first option will work fine.

          tim
          • 2. Re: dynamic logo's
            585286
            Hi Tim,

            Sorry for this late replay, but i had some days off:-)

            Thnks, for you reaction. The first option i already tried, but didn't work for me. I now also tried to mention the full path. But this doesn't work either.

            Can it be a version problem? do i need to upgrade? I am using the logic in a header(footer) in my template. Can this cause the problem?

            Hope you have any more suggestions. If i need to sent you some sources just tell me.

            Thanks,
            Sal
            • 3. Re: dynamic logo's
              585286
              Hi Tim,

              Sorry for this late replay, but i had some days off:-)

              Thnks, for you reaction. The first option i already tried, but didn't work for me. I now also tried to mention the full path. But this doesn't work either.

              Can it be a version problem? do i need to upgrade? I am using the logic in a header(footer) in my template. Can this cause the problem?

              Hope you have any more suggestions. If i need to sent you some sources just tell me.

              Thanks,
              Sal