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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power App form Mode
Power Apps
Unanswered

Power App form Mode

(0) ShareShare
ReportReport
Posted on by

 

Hi, I have three different screens: List Screen, Screen 1, and Screen 2.

On the List Screen, I have a gallery with a button. I have set the `OnSelect` of the button as:

```PowerApps
Set(
varFormMode,
FormMode.Edit
);
Set(
varItem,
'Risk Assessment Details_2'.Selected
);
Navigate(
'Screen 1',
ScreenTransition.Cover,
{
SelectedItem: varItem,
FormMode: varFormMode
}
)

In Screen 1, I have a form with `varFormmode` as the form mode and `varItem` as the item. Additionally, I have a button in Screen 1 with the following actions:


SubmitForm(Form1);
ResetForm(Form1);
NewForm(Form1);
Navigate(Screen2, ScreenTransition.Cover, { LastSubmittedItem: Form1.LastSubmit });
``

In Screen 2, I have a form named Form1_1. When the user clicks on the button, I want Form 1 to be displayed in Screen 2 in view mode only. I tried changing the form mode for Screen 2, but the data is not getting displayed. Also, I have a back button in Screen 2 where, when the user clicks, they will be navigated back to Screen 1 to change the details again.

---

Could anyone please help to fix the issue 

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @Danny_Dicaprio ,

     

    This is because you have set the mode of Form1 to New, so it will not display data when you back there.

    Please try this: Set mode to Edit before back Form1.

    Button in Screen2:

    OnSelect:
    EditForm(Form1);
    Navigate(Screen1);

     

     

     

     

    Best regards,

    Rimmon

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard