exam questions

Exam PL-100 All Questions

View all questions & answers for the PL-100 exam

Exam PL-100 topic 2 question 26 discussion

Actual exam question from Microsoft's PL-100
Question #: 26
Topic #: 2
[All PL-100 Questions]

You are creating a canvas app that displays a list of accounts.
Users must be able to select an account and view details for the account. The app must include a feature that brings the user back to the list of accounts.
You add a blank screen named Screen_Accounts and add a gallery named Gallery_Accounts to the screen. You set the data source of Gallery_Accounts to
Accounts and add another blank screen named Screen_AccountDetail.
You need to complete the app.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A.
✑ Add an edit form to Screen_AccountDetail and set the Default Mode of the form to View.
✑ Set the OnSelect property of Gallery_Accounts to Navigate(Screen_AccountDetail).
✑ Set the data source of the form to Accounts.
✑ Set the Item property of the form to Selected.
✑ Add a back icon on Screen_AccountDetail and set its OnSelect property to Navigate(Screen_Accounts).
B.
✑ Add an edit form to Screen_AccountDetail and set the Default Mode of the form to View.
✑ Set the OnSelect property of Gallery_Accounts to Navigate(Screen_AccountDetail).
✑ Set the data source of the form to Accounts.
✑ Set the Item property of the form to First(Accounts).
✑ Add a back icon on Screen_AccountDetail and set its OnSelect property to Navigate(Screen_Accounts).
C.
✑ Add an edit form to Screen_AccountDetail and set the Default Mode of the form to New.
✑ Set the OnSelect property of Gallery_Accounts to Navigate(Screen_AccountDetail).
✑ Set the data source of the form to Accounts.
Set the Item property of the form to Selected.

✑ Add a back icon on Screen_AccountDetail and set its OnSelect property to Navigate(Screen_Accounts).
D.
✑ Add a display form to Screen_AccountDetail.
✑ Set the OnSelect property of Gallery_Accounts to Navigate(Screen_AccountDetail).
✑ Set the data source of the form to Accounts.
✑ Set the Item property of the form to Selected.
✑ Add a back icon on Screen_AccountDetail and set its OnSelect property to Navigate(Screen_Accounts).

Show Suggested Answer Hide Answer
Suggested Answer: AD
A: The Form mode is correctly set to View.
Note: FormMode.View: The form is populated with an existing record but the user cannot modify the values of the fields.
Incorrect Answers:
B: Set the Item property of the form to Selected, not to First (Accounts).
C: The Form mode should be set to View, not New.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form

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
javito125
Highly Voted 3 years, 6 months ago
Correct! A & D for sure
upvoted 13 times
...
ImissOOP
Most Recent 1 year, 6 months ago
crazy question
upvoted 2 times
ImissOOP
1 year, 6 months ago
what in the world too much text sift through we have like 2 min per ques
upvoted 2 times
...
...
Edriska
2 years ago
The correct answers are A and D. Both of these options use the correct form mode (View) and the correct item property (Selected) to display the details of the selected account. Option B uses the wrong item property (First) which will always show the first account in the data source, regardless of which account is selected in the gallery. Option C uses the wrong form mode (New) which will create a new record instead of showing an existing one.👍
upvoted 2 times
...
supun00wick
2 years, 1 month ago
A & D seem correct
upvoted 1 times
...
Senthamil
2 years, 3 months ago
According to me, Neither of the options is correct. In both A&D, the third option should be "Set the Item property of the form to Gallery_Accounts.Selected". Not just selected.
upvoted 3 times
...
RazielLycas
2 years, 7 months ago
I agree with AD
upvoted 1 times
...
SashM
3 years, 5 months ago
Correct
upvoted 3 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 ...