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 / Edit and View Forms
Power Apps
Unanswered

Edit and View Forms

(0) ShareShare
ReportReport
Posted on by

I have a screen in query mode (form view) . In the toolbar e have an icon so that the form becomes editable so that the user can change data. After this change there is a button for recordings in the BD. After the information is saved, I need the form to return to its original state of consultation. When I switch from View to Edit everything goes well. But when i try to convert to its original state (form view) nothing happens. After that all app forms are now editable. 

Does anyone know how to solve this problem?

 

Categories:
  • jbrit2020 Profile Picture
    638 on at

    There's a property in the Form called "OnSuccess" you can try to put this in there: ViewForm('NameofYourForm')

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @biaarriaga 

    As mentioned above, there are three modes for a form and a function can set the form in that mode:  They are NewForm(Form1), ViewForm(Form1) and EditForm(Form1).  You can use these functions  to change the form mode depending on what you wish to do with the form, i.e. Add a new record, Show the data in the record without being able to change it, or modify the data for a particular record. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard