I was a brick in the company, so I was asked to do powerAPP just a few days after SharePoint was built. During the development process, I was wondering how to transfer my APP.

Complete the pre-creation of a SharePoint List with the same name on the target site, with the same name and List item data

I’m using SharePoint LIst as the data source as an example, but the other data sources have only minor variations.

1. Export the Power APP

Power App -> file ->See all Versions

Find the export zip,

Modifying import Options

Import Settings to modify to new, the following operation should also click the small wrench icon to modify to New, and finally choose Export.

2. Create an identical SharePoint list on the target site

Be sure to do this step, it will reduce the work later

Create identical SharePoint lists. If you have access to both sites, you can simply create a new list from an existing list.

3. Modify the Power APP package

Let’s go back to the exported zip package of the first step, in fact, we can only modify the JSON file inside, we can unzip the package, and then find the innermost JSON file, modify

 "embeddedApp": {
     			// Change the three values siteID ListID ListURL
                "siteId": "Target site"."listId": "1b267d74-33d3-463a-998f-3da8f4747d05".// The list ID
                "listUrl": "List address of target site"."type": "SharepointFormApp"."screenWidth": 1000."screenHeight": 2160
            },
Copy the code
  • Modify the data source as needed

    "dataSets": {
                  // Modify the data source
                            "https://volvogroup.sharepoint.com/sites/proj-udmsoffice365-dev2": {
                                "dataSources": {
                                    "LogisticsForm": {
                                        "tableName": "1b267d74-33d3-463a-998f-3da8f4747d05"}}}},Copy the code

4. Apply it to the environment

Now close all the pages and open this link :make.powerapps.com/ select APP and go import

Possible problems

  • An error may occur in the imported APP. This is normal and can be resolved by refreshing the data source and then restarting your PowerApp
  • The new PowerApp customization form was not available on the List. Go to SharePoint’s List Settings and select enable the PowerApp Customization Form
  • The list name, column name, etc., is inconsistent, or the JSON file is modified incorrectly. Modify the JSON file again to solve this problem.

OK has not written for a long time. These days, I have been worrying about how to make PowerApp. My understanding of PowerApp is getting better and better.