cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

PowerApps opening wrong list item from SharePoint

Hi,

When I am selecting from a SharePoint list to edit an item, Powerapps will always open the top item of the SharePoint list.

 

Any way to fix this?

 

Craig

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Regular Visitor

Re: PowerApps opening wrong list item from SharePoint

Hi,

I had faced similar kinda issue in my powerapps. I have tried aplying the below Rule as workaround,

 

If(IsBlank(SharePointIntegration.SelectedListItemID) || IsEmpty(SharePointIntegration.SelectedListItemID),First('[DataSource]'),First(Filter('[DataSource]',ID=SharePointIntegration.SelectedListItemID)))

 

After applying the Rule it started working for me. 

 

View solution in original post

9 REPLIES 9
Highlighted
Super User II
Super User II

Re: PowerApps opening wrong list item from SharePoint

Did you generate the PowerApp from the SPList to get started or are you creating from a blank PowerApp and adding the SPList to the app? I ask because the PowerApps generated SPList app wires everything up for you and I have never experience an issue with the selected item not working as expected.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Highlighted
Anonymous
Not applicable

Re: PowerApps opening wrong list item from SharePoint

Hi Jeff,

 

I generated it from the SP list itself. I've done it this way a couple of times myself with no issue. 

I've had a read online and there is not much to go by apart from perhaps the 'Item' field picking up the wrong field?

 

Thanks

 

Craig

Highlighted
Anonymous
Not applicable

Re: PowerApps opening wrong list item from SharePoint

Can anyone advise what my settings should look like perhaps on the SharePoint Integration page to cater for this?

Highlighted
Anonymous
Not applicable

Re: PowerApps opening wrong list item from SharePoint

@audrieg @v-micsh-msft @v-monli-msft @Meneghino Can any of you advise on how to link PowerApps to a selected SharePoint list field please? My app is currently only every loading the very first SharePoint list item.

 

Thanks

Highlighted
Community Champion
Community Champion

Re: PowerApps opening wrong list item from SharePoint

Hi @Anonymous, it would seem that the issue is with the Item property of whatever is opening when you select an item. Could you please share the OnSelect property of the gallery/item selector and then also the closest thing to the item property of the object that should display your item?
Highlighted
Regular Visitor

Re: PowerApps opening wrong list item from SharePoint

Hi,

I had faced similar kinda issue in my powerapps. I have tried aplying the below Rule as workaround,

 

If(IsBlank(SharePointIntegration.SelectedListItemID) || IsEmpty(SharePointIntegration.SelectedListItemID),First('[DataSource]'),First(Filter('[DataSource]',ID=SharePointIntegration.SelectedListItemID)))

 

After applying the Rule it started working for me. 

 

View solution in original post

Highlighted
Frequent Visitor

Re: PowerApps opening wrong list item from SharePoint

Thanks for the fix. After applying condition in form >> advanced properties, it worked for me.

Highlighted
Helper I
Helper I

Re: PowerApps opening wrong list item from SharePoint

This issue has just arisen for me as well. Can you advise where you loaded the condition

Highlighted
Helper I
Helper I

Re: PowerApps opening wrong list item from SharePoint

Did you get any response where to set this condition ?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,767)