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 / Form not visible, beca...
Power Apps
Answered

Form not visible, because dataset is empty

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We created a power app screen on the basis of a form (referencing one table), with different datatypes (options, text, etc.). When previewing the screen the form is not displayed anymore. (maybe because the entries are still empty). But we need the form for users to fill the different entries of the table in the first place.

 

Could someone help?

I have the same question (0)
  • Z_Lukowski Profile Picture
    216 on at

    Hi @Anonymous ,

    This Is form in the canvas, right? 

    You just need to change the "Default Mode" of the form to new:

    Z_Lukowski_0-1634061186228.png

     

  • Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at

    Hi Partner,

    Even though no data source is associated , form still displays the controls added on screen.

    There is only one possibility. Please change the color of the form and then do a preview to see if the problem is simple.

    Also check the size of the form. In rare scenarios the form size will be too short that  It is not getting displayed in Preview. Check the width and height of the form.

     

    Regards

    Devi

    My Blog : https://d365topicsbydk.com

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    1\ If your table has no data yet, you can use the newform function to create an item.

    Add a button control and set its OnSelect property to:

    NewForm(your form)

     

    2\ If your table already has data and you want to display one of its items, you could use the item property of the form.

     

    For example:

    If you want to show the first Item on the form,you could try this formula on the Item property of you form control:

    First(your table name)

     

    And please don’t forget to set the mode of your form to edit or view.

    You could use button control to set the mode of your form.

    EditForm(your form)
    ViewForm(your form)

     

    Best Regards,

    Wersky

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard