exam questions

Exam PL-100 All Questions

View all questions & answers for the PL-100 exam

Exam PL-100 topic 3 question 18 discussion

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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
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.
Solution:
✑ 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).
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
BenJames
Highly Voted 4 years, 5 months ago
Correct "Users must be able to select an account and view details for the account." Do not want to set the form to new.
upvoted 16 times
...
Faridee
Highly Voted 4 years, 4 months ago
the admin wildin ...
upvoted 8 times
...
Moppu
Most Recent 1 year, 10 months ago
Selected Answer: A
I can see most peoples reasoning for thinking the answer is B is that the Item property of the form should be Gallery.Selected. Knowing the terrible way that Microsoft write these questions, they usually just splurge some rubbish that they think makes sense and assume people will just assume knowledge. Therefore I think the answer is still A (even though it is technically not correct)
upvoted 1 times
...
Edriska
1 year, 11 months ago
Selected Answer: A
The solution meets the goal. The edit form on Screen_AccountDetail will display the details of the selected account from Gallery_Accounts. The Navigate function will allow the user to switch between the two screens. The back icon will bring the user back to the list of accounts. This is a common way to create a master-detail app in Power Apps. You can learn more about how to create a master-detail app here: [Create a master-detail app]. Some additional information that might interest you are: You can also use a display form instead of an edit form to show the account details. A display form is optimized for viewing data and does not allow editing. You can set the Default Mode of the display form to View as well. You can customize the appearance and layout of the gallery and the form by using properties such as TemplateFill, TemplatePadding, BorderColor, BorderStyle, and BorderThickness. You can also add labels, icons, and images to enhance the user interface.
upvoted 3 times
Edriska
1 year, 11 months ago
You can use variables and collections to store and manipulate data in your app. Variables are temporary storage that can hold a single value or a table of values. Collections are permanent storage that can store multiple records. You can use functions such as Set, UpdateContext, ClearCollect, Collect, and Patch to work with variables and collections.
upvoted 3 times
...
...
Net_IT
1 year, 11 months ago
B is correct. I followed all the steps and the only step that isn't correct is: "Set the Item property of the form to Selected." That should be 'Gallery_Accounts.Selected'.
upvoted 1 times
...
THL36
1 year, 11 months ago
Selected Answer: B
Gallery.selected should be in property of item at Detail Screen
upvoted 1 times
...
VeeraK56
2 years, 3 months ago
A is correct
upvoted 1 times
...
STH
2 years, 4 months ago
Selected Answer: A
the question here is not about the way to properly write the Selected option but about the kind of form to use on the second screen. And edit form in VIEW mode does respond to the need to look at item details, so answer is yes
upvoted 1 times
...
JackJohn
2 years, 6 months ago
Selected Answer: B
It's wrong. Item property should be set to 'Gallery.Selected' not just 'Selected'. It's stupid and doesn't make sense Correct is B
upvoted 3 times
...
RazielLycas
2 years, 7 months ago
Selected Answer: A
I vote yes, form is in VIEW mode, items is SELECTED
upvoted 2 times
...
RazielLycas
2 years, 7 months ago
Selected Answer: A
in this case is YES
upvoted 1 times
...
Kratinhos
2 years, 8 months ago
Selected Answer: A
This is A
upvoted 1 times
...
et_learner
2 years, 9 months ago
Selected Answer: A
See Topic#2 Question#26, this one is a possible way, so Yes
upvoted 3 times
voltaren
2 years, 4 months ago
Exactly!
upvoted 1 times
...
...
Radoslavov
3 years ago
Selected Answer: B
The only thing incorrect here is to set the default mode to New when you are actually viewing an item.
upvoted 1 times
...
whlatlen
3 years ago
Selected Answer: B
Answer is B
upvoted 1 times
...
wian_d
3 years ago
Selected Answer: B
Answer is B
upvoted 1 times
...
wian_d
3 years ago
In this question same issue as previous. Selected by it self will return an error. I will assume they mean Gallery_Accounts.Selected. In this case answer will be no. The user needs to view the Accounts. Default view as new will not display the selected account.
upvoted 5 times
Urchylis
2 years, 8 months ago
You are right. The item property of the form should be Gallery_Accounts.Selected and not just selected.
upvoted 2 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 ...