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 / OnView ClearCollect no...
Power Apps
Unanswered

OnView ClearCollect not working properly

(0) ShareShare
ReportReport
Posted on by

I have this code in the OnView of SharePointIntegration:

 

Refresh('Raise a Purchase Order');ViewForm(SharePointForm1);
Set(MainGUID, SharePointIntegration.Selected.MasterID);
ClearCollect(GoodsColl,AddColumns(Filter('PO-item',MasterID=MainGUID),"EditItem",true))

 

which pulls line-items from another SP list for that submitted form. However this code no longer works on the latest PowerApps release, it does work in earlier versions. Is this just a bug or is there any way of fixing this. I'm not sure whether it's failing to pull MasterID from the selected item, or whether it's just another issue, as monitor is not working for me. I have implemented a (messy) workaround, which runs this code again after about a second, and that works fine, so I think it's another issue but I'm not sure what.

Categories:

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard