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 / navigate screen it sho...
Power Apps
Answered

navigate screen it shows me form in edit mode but i want to have it in display mode

(0) ShareShare
ReportReport
Posted on by

when i navigate to another screen then the form in the following screen apperas in EditMode but i want it to be in DisplayMode. How can i achieve that ?

Categories:
I have the same question (0)
  • Cr1t Profile Picture
    555 on at

    @Anonymous 

    Hi, If i got you right when you navigate to new screen you want to it only show fields in display mode.

     

    Add new screen--> User FormViewer from Insert button.

    Datasource of FormViewer --> add your SharePoint List.

     

    If you want to display the records from previous page, if you have a gallery then set

    Items property of FormViewer--> Gallery.selected

     

    Let me know if this works.

    Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    Pls modify the form's 'Default mode' property to "View" as shown below:

    ManishSolanki_0-1682418625061.png

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    you got me wrong, i have screen where i can edit a form connected to a sharepoint list. When i click on the button edit, it change the DisplayMode to EditMode. But When i navigate to another screen while the Form is in EditMode, and go navigate back to the screen then he still shows me the Form in EditMode but i want to be in DisplayMode ?

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    In that case, pls add the following code on the "OnVisible" property of Screen where EditForm is placed, this will reset the form:

     

    ResetForm(Form1);

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    it compiles but does not work! still shows me in EditMode

  • Community Power Platform Member Profile Picture
    on at

    i want it in DisplayMode

  • Cr1t Profile Picture
    555 on at

    @Anonymous 

    Could you please provide us with screenshots of what exactly you are looking for so i can understand better and help you?

  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    We will take help of local variable to accomplish this. Please try the below steps:

    1. On the "OnVisible" property of the screen where edit form is placed add the following line of code

    UpdateContext({varFormMode:FormMode.View})

    ManishSolanki_0-1682420440296.png

     

    2.Next, the button which opens the form in edit mode should have the following code on the "OnSelect" property:

    UpdateContext({varFormMode:FormMode.Edit})

    ManishSolanki_1-1682420550427.png

     

    3. finally, assign the variable to the DisplayMode property of form as mentioned below:

     

    ManishSolanki_2-1682420662585.png

     

    Please let me know if you face any problem & remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard