-
Continue reading →: Target CRM Version in Solutions – CRM 2013 Spring feature
With Spring update we got a new option “Target CRM Version” while exporting the solution. Available options are 6.1 (default) and 6.0. If you choose 6.0, any new capabilities of version 6.1 will not be included in the exported solution and any organizations still using version 6.0 will be able…
-
Continue reading →: Missing ‘Connect to Dynamics CRM Server’ from visual studio solution
I recently created a new Visual studio solution using Dynamics CRM 2013 Template. So I get “Connect to Dynamics CRM Server” window whenever I open the solution, which allows me to connect my CRM Organization. Later I added a new “Class Library” project to my solution. Now surprisingly when I…
-
Continue reading →: XML to strongly typed object in C#
Assume you have composite XML and you want read the XML field values in your C# project, the simplest way is to convert in to Strongly type object and read as parameters. It involves two steps as mentioned below Generate XML Wrapper Class “Fruits.xml” is your XML file. Copy…
-
Continue reading →: Unable to uninstall windows service; Service status is disabled
I was trying to uninstall my windows service using cmd>installutil \u ‘sevice.exe’. But the service is not uninstalling and showing status as ‘Disabled’ in ‘Service Manager’ (Run -> Services.msc). Also when I try to install the same service again, I was getting “The specified service has been marked for deletion” message.…
-
Continue reading →: Reflection with method overloading C#
I have a class with 3 overloaded methods and when try to invoke method’s using Reflection, I was getting “Avoiding an ambiguous match exception” exception. Below is the way to invoke overload methods using Reflection, which solved my exception. Let’s take a class with 3 overload methods. Class Structure namespace MyNamespace{ public…
-
Continue reading →: Separating alphabets and digits from Alphanumeric string– C#
We got a requirement to separate alphabets and digits from alphanumeric string as groups. Let’s say my alphanumeric string is “Hel00Wor11DD” and I need to get Alphabet group as “Hel,Wor,DD” Digit group as “00,11”. Below is the C# code which use Regular expressions and achieve the same var digitGroup =…
-
Continue reading →: SQL query to split a string separated by Comma (or any special character)
Assume that you have a String with Comma separated value and wanted to split and get the collection in SQL. My string looks ‘A,B,C,D, ‘ and I want output as Value A B C D Approach The approach I am following here is Declare a Temporary table Split the string Insert…
-
Continue reading →: GUID generator website
How many times you were in a situation, where you need a GUID to test your .Net application or fill a ‘uniqueidentifier’ column of SQL table. I found this GUID generator site very helpful. You just need to refresh the web page to get a new GUID every time. Not…
-
Continue reading →: CRM Developer Toolkit for Visual Studio 2013
There is no release of CRM Developer Toolkit for VS 2013. However by hacking the CRM Developer toolkit for VS 2012 we can get Developer Toolkit work for VS 2013. Refer steps mentioned in this article. 🙂
-
Continue reading →: Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
If you a have a column of type ‘uniqueidentifier’ in your SQL table, and you want to auto generate a new Guid every time when you insert a record, you can use the ‘Default Value or Binding’ property of ‘Column Properties’. Set Default Value or Binding = newid() 🙂


