exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 3 question 33 discussion

Actual exam question from Microsoft's PL-400
Question #: 33
Topic #: 3
[All PL-400 Questions]

DRAG DROP -
You are designing a model-driven app for a company's support desk team.
You must add a button to the app that creates a reminder task. The button must only display to users if a service case is open for at least seven days.
You need to define the steps to create the button when App Designer is open.
In which order should you perform the actions? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: Edit the command bar.
Step 2: Add a command button.
Step 3: Add a data source to the component library

DataSourceInfo function -
Data sources can provide a wealth of information to optimize the user experience.
Step 4: Configure a visibility expression.ֲ¨
You can use Power Fx for both actions (what happens when the command button is selected) as well as visibility (logic to control when the button is visible).

Visible -
Defines logic for hiding or showing the button when running the app.
To define visibility logic select the command. Then select Visibility on the right command properties pane and choose Show on condition from formula. You may now select Visible on the left of the formula bar then write a Power Fx expression using the formula bar.
Step 5: Create a task by using OnSelect expression.

OnSelect -
Defines the logic that will be executed when the button is selected within the app.
Reference:
https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/use-command-designer https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/commanding-use-powerfx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
4e8b388
Highly Voted 6 months ago
Add a data source to the component library. Edit the command bar. Add a command button. Configure a visibility expression. Create a task by using an OnSelect expression.
upvoted 5 times
...
Juan0414
Most Recent 1 month, 3 weeks ago
I replicated this scenario. In order to access "Component library" to add the data source, I had to open Command Designer first (Edit the command bar). So, for me the order is: Edit the command bard Add a data source to the component library Add a command button Configure a visibility expression. Create a task by using an OnSelect expression If the component library for the app was already created, I guess that you can access it from outside the app and add the data source first, so I guess that is ok as multiple orders are accepted.
upvoted 2 times
...
Sudheer93
1 year, 1 month ago
In exam - 9/23/2023
upvoted 1 times
...
TheExamMaster2020
2 years ago
Does the order in which you add the data source and the button matter?
upvoted 2 times
No_Doubt
1 year, 11 months ago
Check the question's note NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago