Hi,
We have a live SharePoint site “DSRequests” which contains a list “Requests”. I have written a PowerApp to manage how “Requests” works for the user (depending on entries they make). I need to make some changes to the PowerApp so we are trying to make a copy of it to use as a dev site. So far a colleague has made a copy of the Site – called “CTRequests” and copied the “Requests” list to ”RequestsCopyfromTemplate”.
The original site is “DSRequests” and the new CTRequests”. The original list name is “Requests” and the new “RequestsCopyfromTemplate”.
Following guidance online (https://poszytek.eu/en/microsoft-en/office-365-en/powerapps-en/importing-powerapps-package-as-a-shar...) I have exported the “Requests” lists PowerApp, (I change Import Setup to Create as new), edited the JSON file under Microsoft.PowerApps\apps\[numeric values] using http://jsoneditoronline.org/#left=local.lozale and saved the changes - as per the guidance.
I have tried updating the following: SiteID, ListID, ListURL, Table name, DataSets, DataSources in the JSON file but when I try to import the re-zipped file I get:
“You have already created an application with this name. Please specify a different name”.
I rename the application name to add a letter (A, B, C) at the end and try again. This time I get:
“The sharePoint request failed with error: '{"odata.error":{"code":"-1, Microsoft.SharePoint.SPConnectorException","message":{"lang":"en-US","value":"An App already exists for this list. Remove the existing App before adding a new one."}}}'. The tracking Id is …….”
So, is it possible to do what I am trying - export the PowerApp from one site and import it, with a different list name to a new site, with a different name, on the same tenancy? If so, where am I going wrong? If not, is there an alternative to copying and pasting code?
Any advice much appreciated
Many thanks
Alison
You should definitely give it a try! I recommend Visual Studio Code to edit the .JSON
To format the .JSON in Visual Studio Code, mark all with CTRL+A and format it with SHIFT+ALT+F.
User | Count |
---|---|
172 | |
90 | |
74 | |
69 | |
58 |
User | Count |
---|---|
213 | |
160 | |
98 | |
92 | |
73 |