-
Continue reading →: Expecting element from namespace encountered with name namespace – Error DataContractSerializer
I have a REST enabled WCF service with Method GetFruits() which return list of Fruit objects serialized in XML format. My ‘Fruit’ class defined as below [DataContract] public class Fruit { string name = string.Empty; [DataMember] public string Name { get { return name; } set { name =…
-
Continue reading →: Check Entities attribute type – CRM Late Binding
Recently somebody posted a question in my blog, whether there is a way to determine the entities ‘Attribute Type’ instead of making Organization service call and read the metadata. Assume you have a Plug-in you made a ‘Retrieve’ call using Late Binding and, you got Entity object. Below is easy way…
-
Continue reading →: Execute Custom Action using Late Binding – CRM 2013
Custom Actions provide the ability to write reusable modules of logic that can be triggered through client-side or server-side code. Custom actions run synchronously and can take in parameters as well as return values. In this article I will walk you through creation of a Custom Action with Input Parameters…
-
Continue reading →: Teams vs Access Teams vs Access Team Templates – CRM 2013
As we know “Access Teams” are one of the new feature in CRM 2013. Let’s see how this is different from Legacy Owner Team and finally how is it different from “Access Team Templates”. Consider a scenario, Where we need to change the Accessibility of ‘Account’ records frequently I have…
-
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 →: 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 =…


