Hi,
I have a canvas app to manage projects. I have a projects table and document table in Azure SQL, each project has multiple documents. Currently the documents table in SQL is only storing the ID of the document. The document itself is being stored on SharePoint then I'm using a lookup to pull the correct documents in the app.
The issue is I have multiple places in the app where I need to pull a gallery or selection of images with specific filters and no matter what I try I always hit delegation issues when building the lookup query to SharePoint. For now this is okay but soon the number of documents will be greater than 2000 and then it will cause issues when files are not loaded.
I've been trying to think about the best way to solve this but there seems to be many conflicting opinions. Should I just store all the document files in SQL and use the app to upload & manage directly, will this work the same way it does today with SP? Is there anyway to get a 'SP-style' management of the docs if they are stored in SQL? Should I leave the files in SP and then use flow to sync them to SQL?
Looking for advise here on which direction to go.
Thanks
Sam
WarrenBelz
936
Most Valuable Professional
Michael E. Gernaey
375
Super User 2025 Season 2
MS.Ragavendar
330
Super User 2025 Season 2