Answered by:
How to add/reference images to html web resource in crm 2011 on-premise.

Question
-
As shown in the image, I want to upload some images with the html web resource. But when I open the web resource in a form the area where images should be is empty (it shows the area where should be). I think this is a referencing issue. Can someone help me on how to reference the images in my code.
- Changed type Neil BensonMVP, Moderator Tuesday, September 3, 2013 5:32 PM
Tuesday, September 3, 2013 5:23 PM
Answers
-
Hi
The directive should be $webresource: Refer the posts below
http://www.develop1.net/public/post/CRM-Developer-e28098Must-Knowe28099-2-Web-Resource-Caching.aspx
Hope this helps!
If my response helps you in finding your answer then please click 'Mark as Answer' and 'Vote as Helpful'
- Proposed as answer by Rob BoyersEditor Tuesday, September 3, 2013 9:08 PM
- Marked as answer by Hamzak Wednesday, September 4, 2013 1:51 PM
Tuesday, September 3, 2013 5:57 PM
All replies
-
Hi
The directive should be $webresource: Refer the posts below
http://www.develop1.net/public/post/CRM-Developer-e28098Must-Knowe28099-2-Web-Resource-Caching.aspx
Hope this helps!
If my response helps you in finding your answer then please click 'Mark as Answer' and 'Vote as Helpful'
- Proposed as answer by Rob BoyersEditor Tuesday, September 3, 2013 9:08 PM
- Marked as answer by Hamzak Wednesday, September 4, 2013 1:51 PM
Tuesday, September 3, 2013 5:57 PM -
I tried this but I still got the same result
Wednesday, September 4, 2013 1:14 PM -
Never mind I got what I was doing wrong. the name of the web resources does not have .png extension with them, so I was referencing them wrong.Wednesday, September 4, 2013 1:51 PM
-
Hi
Plz go through this urls:
http://www.develop1.net/public/post/CRM-Developer-e28098Must-Knowe28099-2-Web-Resource-Caching.aspx
http://blogs.msdn.com/b/darrenliu/archive/2011/02/07/reference-an-image-in-web-resource-from-site-map-or-ribbon.aspx
If you find this helpful to you,please vote for my answer. thank you vasubabuk
Thursday, September 5, 2013 7:16 AM