
Hello,
I have a sharepoint list and a custom powerapps form (not application) associated with it.
I may need to delete the sharepoint list and re-migrate it (from SP2013 to SPOnline)
My question is, if I delete the list will the custom form also be deleted or can it be re-associated with a new list (with the same data columns). I am hoping the form will not be deleted as it took me a long time to develop.
Many thanks for any advice.
It will be disconnected, and eventually deleted.
I would recommend saving it locally - from inside the editor, go to the variables via the ellipsis:
Then view the versions:
Then Export,
Then extract the .zip locally and open it, update the listID values in the .json with the new list's GUID (assuming its staying on the same site, otherwise update site as well),
Then open a PowerShell cmd within the top-level folder to recombine the files using PowerShell:
$AppName = Read-Host "What is the name of your App?"
Compress-Archive -Path ".\*" -DestinationPath $AppName".zip" -Update
Then take this output file and use Power Apps' import function - the target list will need to not have a custom form currently, it must be deleted if it exists, and once you've imported it, you can choose to customize the form from the list and it should open up the modified app.