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 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).
Does the solution meet the goal?
FormMode.New: the form is populated with default values and the user can modify the values of the fields. Once complete, the user can add the record to the data source.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form
Currently there are no comments in this discussion, be the first to comment!