Category Archives: MS CRM 2011

Get Domain name for MS CRM 2011 User

Sometime we have requirement to get domain name for crm user, we can use SystemUser entity to get this information, you can use below rest code for the same: function GetServerURL() { var serverUrl = Xrm.Page.context.getServerUrl(); if (serverUrl.match(//$/)) { serverUrl = serverUrl.substring(0, serverUrl.length – 1); } return serverUrl; } function GetDomainName() { var UserID = Xrm.Page.context.getUserId(); var ODataPath = GetServerURL()… Read more »

Update parent customerid in Contact using Soap Request

If you are looking to update parent customer id in contact record using soap request you can use below code. I have used Soaplogger application that comes with Microsoft CRM 2011 SDK to generate this soap request, you can simply write your server side code in soaploagger and run this application, it will generate client slide soap request for you…. Read more »

"Unhandled Exception: Microsoft.Crm.CrmException: Cannot create the given type without the required parameters" while sending email in MS CRM 2011

Yesterday we started getting a strange issue in one of our MS CRM online organization, where we have workflow to send notification in case of customer approval, but suddenly the workflow stopped working and we were getting below error “Unhandled Exception: Microsoft.Crm.CrmException: Cannot create the given type without the required parameters.  at Microsoft.Crm.Workflow.Services.ExpressionServiceBase.CreateCrmType(WorkflowPropertyType type, Object[] values)   at Microsoft.Crm.Workflow.Services.ExpressionServiceBase.EvaluateExpression(ExpressionOperator expressionOperator,… Read more »

Onrefresh Not working Anymore after upgrading to Polaris

We started facing issue in one of our organization after it is upgraded to Polaris. In oportunity form we have used attach event to attach onrefresh event to subgrid to refresh opportunity form after doing any modification in line items. var ProductSubgrid = document.getElementById(“opportunityproductsGrid”);        ProductSubgrid.attachEvent(“onrefresh”, FunctionName); So I tried to check if someone else is facing this issue and… Read more »

Win A free copy of the 'Microsoft Dynamics CRM 2011 Application Design just by commenting !

I have good news for my readers, I am organizing a contest where I have two copies of my book (Microsoft Dynamics CRM 2011 Application Design) that I will give to our two lucky winners. How you can win: To win your copy of this book, all you need to do is come up with a comment below highlighting the… Read more »

Get Customer address in Sales entities using HTML web resource

We got a requirement to show customer address (more address) in opportunity entity, so that customer can select bill to address from there. So I thought to create a html web resource to show customer address based on the customer selected in opportunity form, but this web resource can be used in any of the sales entity to fetch more… Read more »

Microsoft Dynamics CRM 2011 Customization & Configuration Certificate Guide – Review

Book Review Chapter 1: Overview of Microsoft Dynamics CRM 2011 This chapter deals with technical details of Microsoft CRM 2011 like Microsoft CRM 2011 Architecture and different layer with different deployment options available. A good explanation about supported and unsupported customization in Microsoft CRM 2011. Chapter 2: Configuring the System Settings This chapter is about Configuring Microsoft CRM 2011, 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 »