Category Archives: CRM 2011 SDK

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

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

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

The LDAP server is unavailable Error while running crm 2011 sdk sample for o365

whil trying to run one of the sample from the recent crm 2011 sdk v.5.0.13, i was repetedly getting exception with error message as The LDAP server is unavailable the below blog helped me http://mscrmshop.blogspot.in/2012/09/error-message-on-running-sdk-samples.html

Posted in CRM 2011, CRM 2011 Online, CRM 2011 SDK | 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

CRM 2011 Events to Entity mapping

 In CRM 2011 there are nearly 1000 support CRM SDK events/messages that can be registered against various entities in a plugin registration tool. The attached excel sheet lists all those events. Using the excel data filtering ,sorting and searching behavior … Continue reading

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

Get Option set Value from Text in crm 2011 using CRM SDK c# code

it happens while performing migration we get the string values for the option sets as input, but while updating in crm using SDK code we need the Optionset Numeric value. the below code show cases how to handle any optionset … Continue reading

Posted in .Net, C#, CRM 2011, CRM 2011 Online, CRM 2011 SDK | Tagged , , , , | Leave a comment

Bulk user Migration to CRM 2011 online, from excel sheet through C#,.Net code- assign Business Unit, assign Security role and Manager etc

I had the requirement to perform bulk user migration to CRM 2011 online, from an excel file. I wrote the below code to do so, and it was very helpful. Code to redirecting the Standard Output to a file.  FileStream ostrm; … Continue reading

Posted in .Net, C#, CRM 2011, CRM 2011 Online, CRM 2011 SDK | Tagged , , , , , , | Leave a comment