So, in the latest and greatest CRM you can get access to the Entity Image using “special attributes” within fetch:
<fetch distinct="false" no-lock="false" mapping="logical"> <entity name="account"> <attribute name="entityimage" /> <attribute name="entityimage_url" /> </entity></fetch>
The first is supposed to return a byte array… doesn’t work in SSRS though for some reason.
The second does indeed return the URL… but if I try to add it as an external image my entire report blows up (i.e. it’s not just the image that won’t display, the entire report won’t render).
I’ve tried all sorts of things from relative and absolute URLs:
Vs
Neither work in an image. If you navigate to the second URL you will indeed get the image. But CRM just refuses to render the report if I point an image at any of the above. Even if I manually type in the above as the image URL it will not render the report.
Has anyone seen this?
Or has anyone ever got a byte array returning in a CRM Online SSRS report?
Additional notes:
I discovered that CRM does not like distinct=true for entityimage. I still only get the text "System.Byte[]" back as opposed to an actual byte array.