Monthly Archives: January 2014

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

CRM 2013 New Features on Form Customization – QUICK VIEW FORM

Just found this pleasantly surprised but not so talked about feature that has added to CRM 2011 form Customization. Years have struggled with adding a lot of java scripts to display related lookup attributes fields on a form, but no … Continue reading

Posted in CRM2013 | Tagged | Leave a comment

Dynamics CRM Linq Query error “The method ‘Count’ is not supported”

As I was trying to Bind a Dynamics CRM Linq Query result to a DataGrid, I was in need to check the total result returned from the query. My initial sample looked as below, gave me the exception saying “The method … Continue reading

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

Dyamics CRM 2013 SDK Portal Sample “WebAppWalkthrough” connectionstring issue for CRM 2013 O365 Login

When trying to test the Microsoft Dynamics CRM 2013 web portal sample that is available in the path of …\SDK\Walkthroughs\Portal\WebAppWalkthrough , I see that the web.config contains a connection string entry as below <connectionStrings> <addname=“Xrm“connectionString=“Server=http://crm/contoso; Domain=CONTOSO; Username=Administrator; Password=pass@word1“ /> </connectionStrings> … Continue reading

Posted in CRM 2011 | Tagged , , | Leave a comment