Comments (11)
hi @BordyCCQ,
It must be a new bug in the latest version of my script. I am attempting to remove a couple of site columns from the Lists.xml. And as a result, it might make this XML file invalid. would it be OK if I ask you to share this Lists.xml file with me?
from flowpowerappsmigrator.
hi @Zerg00s,
Here's the file:
from flowpowerappsmigrator.
Thank you for sharing the XML file!
I am not yet sure how to fix this, but it seems that the issue is related to the & character in the taxonomy term for the UA0226 field:
It might be a little tricky to fix safely, but I need to experiment with escaping the & character in the XML.
Another workaround would be to somehow remove the & character from the source data source and then re-run the migrator.
from flowpowerappsmigrator.
@BordyCCQ , can you help me test a fix, please?
- Open the Move-Lists.Ps1 file
- On the line 109, replace the existing code with the following:
((Get-Content -Path Lists.xml -Raw -Encoding UTF8) -replace '<\?xml version="1.0"\?>', '' -replace 'RootSite', 'Web' -replace '(?<=\{[^}]*)\&(?=[^}]*\})', '&') | Set-Content -Path Lists.xml -Encoding UTF8
- Run the migrator again
If this runs successfully, I will release a new version with a patch.
from flowpowerappsmigrator.
@Zerg00s: Same error
I'll remove the & and retry with original .ps1
from flowpowerappsmigrator.
Now working OK!
I can rerun with the & if you want to test a new line 109
from flowpowerappsmigrator.
Yes, please! Re-run with the & character in place :)
from flowpowerappsmigrator.
... with same line 109 .ps1??
from flowpowerappsmigrator.
yes, with the updated line 109 :)
from flowpowerappsmigrator.
I did try the new line 109 with the & in the term set name and It crashed again same place.
I then put back the old line 109 and removed the & in the term set and the App worked OK!
UNTIL...
Still running on a 'fresh' new target SPO site (previous one had copy of list with content type existing - App stopped at CT already error exist).
---- And now stopped: Parent CT ID does not exist
I can see in the trace.log that the CT mentionned is an artefact of SP2010, migrated to SPO... Need to clean up the source SPO site before trying again.
I can test a new line 109 next week, with the & term set.
Thx again - tool seems very good!
from flowpowerappsmigrator.
I see. Thank you for trying it. I will need to find time to experiment with moving the taxonomy fields. I am not sure it works very well.
from flowpowerappsmigrator.
Related Issues (20)
- migrate to a subsite on the existing site HOT 2
- Trouble Migrating between Two Different Tenant Sites HOT 1
- Attempted to perform an unauthorized operation HOT 3
- [ERROR] The formula contains a syntax error or is not supported. HOT 1
- MFA Update - number matching HOT 2
- Error when running Migrate-Packages.bat HOT 6
- Fails to verify target URL HOT 4
- Apply-PnPProvisioningTemplate : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) HOT 2
- Forbidden access HOT 3
- [Error] List not found when using canvas app HOT 4
- Trailing forward slash HOT 2
- Word online (businsess) HOT 1
- Move-Lists.ps1 : You cannot call a method on a null-valued expression. HOT 10
- Importing solution: "SharepointChangeNotAllowed Message: The listId and siteId of SharePoint cannot be changed." HOT 4
- ISSUE: "Error opening file" "There was an error opening the file" HOT 1
- [Error] Invalid field name. HOT 3
- Apply-PnPProvisioningTemplate : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) HOT 3
- RunAllScripts.ps1 is not digitally signed
- Transfering to a list with a different name HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowpowerappsmigrator.