I have a canvas app and am currently using SharePoint as my datasource. The original intention was to use Dataverse or another Database system, however due to the pandemic that solution is currently on hold.
I have 3 main SharePoint Lists, a 1-1 relationship exists between all 3 using Item No as the key.
The lists currently contain 2650 rows, with the potential to grow.
I need a gallery that holds fields from all 3 lists and allow the user to also filter on some of these fields, which of course are spread across the 3 lists.
Currently I am creating 3 collections for each list using @WarrenBelz code found here
I then create a 4th collection by using the AddColumns function to my first collection.
This is obviously quite slow , so was wondering if there is a more efficient way of performing this action. We do not want to revert toa single list with all fields as we still intend to migrate over to the dataverse at some point and various other integrations are happening elsewhere which use just one of these lists.
Sample lists and gallery is below
List 1
Item No | Description | Required | Status | Type |
DMO0100 | Demo Programme | True | Live | Programme |
DMO0110 | Demo Project | True | Live | Project |
DMO0200 | Another Programme | True | Live | Programme |
DMO0220 | Another Project | False | Withdrawn | Project |
List 2
Item No | Delivery Area | Function | On Site | Project Manager |
DMO0100 | Civils Engineering | Engineering | Ye | Bob |
DMO0110 | Civils Engineering | Engineering | Yes | Bill |
DMO0200 | West Side | Finance | No | Jill |
DMO0220 | West Side | Commercial | No | Jane |
List 3
Item No | Sub-Contracted | SC Detail |
DMO0100 | No | |
DMO0110 | Yes – In House | Bobs Team |
DMO0200 | Yes - Contractor | Safety r Us |
DMO0220 | Yes - Contractor | We Dig Holes |
Gallery
Item No | Description | required | Status | Type | Delivery Area | Function | On Site | Project Manager | Sub-Contracted | SC Detail |
DMO0100 | Demo Programme | True | Live | Programme | Civils Engineering | Engineering | Yes | Bob | No | |
DMO0110 | Demo Project | True | Live | Project | Civils Engineering | Engineering | Yes | Bill | Yes – In House | Bobs Team |
DMO0200 | Another Programme | True | Live | Programme | West Side | Finance | No | Jill | Yes - Contractor | Safety r Us |
DMO0220 | Another Project | False | Withdrawn | Project | West Side | Commercial | No | Jane | Yes - Contractor | We Dig Holes |