🧐 How to keep Account lean in Dataverse?

by Dec 5, 2023

🧐 How to keep Account lean in Dataverse?

Inheritance is not so useful in the OOP realm! 💥Bold statement, but why?

Inheritance has a rigid structure, a strict hierarchy that proves difficult to change.

Often you need to adjust the full or part of the inheritance hierarchy to add a new type.

So, what’s the solution?

Composition! 👍 Composition uses instances to build a type.

The same can be applied to the Power Platform / Dynamics 365, or more specifically, to Dataverse!

Avoid the temptation to cramp multiple types into one table, like Account.

If you start to see a lot of fields that only belong to one type, it’s time to rethink our design.

Try using Composition in Dataverse. Create a new table for your new type and link (Lookup) it to a Contact.

Much more flexible and helps to keep Account lean!

What do you think? 💭

#

Subscribe to
The Daily Friction

A daily newsletter on automation and eliminating friction

Related Content

SpecFlow: Great concept, flawed execution.

SpecFlow: Great concept, flawed execution. SpecFlow, a BDD framework designed to make writing scenarios a breeze for requirement analysts. The problem: It falls short of its promise. ❌ The reality? Analysts rarely, if ever, write the specs themselves. Instead,...

read more

What if…? Production has a Staging slot.

What if...? Production has a Staging slot. Staging or QA environment needs to be the same or as close to production as it can be. Preferably, you want to restore a recent backup 💾 from Production as Staging and then deploy your changes 🔄. Kudos 👏 if you've fully...

read more

UUID v7 coming in .NET 9

UUID v7 coming in .NET 9 For those that didn't know, you can create Guids in different ways (algorithms). System.Guid supports UUID v4 out-of-the-box, the most used version. UUID v7 is now added, which creates Guids based on the current time. This means Guids can be...

read more