web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Managing single Canvas...
Power Apps
Unanswered

Managing single Canvas Application across multiple Solutions

(0) ShareShare
ReportReport
Posted on by 6

So here is my problem I'm hoping you lovely people can help with.

 

I have an UnManaged Environment with a Solution called Master App. Inside this solution is a Canvas App and two environment variables. 1 for a SharePoint site and 1 for a SharePoint list. The canvas app is linked to the SP site and list via these variables.

 

I have a flow that exports the solution and imports it as a template into the same environment with a prefix. ie. Location1_Master_App. I can use the flow to create more locations and link the variables to different SP lists of my choosing. The idea being that I have one canvas application duplicated multiple times but they all link to different SP lists. This part is working perfectly.

 

My problem comes when I update the Master Canvas application and then I want to copy just the application to the other Solutions. I.e Copy Master Canvas to Location1, Location 2 etc. I'm using the Dataverse Unbound Action  - ImportSolution function in Power Automate but I cannot get it to overwrite the application. Does anyone have any ideas in PowerApps where I can Save the Master App overwriting Location 1, 2 etc without having to use the Save As function each time. I could potentially have 100 locations and I'm looking to save to each Solution fast.

 

Hope this makes sense. Thanks

I have the same question (0)
  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @KevinSquirrels,

     

    How do you link the environment variables to the different Locations in your app copies? Potentially you could also do this using PowerShell, for example, in combination with the unpack/pack solution actions by directly modifying the app's source code.

    If I understand you correctly, the problem is that the changes you make in your master app is not reflected in your "location" apps because the latest versions of these apps are not published/saved?

  • KevinSquirrels Profile Picture
    6 on at

    Hey Joe, thanks for the response. The variables are linked manually which is fine. I'm looking for a quick way of changing the Canvas app design and saving as Master, then saving a copy of this application in multiple Solutions so they all see the changes i;ve saved, but they still have there own variables pointing to their SP site and lists.

  • Verified answer
    joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hm I think the most scalable (and imo only scalable) way would be to merge the code from your master app into your branch versions of the app. For example, you can merge the changes to source code on the screens, but leave the data sources in the branch versions untouched.

    This article should help you understand the structure of the unpacked .msapp file.

    I would do this using DevOps, but basically you can do this with every tool that allows you to edit and/or swap files.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard