I am trying to create a heat map on ajax control bing cards using some data from a CRM database. To do this, I created a web resource and uploaded it to CRM. I installed a button that, when clicked, opened my web resource (.html) using heatmaps. Since I use BingMaps Ajax v7 control and an HTML5 canvas to display the generated heat map (as an image), I need to have a Doctype declaration on my web resource. But every time I put this on my html page, loading it into CRM (or editing), CRM just removes my Doctype, and then I only have
<html> <head> ... </head> </body> ... </body> </html>
The heatmap works fine because I tested it on my local machine (outside CRM). Using IE Dev tools, I get an error that the getContext () method was not found ... So, I assume that I skip the doctype, which CRM deletes every time I edit or load a web resource. So my question is how to successfully display HTML5 content in Microsoft Dynamics CRM using a web resource (simple .HTML file). I do not need to have this web resource on the CRM form page ... When I click the "Map" button, web resources need to be opened on a separate browser page .....
Thank you in advance!
source share