cancel
Showing results for 
Search instead for 
Did you mean: 

Gettin Images from File to WD Image element

Former Member
0 Kudos

Hello,

i need to show some images on a WebDynpro Application. The images are located on a Windows File Sever. How can i access the files an display them im a WebDynpro Image element? Do I need to store them in a Context Attribute, and when how can I access the File located on a Windows Share?

Thank you for your fast help

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

the only thing needed to show an image in webdynpro is to bind the source property of the ui element image to a string context attribute. Then, you have to set the url to the image. If it is an image in internet, just set the attribute to http://...../image.jpg

If it in a share system, then you have to make sure that the server where the application is running have permission to access that folder, particulary the user who starts the webdynpro service. Then, you pass the path to file as if you where in front of the server, for example:
machinex\images\image.jpg and because you are in java then the \ caracter is really
, so it qould be

machinex
images
image.jpg

that's it!!

hope it helps!

Former Member
0 Kudos

Thank you guys, but all these Links refer to documents getting files from local to Portal WD Image element oder from R/3 to WD UI Image via BAPI.

I need a direct reference from Image UI element to a SMB share or something.

Or via Context Attribute to a SMB share.

Every hint would be useful

Former Member
0 Kudos

Greate document on this,

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a...

Hope this will help.

Regards,

Nitin

[Reward points if it is useful]

former_member182372
Active Contributor
0 Kudos

Norman, take a look at