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 / Getting stuck when edi...
Power Apps
Unanswered

Getting stuck when edit form is opening displaying "No items to display" or "Getting your data.." error

(0) ShareShare
ReportReport
Posted on by 144

Hi Team,

 

When I try to open and edit an item (database is SharePoint list) listed in a Gallery, I am facing slow loading issue or else "No items to display" error or get stuck in "Getting your data..."

Below are the codes I have written in my application.

 

I have edit icon in Gallery control, for which OnSelect code is

 

Patch(AllocationList,ThisItem,{ApprovalID:EditAlloRef.Text});Refresh(AllocationList);
ResetForm(AllocationForm);EditForm(AllocationForm);UpdateContext({EditAllocationForm:true});UpdateContext({AlloList:false})

where EditAlloRef is label hidden, for which the Text prperty is set as below

"APP"&Value(Mid(Last(AllocationsApproval).Title,4,Len(Last(Sort(AllocationsApproval,Title)).Title)))+1

 

When selected it opens a pop up having Allocation Form in edit mode, for which below code is the Item property

LookUp(AllocationList,ApprovalID="APP"&Value(Mid(Last(AllocationsApproval).Title,4,Len(Last(Sort(AllocationsApproval,Title)).Title)))+1)

Where Datasource is AllocationList.

 

Please help in getting this issue solved.

 

Thanks,

Harisha

Categories:
  • Akser Profile Picture
    1,546 Moderator on at

    To start with, you can get rid of the Refresh action as PowerApps does that for you (assuming the gallery's items refers to AllocationList). 

  • HarishaAkkil Profile Picture
    144 on at

    I tried removing the Refresh code in the Gallery edit icon. But no improvement.

  • Akser Profile Picture
    1,546 Moderator on at

    Did you try the 'Monitor' option to see which action takes the most time? 

  • HarishaAkkil Profile Picture
    144 on at

    Hi @Akser,

     

    I have Monitored the application, I see that while opening the form AllocationForm, a warning message has been displayed below.

     

    Monitor Error.JPG

     

    Is this something I change with my lookup code? Could you please help me with this?

     

    Thanks,

    Harisha

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard