Tip #1077: Connect to the right instance

Connect

As Guido “Future Olive Farmer” Preite has discovered, sometimes CrmServiceClient may connect to the wrong instance. Just like that. Dynamics 365 instances now can be backed up and restored at will. The side-effect of this awesomeness is that URLs and unique names may no longer match, leading to the fun times with connections. Here’s the […]

Tip #1066: Discover Azure AD tenant ID with Occam’s razor

Occam's razor

As developers, from time to time we are puzzled by simple questions: How to discover Azure AD tenant ID based on Dynamics 365 organization URL? Under the normal circumstances I would have put my condescending hat on (did I forget to take it off, again?) and say something like “Use AuthenticationParameters.CreateFromResourceUrlAsync method from ADAL, of […]

Tip #1058: Connect to version 9 in your code

Rebuild

This tip is courtesy of Matt “SDK Deity” Barbour to make sure that we (developers) can stay connected to our beloved instances regardless of the version. Before copying the write-up almost verbatim, short version: tl;dr TLS 1.2 is now enforced so, for seamless connections to your version 9 instances, use the latest SDK tools and […]

Tip #1033: Use Fiddler to boost client-side development

Fiddler crab

Today’s tip is from Matt Beard – thank you! And, hey, you can be a guest tipster too – just send your tip to jar@crmtipoftheday.com. As a CRM developer, I regularly run through this exact process step by step when writing WebResources such as HTML or Javascript and I’m sure others do too. Write your […]

Tip #1032: Be careful with those function names

Namespaces

Today’s tip is from Tom Pickles – thank you! And, hey, you can be a guest tipster too – just send your tip to jar@crmtipoftheday.com. I fixed a curious issue today that I thought I’d share. Users had reported that when using the multi-edit form to update multiple cases, the form would freeze when they […]

Tip #1013: Include attributes that are not there

Hidden figure

New Developer Guide, as it turned out, contains a lot of useful nuggets, little enhancements that make developer’s life much easier. How many times did you need some field values for the use in javascript but didn’t really want to include the fields on the form? Something like lattitude and longitude, for example. Would it […]

Tip #1012: Developer Guide of the Future says hello

Back to the future

According to the timestamp on the page, it is the future because, as of the time of writing, there is no place on Earth where 31st of October is a reality. Developer Guide for Dynamics 365 Customer Engagement, version 9.0, the release formerly known as July 2017 Update for Dynamics 365 (online), is now available […]

Tip #994: Compare two security rules

Steve “kick the hornet’s nest” Mordue asks: Does anyone know of a tool for comparing two security roles easily? Good news Steve. There’s a Yack for that. David Yack’s fantastic Xrm.Tools has a security role explorer that allows you to easily compare two Dynamics 365 security roles, identify what is unique to each role, and […]