Forum Discussion
power-apps-user2
Sep 08, 2023Copper Contributor
create view in sharepoint like sql view
I am creating a PowerApps application where I've 3 SharePoint List 1)List-1, 2) List-2, 3) List-3 as a PowerApps Forms. When User Submit request within any of this 3 List then data should be s...
SvenSieverding
Sep 11, 2023Bronze Contributor
Hi power-apps-user2
You could just create a new collection and load the results from all three lists into that like
ClearCollect(SharePointListView,`List 1`);
Collect(SharePointListView,`List 2`);
Collect(SharePointListView,`List 3`);Put that into "App.OnStart"
Then set the collection "SharePointListView" as the items property of a gallery to display all items from the three lists.
If you add an item to any of the SharePoint Lists using a form then also put these three lines in the "onsuccess" property of each form.
Best Regards,
Sven