nerdexam
Microsoft

PL-100 · Question #203

You work in a warehouse. You build an app for physical inventory counts that is used by different staff members. The typical count takes 14 hours. The app has a warehouse screen with a gallery that…

The correct answer is C. Create and configure a stopwatch custom component, and then add it to the aisle screen. A custom component in Power Apps is a reusable, encapsulated UI element that can maintain its own internal logic and state. Creating a stopwatch as a component and placing it on the aisle screen means each aisle's timing is tracked individually when a staff member is on that…

Create business solutions

Question

You work in a warehouse. You build an app for physical inventory counts that is used by different staff members. The typical count takes 14 hours. The app has a warehouse screen with a gallery that contains the aisles in the warehouse. When a staff member selects an aisle record, another screen displays all the items stored in that aisle. The staff must know how long each aisle takes to do a physical inventory count. You need to add logic to the app. What should you do?

Options

  • AConfigure a timer control, add it to the aisle screen, and then reset it when exiting the aisle screen
  • BCreate and configure a stopwatch custom control, and then add it to the gallery
  • CCreate and configure a stopwatch custom component, and then add it to the aisle screen
  • DConfigure a timer control, add it to the gallery, and then reset it when the selection changes

How the community answered

(63 responses)
  • A
    3% (2)
  • B
    5% (3)
  • C
    83% (52)
  • D
    10% (6)

Explanation

A custom component in Power Apps is a reusable, encapsulated UI element that can maintain its own internal logic and state. Creating a stopwatch as a component and placing it on the aisle screen means each aisle's timing is tracked individually when a staff member is on that screen. Option A is incorrect because placing the timer on the aisle screen and resetting on exit would lose the elapsed time. Option B is wrong because 'custom control' refers to PCF (Power Apps Component Framework) controls, which require professional coding and are more complex than needed. Option D is incorrect because placing a timer inside a gallery would reset it on every scroll or selection change, making it unreliable for tracking per-aisle time.

Topics

#Power Apps Components#Gallery Control#App Design Patterns#Timer Logic

Community Discussion

No community discussion yet for this question.

Full PL-100 Practice