Power Platform Tidbits #2 – What is possible with business rules in Model-Driven Apps vs Canvas Apps

Business rules can be used by Canvas Apps or Model-driven Apps to do the following:

  • Set column values.
  • Clear column values.
  • Validate data and show error messages.

But keep in mind that they can do the following only in model-driven apps:

  • Show or hide columns.
  • Enable or disable columns.
  • Create business recommendations based on business intelligence

Reference: Define and create business rules in Dataverse

Power Platform Tidbits #1 – Business Rules vs Client-side scripts in model-driven apps

Model-driven App Designer image

When deciding between business rules and client-side scripts in Model-driven Power Apps, the best practice is to use business rules are much as possible and only resort to writing code when necessary. The following table lists some of the most important reasons you might choose one over the other.

Business RulesClient-side scripts
Run business logic on loadRun business logic on save
Set field values in formInstantly update fields in form
Show / hide fields in formFetch related data