Silverlight process missing in VS 2010, while trying to debug

I was working on a Silverlight component yesterday and I was facing some issue, so I thought let’s debug my XAP file to see what is causing this issue. When I tried to attach Silverlight process in my source code, I was unable to get Silverlight process. Earlier I was able to debug my XAP files without any issue, but… Read more »

2012 in review

Mahender   January 1, 2013   No Comments on 2012 in review

The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog. Here’s an excerpt: 19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about 75,000 times in 2012. If it were a concert at the Barclays Center, it would take about 4 sold-out performances for that many people to see it…. Read more »

Microsoft Dynamics CRM 2011 Application Design

It is my pleasure to share this news with my readers that I have been working on a book for last few months and now it is available on Packtpub.com. Microsoft Dynamics CRM 2011 Application Design is the solution to your business needs. Whether you are just starting out or are an old hand this book will provide you with… Read more »

Microsoft Dynamics CRM 2011 Customization & Configuration Certificate Guide

Yesterday I got an email from my publisher to review Microsoft Dynamics CRM 2011 Customization & Configuration Certificate Guide written by my fellow MVP Neil Benson . So I am going through this book and will post my review shortly, till then stay tuned.  

Create and attach text file to notes in Microsoft CRM 2011

If you have requirement to create and attach file to notes in Ms CRM 2011 using code then this post is for you, you can use below code string strMessage=”this is a demo”; byte[] filename = Encoding.ASCII.GetBytes(strMessage); string encodedData = System.Convert.ToBase64String(filename); Entity Annotation = new Entity(“annotation”); Annotation.Attributes[“objectid”] = new EntityReference(“EntityName”,GUID); Annotation.Attributes[“objecttypecode”] = “EntityNAME”; Annotation.Attributes[“subject”] = “Demo”; Annotation.Attributes[“documentbody”] = encodedData; Annotation.Attributes[“mimetype”]… Read more »

Retrieve primary entity and related entity data using OData in MS CRM 2011

Are you looking to access primary entity and related entity data in single query using OData then this post is for you. If we need to access related entity data, we can use expend open in our odata query, we need to specify relationship name, in below example I am fetching data from account and more address entity and relationship… Read more »

Are you sure you want to change lookup value ??

Sometime we have requirement where we need to prompt user while changing lookup value if he really wants change that value or not, especially when we need to fire some business logic on change of lookup based on it’s value. We got this requirement where we need to delete all child records when specific lookup in parent entity is changed,… Read more »

Step By Step Adding Configuration Page in Solution MS CRM 2011 Part -2

In my earlier post I have used a simple html web resource to set as configuration page and I found this post quite popular, so I thought to write another post on this. In this post I will show how can we get configuration details from xml web resource to display it in configuration page. We can use it in… Read more »

Retrieve MS CRM fields using late bound

In my earlier post I have provided sample code to set different data type fields using late bound in MS CRM 2011. In this post I am going to how can we fetch value from different data type fields. Entity _Account = service.Retrieve(“account”, new Guid(“XXXXX”), new ColumnSet(new string[] { “name”, “accountcategorycode”, “new_collectiondate”, “creditlimit”, “parentaccountid”, “new_executivecommission”, “new_isbilled” })); //To fetch string… Read more »