When developers like Mike! start their sentence with “this is probably really simple”, you know that it rarely is. (No idea why he’s so excited about his name though, I suspect there is some math flex in here). This is probably really simple, but anyone know how I would add an index to an array […]
Tip #1432: Create records in Power Automate without mandatory fields
I really like mini truck stops when two or more MVPs brainstorm a random problem, usually because they are bored 😈. Help me understand scenarios where one would use a guid() expression in flow when creating new rows. Antti Pajunen What Antti left out was (reasonably) common wisdom that explicitly setting identifiers for new records […]
Tip #1339: The easiest CDS/Dynamics 365/CRM connection ever
Question I need to write a small console app that can authenticate to an online CRM instance with multi-factor authentication turned on. Can anyone point me in the right direction on how to accomplish this? Stephen Smith We’ve been through the topic of connections a few times before but this conversation is just too good […]
Tip #1302: Should I recreate the account entity?
When deploying Dynamics 365, there are frequently multiple types of companies and organizations that you will be tracking in the system. Some represent customer/client organizations, some may be support and advisory organizations like accountants and legal firms, and some may be miscellaneous types of organizations, such as trade associations. How should you manage multiple categories […]
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 #1211: Mixing entities to build complex views
The trick to get developers to get your job done for free is to challenge them. Which is exactly what Steve “Mr SMB” Mordue has done. Challenge I am trying to create a view of activities, that will show all activities performed by anyone on my team. I know I can create specific view that […]
Tip #1138: Obtenga your Dynamics 365 trial dans la правильном Sprache
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 #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 #1133: Rename the view that causes the drama
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 #1127: Don’t update auto number field
We did mentioned in the past that most of the good inventions are driven by the laziness. Auto numbering the new records is one of those. Instead of manually looking up the next available number, calling other users to see if they have any intention of creating a new record in the next few minutes, […]