Tip #1145: Tracing in Azure Functions MkIII

Tracing

This never ends. Shortly after I finished writing about tracing in Azure Functions, I found Daryl “Always Raising” LaBar explaining how to use ExtendedOrganizationService wrapper to easily capture everything in your plugin: Wouldn’t it be nice for debugging if your plugins automatically traced every IOrganzationService Request, along with the parameters and the time that it […]

Tip #1144: How to add business days

Walk over calendar

Over six months ago I got a tip from Sergio “Behind The Wall” Macías, part of the the driving force behind Spanish-speaking Dynamics 365 community, on how to create a custom workflow activity that adds business days to a specific date in Dynamics 365. In the essence, the calculations are something like this: The heart […]

Tip #1140: Get ready for October 2018 release

The future is clear

No, Microsoft didn’t invent the time machine (though you can buy one in store). As part of modernizing the way Dynamics 365 gets updated, the team has just released October 2018 release notes. Why did the notes get released 3 (and for some features 5) months ahead of schedule? So that customers and partners can […]

Tip #1138: Obtenga your Dynamics 365 trial dans la правильном Sprache

Hola

Dynamics 365 supports 43 base languages, and sometimes you need the right one for the trial. In theory, it’s as easy as 1-2-3: Un Clément “French but not Tanguy” Olivier was having no luck provisioning a trial instance in his langue maternelle: For a client demo, I had to create a new Trial instance (on […]

Tip #1137: Learn language and study API to simplify your code

Simple life

I already wrote about the benefits of learning new language features. Equally important is to understand what assemblies are available as part of Dynamics 365 SDK, how they work, what classes and interfaces are available, and how the edge cases work (basically, “what-if” scenarios, like “what if this is null”). This week I had “privilege” […]

Tip #1136: How emails are resolved to the Dynamics 365 records

Do something great

Literally a week later after Jonas “The Shuffler” Rapp was puzzled how From fields are resolved (see tip 1119),  Josh Wells from the cold city of Fargo (where some of the Microsoft folks tend to congregate) chimed in with the final resolution to the problem and a very good advice: One of the best changes […]

Tip #1135: For plugins, use SDK with the same or below the server version

Mismatch

Problem Another week, another challenge from Guido “Future Olive Farmer” Preite: I created a plugin for one Online instance (version 8.2.2.1862),  I created a class library project with .NET 4.5.2 and with nuget I installed the Microsoft.CrmSdk.CoreAssemblies version 9.0.2.3 I registered the plugin and I always get this error: Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, […]

Tip #1133: Rename the view that causes the drama

Scope viewer

Problem Guido “Future Olive Farmer” Preite was not having any luck importing a solution: This is the situation: Sandbox is 9.0.2.441, Production is 9.0.2.197. From the sandbox we exported a solution as managed, when we import to production we get the following error: this solution package cannot be imported because it contains invalid xml… The […]

Tip #1132: Performance of various instance types

Lottery balls

We keep hearing this question over and over again from the customers, consultants, and developers: Are production instances given any preferential treatment in terms of resources as compared to sandbox and trial instances? I thought it’d be a good idea to revisit the 4 years old answer as nothing has changed since then. As per […]