Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8286471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:46:55+00:00 2026-06-08T11:46:55+00:00

Hy everyone, how are you?. Well. The case is that I need to develop

  • 0

Hy everyone, how are you?.
Well. The case is that I need to develop a web resource that will be embeded on Form’s header.
This Web Resource should draw a rectanble with a label for each value of a pick list that is being showed on the form.

I tryed to use HTML 5 in order to draw the rectangles but I can’t make it work properly once is included on the web resource.

I’ll paste here an excample that, if it’s opened normally using IE, runs normally, but opened through a Web resource embeded into the form’s header down’t work and throws me an exception like : ‘ getContext(() functions is not defined’

Here is the code

var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
var xpos = -50;
debugger;
for (var ii = 0; ii < 3; ii++) {
    xpos += 50;
    ctx.fillStyle = "#FF0000";
    ctx.fillRect(xpos, 1, 50, 50);
    ctx.fillStyle = "#000000";
    ctx.font = "10px Arial";
    ctx.fillText("Stage ", xpos+5, 25); 
}

Question: Can I draw in crm using HTML 5 into a web resource????

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:46:56+00:00Added an answer on June 8, 2026 at 11:46 am

    I’m sorry to say that but the answer marked as the correct one it’s not actually correct cause doesn’t answer the question and also got me into confusion because of an assumption.

    Nobody’s fault, however lets say things straight for the other who will need the right answer to this question.

    The error you received sounds like this: “Object doesn’t support property or method ‘getContext'” and referrs to HTML5 canvas.getContext() object.You got this error because the built-in object for the canvas element, the getContext() one, works only in IE9 (first IE browser version compatible with HTML5) and you runed your CRM 2011 instance in an older version of IE.

    Seeing this message on my computer I thought this is an error cause I was running my CRM 2011 instance in IE9 browser version but when I runned the F12 developer tools in I saw that the Browser Mode was IE9 but the Document Mode was IE8 standards wich is set as the default one for the CRM 2011 instance. So, I tried to change it to IE9 standards but surprise – CRM 2011 has now javascript errors and crushes. Looks like CRM 2011 doesn’t actualy runs in IE9 standards but in IE8 standards even if the browser version is IE9 (bropably this was your case too).

    So, for the moment, using HTML 5 elements into Html Web Resource in Crm 2011 is not yet possible.

    The only ideea I have in mind is that for the moment we can only create stand alone appplications that can contain HTML5 elements and connects to our CRM data till MS figures out a way for running CRM 2011 in IE9 standards.

    If somebody knows more than those informations, please let us know.

    Sry for the possible typos!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update: Everyone that contributed, it's well appreciated, you all are very kind and generous
everyone. This is a piece of code from using sqlite in android tutorial: return
everyone! new to here and been pondering about this myself for some times with
My question is concerning an application that will use a host application where the
Well, as everyone knows there is no way you can assign permissions for Copy/Paste
I believe everyone encounters a case when there's necessity to test internal wiring of
Lots of words below, sorry - but I wanted to explain this situation well:
Before everyone tells me that I shouldn't do client-side sanitization (I do in fact
Well, it may actually be a simple case but I'm having a tough time
Thanks to everyone in advance - I need to load a preference before any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.