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 / SharePointIntegration ...
Power Apps
Unanswered

SharePointIntegration Edit form pulling first item but not the item selected.

(0) ShareShare
ReportReport
Posted on by 47

I have two Power Apps integrated forms working from two different SharePoint list (A & B). Both forms work and are identical but for some slight variations in dropdown item choices. 

In list 'A' everything works fine.

In list 'B' I have this issue.

When I open an existing entry from the SP list, the form opens with data from the first entry, not the one I selected. This happens no matter which past entry I choose. 

I have reviewed a number of articles and tested several variations to the Item property of the form, but I still get the same result. 

 

Currently using: If(IsBlank(SharePointIntegration.Selected) || false,First([@'SPListName13']),SharePointIntegration.Selected)

I have also tried;

- LookUp(SF-52 Promotions Up to GS-13,ID=SharePointIntegration.SelectedListItemID)

-  If( IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('SPListName13'), SharePointIntegration.Selected )

 

I have reviewed the working model and compared the two integrated form settings in good detail. Maybe I have been looking at this too long, but I am not seeing any variation between the two. But still, one works and the other doesn't. 

 

Any help would be greatly appreciated. 
Thanks.

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    hey @Darren11 

     

    is this happening in power apps studio while you are changing things or also when u run the app in "livemode"?

    when i did the same thing and modified the sharepoint form it always showed me an exiting entry while editing the app but when playing the app it was all fine

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Darren11 Profile Picture
    47 on at

    Hi mmbr1606,
    On both forms I can see the data while editing and changing things. However in List A this doesn't happen after publishing when I run the app. On list B, I get incorrect data when the app runs in "livemode".

    Do you have any suggestions to fix this?

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    hey @Darren11 

     

    if i dont see things wrong you are using the First function that takes the First entry from your datasource.

     

    do you use this code on both lists?

  • Darren11 Profile Picture
    47 on at

    Yes, I reviewed the function of both list to make sure I had the correct code on each form.

  • Darren11 Profile Picture
    47 on at

    Through further research, It appears that the form is not pulling the item ID. Therefore it's just pulling the first one. The questions is, How to make it pull the ID of the selected item?

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard