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 / Display mode problem
Power Apps
Answered

Display mode problem

(0) ShareShare
ReportReport
Posted on by 127

Hello,,

 

I have build power app based on sharepoint list, I have four screens,

 

- flow screen ( galleries filtering as per the status of the request)

- form screen ( creating new offers)

- finance screen ( additional details for the request)

currently i am facing the below problems;

 

1- the display mode is not updating - for example, when i am creating new request, and go back to flow screen to view any request, it show the request in edit mode instead of view mode !! 

 

2- I am trying to find a way to show the finance details of the same item selected from flow screen.

 

please advise how can i resolve the above

 

 

Set(varFormMode1,FormMode.View) < this is the global variable to view items from flow screen. (i don't understand why if i create or edited an item, then i can't go back to view mode)

Categories:
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    HI @Samaher, Apologies! but you mentioned that you have 4 screen but you have mentioned only 3 screens information. Then for the first issues, you mentioned that "when i am creating new request, and go back to flow screen to view any request, it show the request in edit mode instead of view mode", so does the flow screen has any form?

     

    Based on my guess, I would like to give you this video: https://www.youtube.com/watch?v=9gI9OscTLD0&t=757s

     

    Please check if this can help you. If not then please elaborate the requirement with few screenshot.

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


     

     

  • Gabbie5rova Profile Picture
    4 on at

    Hi @Samaher ,

    You also have the option to use this formula when working with forms. On the click of the button I set the form to be a view form. And you can use the item property of your form to display the selected item in your gallery.

    Gabbie5rova_0-1700661922415.png

    Gabbie5rova_1-1700662442081.png

     

  • Samaher Profile Picture
    127 on at

    acutally i have multiple screens,, and I have resolved the problem of the finance screen..

    in flow screen, there is add option, it will open the request form in new mode. and also i can view any item from the list of flow screen in view mode

    tempsnip.png
  • Samaher Profile Picture
    127 on at

    Hello @ANB , I have watchced the vedio, but yet, i did not find the reason on why the mode is reading the last form mode, and it is not updating to the current form mode.

     

    when i view the form, it should show the form in view mode

    but if i created new form, and go back to view any other form from flow screen gallery, unfortunatly, it show the form as edit form, because i have either created new form or edited any form before this step ...

  • Verified answer
    ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @Samaher , If you are using a single form for all mode like for creating new item, for updating existing item or to view existing item then based on the requirement you need to update the form mode. Example:

    EditForm( FormName )

    • FormName - Required. Form control to switch to FormMode.Edit mode.

    NewForm( FormName )

    • FormName - Required. Form control to switch to FormMode.New mode.

    ViewForm( FormName )

    • FormName - Required. Form control to switch to FormMode.View mode.

     

    So, on + icon you will be using NewForm( FormName ) with other code.

    If you want to edit existing record, so you have to use EditForm( FormName ) on edit button withing gallery.

    and same applies to view form.

    Make sure the Item property is also mapped to gallery. Please check this https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-form

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


     

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

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard