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 / Loading issue with Sha...
Power Apps
Answered

Loading issue with SharePointIntegration.SelectedListItemID

(0) ShareShare
ReportReport
Posted on by 9

I'm modifying shrepoint form with power apps. 

 

Set(
SelectedWorkOrder,
If(
IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),
First(WP_WORequest),
LookUp(WP_WORequest,ID= SharePointIntegration.SelectedListItemID)
)
);

YoungbinLee_0-1674000652728.png

 

I use this code as recommended to load the item on the form. (the Form's item refers to 'SelectedWorkOrder')

But when users open this form to view or edit, it shows 'First' item as it failed to load the proper item.

Sometimes the screen stuck with the message 'the data is loading... (something like that?)' and no form displayed.

 

Can this be a bug? Or do I need to do something differently?

 

Currently, I'm asking users to do use 'reload button' I added. This button just does the same thing, set the variable.

Please help!

 

Categories:
  • Verified answer
    YoungbinLee Profile Picture
    9 on at

    I don't know why I can't remove this. But I solved the problem!

    The problem was I was checking 

    IsBlank(SharePointIntegration.Selected)

    when it should be 

    IsBlank(SharePointIntegration.SelectedListItemID)

    Very stupid mistake.... Hope some finds it helpful. 😂

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard