Step By Step integrating Bing Maps in MS CRM 2011

In this post I am going to show, how easily we can integration bingmap in MS CRM 2011. I am going to create a html webresource which will show account’s city location on bing maps based on city address. Here are the steps to implement the same First steps is to get Bingmap developers key. Create an html page and… Read more »

"MenuSections can only have children of type MenuItem, Gallery or GroupPopup" Error

When I was trying to create a menu in MS CRM 2011 ribbon and  I set DisplayMode=”Default” for menuselection I got this error, and when I tried to search this error in I found http://msdn.microsoft.com/en-us/library/gg334378.aspx, According to SDK :- “You may get the following error “MenuSections can only have children of type MenuItem, Gallery or GroupPopup.” when viewing a Ribbon… Read more »

Adding Convert Email To Task in Email Ribbon MS CRM 2011

Today I saw one thread in CRM Development form to create a button in email ribbon to task from current email activity. So thought to create the same. In this post I am going to create a button in email ribbon to create task from email. you can use below code for the same <RibbonDiffXml>         <CustomActions>           <CustomAction Id=”EmailToTask” Location=”Mscrm.Form.email.MainTab.Convert.Controls._children”… Read more »

Create custom filtered lookup to filter records based on start and end date in ms crm 2011

MS CRM 2011 provides us facility to create custom filtered lookup on the fly. So in this post I am going to explain how we can create a custom filtered lookup based on start and end date. Let say we have two entities Entity A and Entity B, having relationship N:1 (A:B) and entity A have two attributes start Date and… Read more »

Fetching Data based on Datatime field in MS CRM 2011 plugin

If you are looking for the code to retrieve data based on Datetime field you can use below code private EntityCollection RetrieveData(DateTime _Date,IOrganizationService _iService)         {  QueryExpression _Query = new QueryExpressio{     EntityName = “EntityName”, //Replace with entityname     ColumnSet = new ColumnSet(“AttributeName”), //list of fields          Criteria =               {               FilterOperator = LogicalOperator.And,               Conditions =                   {… Read more »