web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Form in view mode and ...
Power Apps
Unanswered

Form in view mode and in modify mode in the same screen

(0) ShareShare
ReportReport
Posted on by 256

Hello everyone,
I have a screen where I show the same form twice: one in new mode, the other in view mode. I show them both because in this screen I need to have a summary of the data entered in the procedure (view mode) and to be able to modify/enter only two data (new mode).
If I click on the play button I only see the module in new mode, why? How can I make them both work?
In the input form I have hidden the fields that are visible in the other and at the same time those that can be modified before saving are visible.form_stessa_pagina.jpgform_stessa_pagina2.jpg

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Utente_365_1fl ,

     

    A view/edit mode form must have its Item property populated with a specific record, such as Gallery.Selected. How do you define/know which item from your data source (DataSource of the Forms) will display/edit in the View mode form?

     

    Best regards,

  • Utente_365_1fl Profile Picture
    256 on at

    ok, I understand what you mean. But in my procedure it's not so easy because the new record my form has to create is the union of two records from two tables. For example: I need to register a record that contains the data of the person to whom I am delivering an object and also the data of the object I am delivering. So I made a screen with a gallery that has the list of people, in the next one I select the object that I want to deliver from a gallery, and then I make a summary screen with a form that takes the person's data from the first gallery and the object data from the second gallery. You understand that I have two different data sources and two items.
    How can I have one summary form in view mode and another in edit mode?

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Utente_365_1fl ,

     

    Forms could not be used for mixed data source, even collections are not acceptable. For your scenario, you'd better use two containers and include different controls to connect to the summary values, one container is in View mode and the other in Edit mode. At last use Patch function to update/insert to destination tables.

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard