Skip to main content

Notifications

Community site session details

Community site session details

Session Id : FM1ynLufKk5VL99dTQr2y+
Power Apps - Building Power Apps
Answered

Form is blank in preview mode, but when I'm in edit mode the form is populated

Like (1) ShareShare
ReportReport
Posted on 24 Apr 2020 21:20:40 by 135

I have a form which is populated based on a gallery.  The data source is sharepoint.

 

The gallery's name is TimeGallery.  The Sharepoint list is named ChargesTime.  The form's data cards are set to display the following:  "TimeGallery.Selected.StartTime".

 

In edit mode everything seems to work.  If I press Alt + whatever to interact with the form everything works.  But when I click the preview button the form just disappears, completely. 

 

Anyone else had this happen?  

Categories:
  • AndrewValenzuel Profile Picture
    135 on 24 Apr 2020 at 21:44:32
    Re: Form is blank in preview mode, but when I'm in edit mode the form is populated

    For anyone having the same problem:  The "Items" property of the whole form is what needs to be set to "TimeGallery.Selected".

     

    I had changed the default value of every data card to "TimeGallery.Selected.(item name)".

     

    Thank you for your help.

  • Verified answer
    eka24 Profile Picture
    20,921 on 24 Apr 2020 at 21:34:15
    Re: Form is blank in preview mode, but when I'm in edit mode the form is populated

    The Mode of the Form determines whether Data should show or not.

     To show data on form, there should be record in the Table.

    After the Insert 2 buttons, 1 for New and other for Edit.

     

    OnSelect of the Buttons put:

     EditForm(YourFormName)  -- This will show data on the form not blank.

     NewForm(YourFormName)  -- This will enable enter new data

     

    Can you change the "TimeGallery.Selected.StartTime" to TimeGallery.Selected

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

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started