Home > Microsoft

Everybody loves to use InfoPath forms. And let’s face it, we all wish we could just take them and put them into CRM. This post delves into how I integrated InfoPath & CRM to dynamically allow InfoPath forms received by email into CRM records. It is still under development, but the source code has been partially tested and works.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Recently someone posted a question about the article I had written for CRM 4 as an example. Here is the 2011 version to hopefully help people find the proper information.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Here is another web-resource html control to expand your CRM forms. It is a slider control for CRM with step control. It provides a graphical way to slide a value up and down.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Another HTML control example that adds a star rating form control to CRM 2011 as a web-resource. It includes a managed solution that you can download and install as well as the source and all images used in creating the solution.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Ever want to translate text from within CRM? This solution adds a button on the ribbon to translate text from other languages to english using the Microsoft Bing Translator.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Here is an example to help people understand how you can leverage the SoundsLikePlugin to do duplicate checking on Account Names that sound like other Account Names. You can leverage it on other entities, etc.

Click to continue reading
Click Here To View Post With Syntax Highlighting

In response to request, I have taken the Soundex and Metaphone codification from the manipulation library and turned it into a plugin, the SoundsLikePlugin. It uses an xml configuration on the plugin step to specify the fields to codify and where to store the results.

Click to continue reading
Click Here To View Post With Syntax Highlighting

In a previous post I provided a screenshot with a contact photo on the form. I have now released a version of the Silverlight control on codeplex at CRMAttachmentImage.CodePlex.com. It is a Silverlight control for adding images to any entity form in CRM 2011.

Click to continue reading
Click Here To View Post With Syntax Highlighting

SilverCrmSoap is a library built using the methods in Walkthrough: Use the SOAP Endpoint for Web Resources with Silverlight. The SilverCrmSoap library simplifies SOAP Silverlight development for CRM 2011 by providing a class that does a lot of the heavy lifting right out of the box.

You can check out the SilverCrmSoap library on CodePlex or read more about it on the CRM Team Blog.

Click to continue reading
Click Here To View Post With Syntax Highlighting

This afternoon I was at the Microsoft Dynamics CRM booth at Convergence when someone asked me about required fields in CRM 2011. They wanted to know how to make fields required, but have different forms with different required fields for the same entity.

First, in CRM 2011, when you make a field required by editing the field, you are making it required for all forms.

If you want to make a field required just for a particular form, you can use a form onload event to change the requirement level. One of the great things about CRM 2011 is just how much is exposed to JScript through Xrm.Page. There are methods on the attribute to get the required level and set the required level. Let’s suppose for example that we want to make the First Name required, but only on this form, then we could use the following onload function with the parameters ‘required’, ‘firstname’ to make the field required. If we needed to add multiple fields, then we would just specify them after ‘firstname’, such as ‘required’,'firstname’,'address1_city’.

function updateRequirementLevel()
{
    var level = arguments[0];
    for (var i=1; i < arguments.length; i++)
    {
        var attribute = Xrm.Page.data.entity.attributes.get(arguments[i]);
        attribute.setRequiredLevel(level);
    }
}

That will make each field you specify after the level, required or recommended based on the level you pass as the first parameter. Calling the function updateRequirementLevel('required','firstname'); will make the firstname required.

Click Here To View Post With Syntax Highlighting

© 2011 MSCRM Blogger

This site does not necessarily represent the views of Microsoft. The material posted on this blog are provided AS-IS, and you are to use the content at your own risk. Some of the code and information on this site may use unsupported methods. If you experience any problems using the information provided through this website, please post a comment and we will do our best to assist you, however, we can in no way guarantee support or resolution.

Microsoft Dynamics®, Silverlight®, Visual Studio®, and the corresponding logos are a registered trademarks owned by Microsoft Corporation. MSCRM Blogger has made every effort to supply trademark information about company names, products, and services mentioned on this blog. All third party trademarks are the property of their respective owners. Any rights not expressly granted herein are reserved.