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 / SharePointintegration ...
Power Apps
Answered

SharePointintegration Delegation problem when looking for listitem

(0) ShareShare
ReportReport
Posted on by 28

Hello,

I get a delegation issue when I want to look for a listitem and load it into a collection.

 

In SharePointIntegration - OnView I use folowing code:

ClearCollect(ColFormItem;LookUp(DesignForms;ID = SharePointIntegration.SelectedListItemID))

 

My list is going to be lager than 2000 items.

I get a warning on the '=' operator and on the SelectedListItemID

 

Any ideas?

Thank you in advance

Categories:
  • Verified answer
    Sgalle Profile Picture
    28 on at

    I found a solution on the forum.

    I changed my code to following:

    ClearCollect(ColFormItem;With({TempID: SharePointIntegration.SelectedListItemID};LookUp( DesignForms;ID = TempID)));;

     

    Strange my app never complained, but this solved the issue.

  • prateekmangal30 Profile Picture
    2 on at

    This issue is started appearing few days back only and it is with new release only. If you downgrade the release version then you will not get this issue.

    Workaround is like you need to store the value of SelectedListItemID first in variable then you need to use the variable. 

    Set(vSharePointID,SharePointIntegration.SelectedListItemID);
    LookUp(SharePointList,ID=vSharePointID);

    OR

    With({vSharePointID:SharePointIntegration.SelectedListItemID},LookUp(SharePointList,ID=vSharePointID));

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard