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 visible, beca...
Power Apps
Unanswered

Form not visible, because dataset is empty

(0) ShareShare
ReportReport
Posted on by

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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard