Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Updating canvas app to point to environment specific SharePoint list

Hi All,

I am quite new to Powerapps.

I am working through a specific scenario where I have a Powerapps canvas app with a SharePoint list as a data source. I'd like to keep my apps separate for Dev, test and Prod environments. In SharePoint Online, I have got a corresponding list in three different subsites within a site so I can retain the same data source name.

As I export and import apps across environments (or through solutions), I see no apparent way of passing an environment config for the SharePoint list url corresponding to the site. There also doesn't seem to be a way to dynamically update the data connection to point to a different URL.

Given this, my ugly workaround is to go in each app after updates, remove the existing data source connection and add a new connection to the SharePoint list corresponding to the new environment.

I am hoping I am missing a basic step here and people on the community might have come across this before. Any help is appreciated.

Helpful resources

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.

Users online (2,321)