Tip #911: Developers, start planning for new features

Code developer

If you are a developer, deprecated Dynamics 365 features are not the only ones to watch out for. Much shinier and more exciting is the list of what’s coming in July 2017 (a.k.a. Spring) Update. This is a very short summary what I think we should be paying close attention to, you’ll notice slightly rearranged […]

Tip #854: Beware of Using Xrm Client Functions As Callbacks

Today’s tip comes from the tipper who, despite his affinity with Microsoft Flow, earned his place amongst the real developers fair and square, and who is now known as Daryl “Always Raising” LaBar. Daryl, you have the floor Writing clean code is constantly at the for-front of developers, and usually, “less” code generally results in […]

Tip #832: Dynamic does not work in sandbox

Sandbox Club

Dynamic not DynamicS. The reference is to dynamic keyword making C# developer’s life easier since 2010. As Rickard “Ikea Frysta Köttbullar” Norström has discovered, the following code works in a sandbox on-premises but spits the dummy in Dynamics 365 Online environment. Not all sandboxes were created equal, it seems. Avoiding dynamic and using explicit cast […]

Tip #827: Restricting date picker on portal forms

Aztec calendar

This tip comes directly from none other than Tanguy “The XRM Toolbox” Touzard himself. It’s super easy to build an entity form and a page to allow editing of the Dynamics 365 records in a portal. But what if we want to restrict a date picker control to a certain range, which could be dynamic, […]

Tip #826: USD goodness unleashed

Open source

Whether you are an experienced Unified Service Desk developer or just about to dip your toes into the dark waters of USD, you are on a constant lookout for good code samples and snippets. But hey, why not to take it one step further? Jayme Pechan, one of the USD fathers, has made the entire […]

Tip #821: Troubleshoot Xrm.Tooling connection to Dynamics 365

Connectivity

We’ve long been recommending the use of CrmServiceClient in your applications that connect to Dynamics 365. But what to do when the client just wouldn’t connect? The easiest way to start troubleshooting connectivity to Dynamics 365 is to run LoginControlTester.exe that has long been part of the SDK and can be found in <SDK>\Bin folder. […]

Tip #810: Using Fiddler with Xrm Tooling

Old violin

Sometimes it’s very useful to see what requests are flying forth and back between your code and Dynamics 365. The tool of trade is, of course, Fiddler. Fiddler allows https traffic analysis by using man-in-the-middle interception using self-signed certificates. If you are using Xrm Tooling and, specifically, CrmServiceClient then you quickly find that the following code: […]

Tip #808: Tracing with Xrm Tooling in Azure Functions

Trace the numbers

By now you should be able to get your Azure Function triggered from Dynamics 365 and connect back to Dynamics 365 to do some evil awesome things. Debugging Azure Functions however, is not a walk in a park – not like you can set breakpoints and step through the code. Well, you should, of course, […]

Tip #798: CrmServiceClient and multiple instances

Reduce reuse recycle

If you are using Microsoft.Xrm.Tooling.Connector.CrmServiceClient and relying on nuget to reference the assembly in your project (as you should) then you need to be aware of what seems to be an odd behavior but is, in fact, a bug fix. Run the following code: And get: Wait a minute, what? Same user and org? Despite […]

Tip #797: When expanding, bring the id with you

Identity

The week of “just read your mailbox and publish what other smart people found”, continues. Derek Finlinson has the microphone: Ran into an interesting issue with the Web API and expanding navigation properties today that I thought I would pass along. I needed to retrieve an attribute from a lookup value related to an entity […]