Git Product home page Git Product logo

Comments (7)

robertcaretta avatar robertcaretta commented on July 21, 2024

Is this still in development? Just curious. I was researching ways to handle this scenario.

from flowpowerappsmigrator.

Zerg00s avatar Zerg00s commented on July 21, 2024

hi @robertcaretta,

I am still looking into this issue. but it's a problem I can't figure out yet. It used to work fine until around February. And I don't yet know what to do about it. I still hope I can find a way.

Of course, if someone can help with it - I will gladly accept this help 🙂

from flowpowerappsmigrator.

kvadratnymedved avatar kvadratnymedved commented on July 21, 2024

hi @Zerg00s,

For me PowerApps List Forms migration works just fine, but only if I create lists directly in the destination Site Collection.
If I use the "Migrate Lists" feature from your script then I get an error message during the import saying

"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."}}}'. "

Up to my research it really seems that migrating a list with your code somehow also copies the information about the assigned form. As when I go to Form Settings menu of the migrated list and click "Customize in PowerApps" it takes me to the already existing app of the source list (instead of creating a new app for the migrated list).

from flowpowerappsmigrator.

Zerg00s avatar Zerg00s commented on July 21, 2024

Hi @kvadratnymedved,

seems that migrating a list with your code somehow also copies the information about the assigned form

Wow. Thank you very much. This is a very valuable observation! I just tested it and I confirm the same result.

Let me also do some experiments today. I want to have a look what the "Migrate Lists" feature does to break the form.

Now I have a very good chance to finally make the Form migration work again.

from flowpowerappsmigrator.

amariak avatar amariak commented on July 21, 2024

I was able to get the Sharepoint Lists that had customized PowerApps Forms migrated using Migrate Lists and export & import of the apps.

Prior to entering credentials for the target environment, I modified Lists.xml and removed 3 lines for PropertyBagEntries for each list that had a PowerApps Form associated with it. Once this was done, I continued with the script to import the lists into the target environment and convert the apps in src. All finished with no issues and when importing the apps as Canvas Apps it also did so with no issues. At which point I just opened the form by clicking Open App, saving & publishing it.

Seems like the Move-Lists.ps1 script is adding PropertyBagEntries in which powerapps information exists which is causing this error. I tried using "-ExcludeHandlers PropertyBagEntries" in get-pnpprovisiongtemplate, but that caused other issues.

from flowpowerappsmigrator.

Zerg00s avatar Zerg00s commented on July 21, 2024

@amariak,

Thank you very much! You probably saved me many hours of work with this tip. Let me fix it. I might be able to publish an update tonight.

from flowpowerappsmigrator.

Zerg00s avatar Zerg00s commented on July 21, 2024

@amariak , thank you for your help. I have published a new release with credits to you and updated the readme file to include the instructions on how to migrate SharePoint List forms customized with Power Apps

from flowpowerappsmigrator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.