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 / Form not displaying. C...
Power Apps
Unanswered

Form not displaying. Can't find the reason.

(0) ShareShare
ReportReport
Posted on by 443

I have an approval app where a user clicks on an Approve button.  When they do, it runs NewForm(Form1), and navigates to another page where the form is supposed to display.  It doesn't display/ is empty.  The defaultmode is set to Edit, the Items is set to Gallery1.selected, and the datasource is set to Requests.  All correct.  I know I'm missing something, but just can't recall what it is I'm doing wrong.  Please help me jog my memory.

Categories:
I have the same question (0)
  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    If you using NewForm(Form1) that means the default mode isn't being used and the form mode is new. A form in new mode doesn't use the item property. Why are you using NewForm(Form1) instead of EditForm(Form1)?

  • lumberjacklurch Profile Picture
    443 on at

    @Jeff_Thorpe,

    Not really sure why I used NewForm, it's been a while since I first built the app.  I tried EditForm, but it didn't make a difference. 

  • lumberjacklurch Profile Picture
    443 on at

    Don't know why the one form wasn't displaying.  Made it into 2 forms (one view, one edit), and it's working.  Not really a "solution", but it works.

  • v-yutliu-msft Profile Picture
    on at

    Hi @lumberjacklurch ,

    If you set the form's mode to NewForm, the form will display empty value, which is used to create a new record.

    If you set the form's mode to EditForm or ViewForm, you need to set the form's Item to one spefic record, which is used to edit/view an existing record. In this situation, if you do not set the Item property, the form will display "No item to display".

     

    So, you need to firstly decide you want to do what with the form. To edit?To create a new one? To view a record?

    And then set the right mode based on your demands.

    Here's a doc about form's mode for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-form-detail

     

    Best regards,

  • lumberjacklurch Profile Picture
    443 on at

    @v-yutliu-msft

    Thank you for the reply.  I've abandoned using this particular form.  I don't know why it wasn't working.  Maybe because it had view-only and edit elements in the same form (although that shouldn't be a problem).  I've split it into 2  forms, one for the view-only elements, and one for the editable elements.  Seems to be working better now.

  • lumberjacklurch Profile Picture
    443 on at

    So, apparently, using two forms isn't a good strategy.  It makes updating things much more complicated.  So,  I'm back to the one form.  Still don't understand why it isn't becoming visible.  All elements/datacards of the form have their Visible property set to Partent.Visible.  I set the form's Visible property to True, but it still won't show up.

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 765 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 272

Last 30 days Overall leaderboard