Hello,
I have a canvas app with multiple screens that reference the same datasource. I haev a Dev Sharepoint list that I use to test new features that are to be added to the app. Is it possible to have a variable set for the datasource so I can change the datasource in one location that will update across the app?
I have a text label that I use to put the version set to a variable so I can update it in one location.
I have tried it and using 'Set(varData, datasource) works but adding the variable does not bring up the data (ex: a dropdown that searches the SP list).
If the datasource is SharePoint, Dataverse, or SAP then you can use an Environment Variable for the data source. But other than environment variables there is no way to use variables to manage data sources. You can read about environment variables here: Use environment variables in solutions - Power Apps | Microsoft Learn
WarrenBelz
146,513
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,688
Most Valuable Professional