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 / Forms that previously ...
Power Apps
Unanswered

Forms that previously worked properly stopped loading in the application.

(0) ShareShare
ReportReport
Posted on by 27

Some time ago I created an application with many forms related to SharePoint lists. It was fully functional and data began being entered into it. At some point, most of the forms stopped loading. They share a common default value for one of the controls, which is stored in a global variable, but so far this hasn't been a problem.

 

Aravial_0-1644075491580.png

 

 

What could be the source of the problem and how to solve it?

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Do you set any of the values you use in OnStart?  The behavior of variables set in OnStart has changed and values aren't guaranteed to be set when the app starts.  That might be related to the problem.

  • Aravial Profile Picture
    27 on at

    No, I haven't used OnStart anywhere. However, I have a few variables assigned to OnSelect, OnSucces, and OnReset. Can they also cause problems?

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    No, only the behavior of OnStart changed.  What is the DataSource and Item setting for the Forms where data isn't loading?

  • Aravial Profile Picture
    27 on at

    They use SharePoint lists as a data source. But as Item they have nothing.

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    For forms to work you need to have some designation in the item property of the form that identifies which record is bound to the form for editing.  The only time you don't need an Item property is if the form is in New Mode.  But that is only for creating new records.  To edit existing records the form needs to be in Edit mode and the item property needs to identify the form being edited.  This is normally done with something like GalleryName.Selected, which lets you edit the selected record in the gallery.  Check the mode on the form and add something appropriate to the item property.

  • Aravial Profile Picture
    27 on at

    I don't think that's the source of the problem. The screen is constructed in such a way that the indicated forms are always in the mode of adding a new record, and on its right side there is a gallery of entered records. The application does not provide the option of editing records, only deleting them.

  • Verified answer
    Aravial Profile Picture
    27 on at

    I found a solution. Adding "Refresh (DataSource) ;; NewForm (Form)" to the "OnVisible" form causes the data to load correctly.

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