TIP: Only Update Attributes you need to Update Through the SDK

TIP: Only Update Attributes you need to Update Through the SDK

This statement holds true whether you are updating attributes through the SDK dlls or over web services. It doesn’t matter whether you’re coding for a plugin, workflow assembly, Silverlight app or some external custom application like a windows application or web application. The potential outcome in all the scenarios will be the same! What’s the outcome? Triggering other automation unwantedly!

Read more about TIP: Only Update Attributes you need to Update Through the SDK

TIP: Use .Equals instead of == for CRM Type Comparison

TIP: Use .Equals instead of == for CRM Type Comparison

While creating a plugin today I wanted to compare attribute values from a pre image with attribute values from the input parameters. Typically I always use the == and != operators for comparison. This generally works fine for the .NET base value types but for the CRM reference types of OptionSetValue, Money and EntityReference it caused me an issue. I wasn’t getting expected results back!

Read more about TIP: Use .Equals instead of == for CRM Type Comparison

Login

Lost your password?