cancel
Showing results for 
Search instead for 
Did you mean: 

Image URL element - problem

Former Member

Hi,

In the main model, in data store have a field "IMAGE_URL", which is used to give the image URL and is set to "/SMS/".

In the same model, I have the image element which gets filled correctly (displys images)


=store@IMAGE_URL&"Search_EN.png"

In the other nested model, I have the image element which gets filled incorrectly (doesn't display images, instead displays X) OS_in1@IMAGE_URL contains the image_url form the store so "/SMS/"


=OS_in1@IMAGE_URL&"Red_dot.png"

On checking what location it is looking for images I found that it is the application link http://<servername>:50000/webdynpro/resources/sap.com/test~sms_impl/Applications/com.sap.test.sms_im...

The reason to give "/SMS/" in place of "http://....." is then when importing in production, the URL would not have to be updated....

Best regrads,

Dharmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dharmi,

I had a similar problem with relative images URL. In my case only the image of the initial application view was displayed. Try the set the relative URL like this ../../../../<IMAGEURL>

Hope that helps!

Kevin

Former Member
0 Kudos

Hi Kevin,

Thank you very much.

Best regards,

Dharmi

Answers (0)