Comments (15)
Hi @usharanipn,
The February version has been released. Please follow the update instructions in here https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps#updating to get the latest and then retry your scenario. The probem should be resolved, hence I'm closing this is issue. If you still see that problem then please re-open this issue or create a new one.
from modernization.
I fallowed the above url for connect to my tenant still same errors as above
from modernization.
@colonelclaypoo can you try:
Site settings > Manage Site Features,
Then ensure 2 features are enabled:
- "site pages"
- "sharepoint server publishing".
I sometimes get errors when modernising pages and a lot of the time, enabling these 2 features solves them.
I wish it was a microsoft employee giving this guidance and not me..... but here we are
from modernization.
@jansenbe are you seeing this? would be nice if this issue could be taken up by someone who is actually employed by microsoft................................ Whether that means clarifying the PNP exception, updating the documentation, any action really.
You have been receiving a lot of feedback on this active issue which you closed
from modernization.
Hi @usharanipn ,
Can share the output of below commands immediately after you've received the error:
- The output generated by calling
Get-PnPException
- The PnP PowerShell version. Run
get-module -Name SharePointPnPPowerShellOnline
and copy the version info
from modernization.
Also note that pages can only be transformed when they live in the sitepages library.
from modernization.
Page live in the sitepages library
Message : Exception has been thrown by the target of an invocation.
Stacktrace : at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig,
Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters,
Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder
binder, Object[] parameters, CultureInfo culture)
at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.ExecuteMethod(Object
functionClassInstance, FunctionDefinition functionDefinition, MethodInfo methodInfo)
at SharePointPnP.Modernization.Framework.Functions.FunctionProcessor.Process(WebPart&
webPartData, WebPartEntity webPart)
at SharePointPnP.Modernization.Framework.Transform.ContentTransformator.Transform(List`1
webParts)
at SharePointPnP.Modernization.Framework.Transform.PageTransformator.Transform(PageTransformation
Information pageTransformationInformation)
at SharePointPnP.PowerShell.Commands.ClientSidePages.ConvertToClientSidePage.ExecuteCmdlet()
at SharePointPnP.PowerShell.Commands.PnPCmdlet.ProcessRecord()
ScriptLineNumber : 21
Name : SharePointPnPPowerShellOnline
Path : Drive:\Users\username\AppData\Local\Apps\SharePointPnPPowerShellOnline\Modules\SharePointPnPPowerSh
ellOnline\SharePointPnP.PowerShell.Online.Commands.dll
Description : SharePoint Patterns and Practices PowerShell Cmdlets for SharePoint Online
Guid : 8f1147be-a8e4-4bd2-a705-841d5334edc0
Version : 3.5.1901.0
ModuleBase : Drive:\Users\username\AppData\Local\Apps\SharePointPnPPowerShellOnline\Modules\SharePointPnPPowerSh
ellOnline
ModuleType : Binary
PrivateData : {PSData}
AccessMode : ReadWrite
ExportedAliases : {[Add-PnPPnPProvisioningSubSite, Add-PnPPnPProvisioningSubSite], [Add-PnPProvisioningSequence,
Add-PnPProvisioningSequence], [Add-PnPProvisioningSite, Add-PnPProvisioningSite],
[Apply-PnPProvisioningHierarchy, Apply-PnPProvisioningHierarchy]...}
ExportedCmdlets : {[Add-PnPApp, Add-PnPApp], [Add-PnPClientSidePage, Add-PnPClientSidePage],
[Add-PnPClientSidePageSection, Add-PnPClientSidePageSection], [Add-PnPClientSideText,
Add-PnPClientSideText]...}
ExportedFunctions : {}
ExportedVariables : {}
NestedModules : {}
from modernization.
We used to have an issue with pages living in the root site collection of the tenant. Is this page living in the root site collection? Does have an XLSTListViewWebPart on it? Do other pages transform OK?
Can you share the output of get-module -Name SharePointPnPPowerShellOnline
from modernization.
Yes for both questions. In Root level Simple Wiki page or site page transforming but if the sitepage contains XLSTListViewWebPart then throwing error .
If sitepage in site collection and sitepage contains XLSTListViewWebPart getting error
ConvertTo-PnPClientSidePage : Column 'CanvasContent1' does not exist. It may have been deleted by another user.
/sites/ven1/SitePages
At line:21 char:1
- ConvertTo-PnPClientSidePage -Identity $page.FieldValues["FileLeafRef" ...
-
+ CategoryInfo : WriteError: (:) [ConvertTo-PnPClientSidePage], ServerException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.ClientSidePages.ConvertToClientSidePage
If sitepage in sitecollection and site page contains nothing giving error below
Modernizing Normal_Page.aspx ...
ConvertTo-PnPClientSidePage : Column 'ClientSideApplicationId' does not exist. It may have been deleted by another
user. /sites/ven1/SitePages
At line:21 char:1
- ConvertTo-PnPClientSidePage -Identity $page.FieldValues["FileLeafRef" ...
-
+ CategoryInfo : WriteError: (:) [ConvertTo-PnPClientSidePage], ServerException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.ClientSidePages.ConvertToClientSidePage
PS C:\windows\system32> get-module -Name SharePointPnPPowerShellOnline
ModuleType Version Name ExportedCommands
Binary 3.5.1901.0 SharePointPnPPowerShellOnline {Add-PnPApp, Add-PnPClientSidePage, Add-PnPClientSidePageS...
from modernization.
Your issue should be fixed in the Feb release, which will come out by next week Monday
from modernization.
I have the same problem.
I am on version:
Version : 3.10.1906.0
and I am getting the error:
ConvertTo-PnPClientSidePage : Column 'CanvasContent1' does not exist. It may have been deleted by another user. /SitePages
At line:1 char:1
- ConvertTo-PnPClientSidePage -Identity "home.aspx" -overwrite
-
+ CategoryInfo : WriteError: (:) [ConvertTo-PnPClientSidePage], ServerException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.ClientSidePages.ConvertToClientSidePage
This is the home page at the very top level of the site collection for our tenant, too.
from modernization.
I'm having the same issue for Home page modernization. Could you please help us to resolve this issue?
from modernization.
Hi @jansenbe, Could you please check this issue?
from modernization.
@jansenbe, tried page transformation today for the first time and I encounter this very error as well. However, not for alle sites that I want to modernize the classic homepage for.
Get-PnPField for the Site Pages library actually shows me that this column does not exist for the affected site collections. Might there be a site or site collection feature that is required for this column to be created?
Thanks.
from modernization.
@colonelclaypoo can you try:
Site settings > Manage Site Features,
Then ensure 2 features are enabled:
- "site pages"
- "sharepoint server publishing".
I sometimes get errors when modernising pages and a lot of the time, enabling these 2 features solves them.
I wish it was a microsoft employee giving this guidance and not me..... but here we are
Thanks, that did the trick.
from modernization.
Related Issues (20)
- LVWP for certain list templates is not converted HOT 1
- Not Supported??? HOT 1
- Errors when running SharePoint Modernization Tool HOT 2
- ConvertTo-PnPClientSidePage : Cannot bind positional parameters because no names were given.
- Permission required to Connect site to Group
- [BUG] _'0x0D' is invalid within a JSON string. The string should be correctly escaped. HOT 1
- [BUG] Content editor web part losing table format and images inside a table on editing the modernized page
- [BUG] - scanner tool hang and no progress
- Can not convert a publishing page to modern page using powershell HOT 1
- [BUG] - Getting Access Denied when running 2013 to Online Publishing Transformation
- Wiki pages are not getting converted
- Index was outside of the bounds of the array HOT 1
- [BUG] : ConvertTo-PnPPage: Could not find file 'PnP.Framework.resources' HOT 1
- Error when converting onPrem publishing pages to SPO: The given key 'Content' was not present in the dictionary. HOT 1
- [BUG] Embedded images referring to _layouts image files don't get correct height and width values
- [BUG]
- Error during modernization of Wiki page - 't' is invalid after a value. Expected either ',', '}', or ']'
- Mapping of HTML Form webpart containing iframe vedio is not migrating to modern site
- [ISSUE] ConvertTo-PnPPage copies Images into Site Assets Library with a different path to on prem
- Modernize BlogPost Onprem SP19 to SPO
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 modernization.