If I look on the web, looks like previously, it was possible to do display a picture on a form, with the possibility to change the URL in javascript with:
var Attribute = Xrm.Page.getAttribute("RESOURCE_ID");
Attribute.setSrc("http://url.of.picture.jpg");
As of today, this is not working anymore and we get the following error:
"Object doesn't support property or method 'setSrc'"
Is there an other way of doing this?
I've tried with iframe and it's working, but the I have other issues like resizing etc... I'd really like to do it with a web resource.
*This post is locked for comments