Skip to Content
author's profile photo Former Member
Former Member

How to Call the Component Images Dynamically

Hi Experts,

I have added several Images in the WD Component (Under the Folder Mime ). During the Run-time these images have to be shown dyanmically(Picked) depending on the condition . How to call these images ? during the run time .

I am using the WD object "Image" and it has property "Source" i want to bind this picked image from mime folder to this .

Please let me know how can go about this ?

Thanks in advance


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 09, 2008 at 05:19 AM




    SOURCE =



    Now, source will contain the path to the image.

    Just set this source variable to the Source property of the Image Control.


    Add a comment
    10|10000 characters needed characters exceeded

    • Abhimanyu Lagishetti is correct and is probably providing you everything you need. Certainly that is the correct way to build the image URL. However if you also need to dynamically lookup what all images are available in your particular MIME Folder, you can use the class CL_MIME_REPOSITORY_API and the method FILE_LIST.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.