cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rlmckean
Helper IV
Helper IV

A Sharepoint list will not work in gallery and I am at a standstill !!

Hi All

Due to issues with Azure back end I have now exported my Access WebApp to sharepoint lists. 

 I have managed to get various bits working however I have a sherepoint list that contians many to many relatiionships and When I use it as a gallarye content it will only display on record. The gallery works fine for other lsists but not this one. Without it I cant manage my relatoinships !!

Currently at a standstill - Has ony one any ideas.

As an aside, sharepoint does nto support lookups,  So when I view the imported data for the rogue list, two lookup fields are not shpown in list view in Sharepoint. Howeverr i can access the data for these fields and they display in Power Apps - How does this all work ??????

 

Cheers

richard

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Rlmckean,

 

I am trying to reproduce your issue on my side.

 

I create a new Access table then I move data to SharePoint list.


But when I create an app based on the list, on the gallery I can see all the items in the list(for a test, I add 8 items in the list).


I am not sure with the data source, please show me a screenshot of your data source for better understanding.

3.PNG

 

About the ClearCollect function, it seems that only 5 items can be shown on the Collection. But when you show the collection data to a Gallery control, you will find that you can get all the data.


Please try it to show the collection data on a Gallery to see if you could get all the data.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi rlmckean,

 

When you try to show data on a gallery based on the list which contains many to many relationship, do you get any error messages?


I am afraid that many to many relationship might not be supported in PowerApps. So there would be no data shown on the gallery.

 

From this documentation we know that Lookup column(single value only) is supported now, please check this link for a refence:
https://powerapps.microsoft.com/en-us/tutorials/connection-sharepoint-online/

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mabel

Sorry - My original question was maybe not explicit enough - Firstly a brief bit of background !

I have been using Access Web Apps and have to turn to Powerapps as microsoft is closing it down !. I started by adding a connection to the azure database wich was very slow, and then I heard about the Access web apps data being closed soon. So I exported all the data from Web Apps to sharepoint. This has created some problems as some lookup fields do not display in the sharepoint list, but are available for selection in the Power Apps connection !. 

I initially exported a table Quoteclient to excel and then imported to CDS. I eventually got this functioning as I wanted so I tested with the azure connection, the gallery worked fine (but  with limited functions) and  showed all records. The table holds data but also a number of fields that hold IDs for related tables ( the many to many connections mentioned in original message) .

 

However when connecting to the sharepoint lists, this particular table gallery will only show one record ( Listing left) whilst others work fine.  On the left is the gallery from Quotedata list and on the right    is a galleryfrom a table with the same Quote numbers

single item.JPGCapture.JPG

 

I have a secodary major issue which may or may not be related. I cannot get a collection to give more thn 5 records from any share point list - and sometimes only one. 

Using this for the collection ClearCollect(newtest,quoteclient)

my collection is as follows :

 

Capture.JPG

Note the quote no 514 - again only one record. 

Now if I do a similar clearcollect from the list that holds the data in the right hand gallery above I get

Capture.JPG

Again only one record, but thistime a different quote number !! When using the original CDS dta connection, clearcollect was not an issue. 

I guess there is something in Sharepoint - could it be a permission issue ?

 

Currently at loggerheads !!

 

Thanks for listening 

 

Cheers

Richard

 

 

 

Hi Rlmckean,

 

I am trying to reproduce your issue on my side.

 

I create a new Access table then I move data to SharePoint list.


But when I create an app based on the list, on the gallery I can see all the items in the list(for a test, I add 8 items in the list).


I am not sure with the data source, please show me a screenshot of your data source for better understanding.

3.PNG

 

About the ClearCollect function, it seems that only 5 items can be shown on the Collection. But when you show the collection data to a Gallery control, you will find that you can get all the data.


Please try it to show the collection data on a Gallery to see if you could get all the data.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Many thanks Mabel

I have now tried this with a sample lsit and can replicate what you have shown. This gives me some confience in the basic system. However i have gor issues with my data and am currently normailising it all to test again

Many thanks

 

Richard

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (3,960)