WARNING: Niche L400 tip ahead. tl;dr If you’re expect primary column name to be tablename + “id“, add an exception for systemuser and team tables – both will come back as ownerid in custom API. L400 If custom API has an output property of type EntityReference then, for example, for account (or any other “normal”) table, the […]
Tip #1308: Secret support in SDK
We usually don’t “tip” about SDK releases but 9.1.0.3 just landed in Nuget and it is too good not to be mentioned. By popular demand, support for not one but two new authentication types have been added: Current User ID login when using Online flows with OAuth (Including constructor/connection string support). This allows you to […]
Tip #1278: This message never ends
Sometimes even the best of the best could be puzzled by the mysterious innerworkings of Dynamics 365/CDS SDK. Tanguy “The XRM Toolbox” Touzard was not having a good day… For one of my projects, I’m using ReassignObjectsOwnerRequest SDK message to move records from one team to another team. When this request should last more than […]
Tip #1248: Stop using OrganizationProxy
One of the topics discussed during the MVP Summit 2019 was the brexit of SOAP API. I thought we dealt with it already but there is an additional small but important message: Stop using OrganizationProxy Matt “Platform Deity” Barbour Hold on, you may ask, didn’t you tell us that IOrganizationProxy is fine? Yes, it is, […]
Tip #1135: For plugins, use SDK with the same or below the server version
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 #821: Troubleshoot Xrm.Tooling connection to Dynamics 365
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 #462: Waiting for developer toolkit
CRM developers have been patiently waiting for Godo CRM Developer Toolkit that works with something better than Visual Studio 2012. Now being two version behind, it does not look like it’s coming any time soon. The good news is that, acknowledging both the demand and the delay, the team has been releasing the most important […]
Tip #349: Bulk delete in bulk
After using Bulk Delete Wizard in Dynamics CRM one can be mistaken for thinking that bulk delete is only capable deleting one advanced find result screen at the time. But if mentioning of C# invokes more that just musical associations for you, welcome to the realm of SDK, where things are not what they seem […]
Tip #295: New entities and attributes in CRM 2015
Julie “Nighteye” Yack asked the other day: Is there a magical list somewhere (that I have failed to find after half an hour of binging, or banging?) of new entities and new attributes on existing entities for 2015? Everhelpful Jim “Mr SDK” Daly chimed in: The metadata browser allows you to filter by entities using […]
Tip #264: Find CRM documentation for other versions
When you look at the online documentation for Dynamics CRM, such as the Implementation Guide on TechNet or the SDK on MSDN, sometimes you will find a helpful article or code sample, but it will be for a version of the software that is different than what you use. For example, you might want to […]