Skip to Content
avatar image
Former Member

FYI. Problem about webdynpro embedding

Dear Expert:

I encountered a problem with webdynpro embedded in portal.

Let's make it simple,

the source of a UI element Image in the webdynpro binds to a link -> ftp://...../test.jpg

in my program I change the link dynamically after some action.

Everything works fine if I run this webdynpro.

But the strange thing is when I embed the webdynpro into portal, the image could not be displayed, even

it could not be shown if I bind it to the fixed link. (ftp:///)

I tried other source like http://///test.jpg, it works in portal, but how FTP source fails? I check there is no cache.

Thanks very much for your insight.

Ray

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 21, 2010 at 07:41 PM

    Hi Ray,

    >

    >

    > I tried other source like http://///test.jpg, it works in portal, but how FTP source fails? I check there is no cache.

    >

    Please check your application log and/or default trace to see what exactly happened. It might have something to do with security (depending on your landscape between portal, Web AS, FTP site), how you generated the URL in your WD application. Please refer to this doc (p.18)

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b031c874-9616-2a10-cfb5-ac936df54efa?QuickLink=index&overridelayout=true

    Hope it helps.

    Regards,

    Dao

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2010 at 05:47 AM

    Why not maintain the image in some SAP KM folder. That will be easy to access and maintain also.

    Edited by: Mahesh K on Sep 21, 2010 7:47 AM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Storing images in KM is one of the simplest and widely used techniques.

      Having said that, you can save the image into any other place in the directory and pull the image from there.

      But, in case the company decides a different theme, changing the image can be difficult.

      You can create a simple folder in the Portal Directory and pull the image from there using a URL. That will be one of the simpler ways to do this.

      Take a look at this forum post to explore options of using FTP.

      How to write Image to file on server using URL

      Thanks

      Avik

      Edited by: AVIK SANYAL on Sep 21, 2010 7:25 AM