Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Image Web Resource and SetSrc

$
0
0

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.


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>