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 / How to replace a Displ...
Power Apps
Answered

How to replace a Display Form wirth an Edit Form on a split screen Tablet App?

(0) ShareShare
ReportReport
Posted on by 12

I have a Tablet App where on the left side of the Tablet real Estate I have a Gallery with a list of Titles.

When a Title is clicked , on the right side of the page a Display Form displays that "clicked" Items info.
On the top right over the Display Form I have an "Edit Icon".

 

What I hoped to do was when that item needed to be edited, clicking on the "edit icon" would keep the left side Gallery as is, but "replace" or navigate the current DisplayForm to an EditForm of the same selected Item ( ID ). I have tried several ways around it, including an OnSelect on the "Edit Icon" - FormMode.Edit(FormViewer6) but to no avail.
What's the best way to go around this please?

Thank you.

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @MGMcAllister,

    In most cases, a display screen is unnecessary.  You can change your Edit forms's mode with the command EditForm(Form1) and ViewForm(Form1) and use a Toggle control or a button to set the form's mode.  If you still want to use both forms but want to toggle which one if visible, you can use the UpdateContext() function to do that.  Again you can use a toggle control to do that along with the OnVisible property of your screen to set up which form you want to show when the form opens.  For example:  UpdateContext({viewform: true}) in the OnVisible property of the form.  Set the Visible property of the View form to viewform. Set the Visible property of the Edit form to !viewform. Set a toggle control OnCheck property to UpdateContext({viewform:false}) and the OnUncheck property to UpdateContext({viewform: false})

  • MGMcAllister Profile Picture
    12 on at

    Thank you very much Drrickryp!

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard