Category Archives: java script

How to get the QueueItem details for an Object – CRM 2011/CRM 2013

If you have noticed, in CRM 2011/2013, it is common that when you click on an QueueItem record in any of the Queue Item views, it always opens the Actual Object i.e. the case record or activity record or Lead … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM2013, java script, OData | Tagged , , , | Leave a comment

How to make CRM 2011/2013 OData RetrieveMultiple call from Java Script

though I have mentioned that this code will work for both CRM 2011 and CRM 2013, but only in one place we have used getClientUrl() call, which is CRM 2013 specific, for more details on this please see my previous blog … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM2013, java script, OData | Tagged | Leave a comment

CRM 2013 New and Beautiful getClientUrl() method instead of getServerUrl()

In CRM 2013 Microsoft has introduced this new client context method called “getClientUrl” This is the replacement to the previous method called “getServerUrl” that was present in CRM 2011. This method was faulty because it always returns the server name … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM 2011 SDK, CRM2013, java script | Tagged , , | Leave a comment

Object doesn’t support property or method while executing new XMLHttpRequest from CRM 2011/2013 html resource

Recently I faced this weird error Object doesn’t support property or method while My CRM 2013 html web resource invoked from a CRM ribbon button was trying to execute the below method required before making the CRM Ajax based call. function GetRequestObject() { if (window.XMLHttpRequest) … Continue reading

Posted in CRM 2011, CRM2013, java script, JQuery, OData | Tagged , , | Leave a comment

How to achieve Single Select option in a html table using check box control and jscript

the below sample will help in constructing a html table with a check box column and the script to achieve single select of the check box button among all the datarows of the table. <!DOCTYPEhtml> <html> <head> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”&gt; … Continue reading

Posted in HTML, java script, JQuery | Tagged , , | Leave a comment

How to pass CRM 2011/2013 Custom Lookup attribute extraqs Parameters in openEntityForm utility method from java script

While trying to pass a custom lookup field value as an extraqs parameter,, using the Xrm.Utility.openEntityForm method from my java script, I came across this rule that their is a difference in the way we should set value of a … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM2013, java script, OData | Tagged , , , , | 2 Comments

How to get the team members details from a team ID in Dynamics CRM 2011/2013 Using OData Call

Recently I had the requirement to display the list of team member details like User Name, Full Name etc. in java script. I was using the Odata designer tool found at http://crm2011odatatool.codeplex.com/ but since team members is a many to … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM 2011 SDK, CRM2013, java script, OData | Tagged , , , , | Leave a comment

Hiding the Due filter drop down in crm 2011 Online

recently, we came across a very pressing requirement from customer to remove the Due filter drop down from Activities Home page. There is no supported way of doing this. neither through code nor through java script. but the trick worked. … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM 2011 SDK, java script | Tagged , , , | Leave a comment