| Daren's profileDaren TurnerBlogLists | Help |
|
March 29 Viewing a Logo in Microsoft CRMI'm always getting the question on how to view a logo or image in Microsoft CRM. Well here is a quick customization you can add to your account form and view a logo. Once you add this script on the 'OnLoad' event of the form, all you need to do is add an image called 'logo.jpg' as an attachment and everything will show up properly. This customization will even work offline. Script var Loaded = false; if(crmForm.FormType ==2 || crmForm.FormType ==3 || crmForm.FormType ==4) // attach an event so we know when the notecontrol is done loading // refresh the notecontrol function LoadLogo() var oDoc = (oNotes.contentWindow || oNotes.contentDocument); //Iterate through all the attachments. When your done, your form should look like this. If you really want to get creative you can go a little further and build a viewer to page through all images that are attached to the record.
This customization may not be supported by Microsoft and is provided as-is with no warranty. Comments (3)
TrackbacksThe trackback URL for this entry is: http://dtu11.spaces.live.com/blog/cns!D01B965C27CB1CC6!141.trak Weblogs that reference this entry
|
|
|