New JavaScript methods in CRM 2013

With release of CRM 2013, Microsoft has added some new methods that can be accessed. In the past, we had to write some unsupported JavaScript to get this functionality. More information about all these methods can be found in Microsoft Dynamics CRM 2013 SDK. • Xrm.Page.context.client.getClient() - Returns client type i.e. outlook, web or mobile.... Continue Reading →

Creating a knowledge base article using C# plugin

I am writing this post with complete code to help someone in the community who might be having a similar requirement. Please see the code below: Entity ent = new Entity("kbarticle"); ent.Attributes.Add("title", <title>); ent.Attributes.Add("kbarticletemplateid", new EntityReference("kbarticletemplate",new Guid(< Template Id >))); ent.Attributes.Add("subjectid", new EntityReference("subject", new Guid(<Subject Id >))); string articlexml = "<articledata><section id='0'><content><![CDATA[" + <<This is... Continue Reading →

Error 0x8004F016 while importing a managed solution

A managed solution cannot overwrite the SavedQuery component with Id=xxxx-xxx-xxx-xxx-xxxx.. Error Are you getting below error when trying to import managed solution exported from your dev environment. A managed solution cannot overwrite the SavedQuery component with Id=xxxx-xxx-xxx-xxx-xxxx  which has an unmanaged base instance.The most likely scenario for this error is that an unmanaged solution has... Continue Reading →

PROPER Function in SSRS 2008

SSRS does not contain an inbuilt method for making the first letter of each word uppercase. we can write  uppercase(left(field,1)) + lowercase(right(field,len(string)-1) to do the same job but it gets over complicated and it only modifies first letter of a multi word string. We can use the following function to convert string to proper case.... Continue Reading →

Zipcode Lookup for Account/Contact

Recently I was asked by a customer to populate city, county and state depending on the zip code for accounts and contact. It involved lot of research and a simple java script method worth sharing with the community to save lot of time. I implemented this for accounts and contacts but the same method can... Continue Reading →

Create a website or blog at WordPress.com

Up ↑