Displaying a picture based on a URL from a SmartObject return property

  • 2 October 2013
  • 2 replies
  • 0 views

Badge +10

Hi All,


I want to display a picture with its source from the URL which was returned by my SmartObject.


It does not seem as though the Picture control will accommodate this?


How will I be able to display the picture using the URL which was returned?


Your help will be appreciated.


Regards,


2 replies

Badge +10

I managed to figure out one way.


By dropping a Content control onto the View and then using the "Set a control's Properties" rule I was able to change the URL of this control to point to the image. This works fine, but now I want to resize the image to a specific width and height.


This I cannot do with the content control it seems.


I'll keep trying other approached, but at least this is one way to have a picture URL display on your form.


Regards,

Badge +10

I found another way which works very well.


Instead of returning only the url, return html code which formats the picture and displays it. Then drag this onto your form as a data label and it will format the html with all your properties. Using this way you can even do images in a list view. Very useful.

Reply