nerdexam
Microsoft

PL-100 · Question #141

You are setting up a canvas app using the Dataverse. The application captures the information about various software, including their price. You want to ensure that the users of the application add…

The correct answer is B. Use Business Rules to automatically validate the cost center for the currently logged-in user. Business Rules in Dataverse enforce field validation logic at the data layer, ensuring users can only enter valid values regardless of which app or interface accesses the table.

Create business solutions

Question

You are setting up a canvas app using the Dataverse. The application captures the information about various software, including their price. You want to ensure that the users of the application add only the correct values into the fields. For example, users should not be allowed to put in the wrong cost center while adding a new record. What would you use?

Options

  • AUse Power Automate flows to validate that the field value matches what the table is expecting.
  • BUse Business Rules to automatically validate the cost center for the currently logged-in user.
  • CUse Model-driven App instead of a canvas app
  • DUse controls to validate that the field value matches the expected value.

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    91% (32)
  • D
    6% (2)

Why each option

Business Rules in Dataverse enforce field validation logic at the data layer, ensuring users can only enter valid values regardless of which app or interface accesses the table.

AUse Power Automate flows to validate that the field value matches what the table is expecting.

Power Automate flows execute after data is submitted and are not designed for real-time, synchronous field validation during data entry in a canvas app.

BUse Business Rules to automatically validate the cost center for the currently logged-in user.Correct

Business Rules in Dataverse can be configured to evaluate field values on form load and change events, display error messages, and block record saves when conditions such as an invalid cost center are detected. Because Business Rules execute at the Dataverse level, they apply consistently across all apps that use the table, making them the most reliable and maintainable solution for enforcing data entry constraints.

CUse Model-driven App instead of a canvas app

Switching to a model-driven app does not inherently solve the validation requirement and introduces unnecessary architectural complexity unrelated to the stated business need.

DUse controls to validate that the field value matches the expected value.

Using canvas app controls for validation requires manually coding checks in every form and does not enforce constraints at the data layer, making enforcement inconsistent and easier to bypass.

Concept tested: Dataverse Business Rules for field-level validation

Source: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/data-platform-create-business-rule

Topics

#Business Rules#Dataverse validation#Canvas Apps#Data integrity

Community Discussion

No community discussion yet for this question.

Full PL-100 Practice