New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On-Premises Support to modernize to SP Online #154
Comments
I've got some time Monday and Friday to looking into this in more detail. I'll see if i can list out the code changes or impact to any re-write to get this working. To note from the recent community call in your demo @jansenbe , Vesa mentioned a WSP solution that could be used to install to provide a way to connect to server side for the transform, logging here for further consideration. The code adjustment could be similar Approach 2. |
Approach 1 is an option - managed to perform a SP2013 to SharePoint Online modernization in a quick test with a small number of tweaks to the ConvertTo-PnPClientSidePage PnP cmdlet - by essentially just adding a second connection param for target, instead of Target URL, then install the cmdlets compiled for Online on the On-Prem box. There are some caveats, we can discuss after the conferences. Approach 2 will def be a major change. Again we discuss later. Thought id update on progress :) |
very cool!
…On Tue, May 21, 2019 at 3:40 AM Paul Bullock ***@***.***> wrote:
Approach 1 is an option - managed to perform a SP2013 to SharePoint Online
modernization in a quick test with a small number of tweaks to the
ConvertTo-PnPClientSidePage PnP cmdlet - by essentially just adding a
second connection param for target, instead of Target URL, then install the
cmdlets compiled for Online on the On-Prem box. There are some caveats, we
can discuss after the conferences.
[image: Conversion-test-2019-05-21_08-33-54]
<https://user-images.githubusercontent.com/8781041/58076971-79829f00-7ba3-11e9-94c3-0e93e909ac6c.jpg>
Approach 2 will def be a major change. Again we discuss later.
Thought id update on progress :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#154>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASNDHHIUHYVDPWC3L5ROLLPWORQJANCNFSM4HMWVPIQ>
.
|
That's indeed very exciting! Let's see to get option 1 available for our next release, even if it's just a 'preview' as that will enable more folks to test this |
@jansenbe the trick is to connect an SharePoint Online PnP PowerShell release to the on-premises servers because the transformation tool depends on client page object which in PnP-sites-core is not included in 2013/2016 releases. This is only used when using the target connection. Does that break any PnP rules for use in this way? I can provide sample script to get going and a submission to PnP-PowerShell, where would be the best place for the sample script? |
The minor code change to PnP also enabled cross-tenant transformation e.g. Source Publishing Site in Tenant A with target communication site in Tenant B. I remember someone mentioned whether this is possible in a community call. |
Sample script: # This sample runs direct from a SharePoint 2013 box with a basic publishing site and a page with an image - asset transfers work.
# Target Tenant Connection - must be SPO and modern site
$target = Connect-PnPOnline https://<target-tenant>.sharepoint.com/sites/targetsite -Credentials CaPaDevTest -ReturnConnection
# Source Connection
Connect-PnPOnline http://portal2013 -CurrentCredentials
Get-PnPWeb
# Must have SkipItemLevelPermissionCopyToClientSidePage as two environments may not have knowledge of each others users.
ConvertTo-PnPClientSidePage -Identity "article.aspx" -PublishingPage -TargetConnection $target -SkipItemLevelPermissionCopyToClientSidePage -LogVerbose -LogType File -LogFolder c:\temp |
Quick Update,
Enjoy Collab Summit :) |
I do have SP2013/2016/2019 up and running as well, once the Collab Summit is over I'll have some more time for this. But looking really promising :-) |
Ok I have fixed some core issues blocking transform e.g. custom layouts, analyser and folders so can now do early PR, I have done some testing on existing transform scenarios which in my setup, work. |
Closing this issue now @pkbullock as the key bits and pieces are checked in. I've added some new on-premises related issues for further tracking. Feel free to add more issues if there's something you would still need for on-premises support. |
Category
[ ] Bug
[X] Enhancement
Expected or Desired Behavior
I would like the option to transform directly to SPO without needing to hop with a 3rd party migration tool to SharePoint Online. This applies to publishing portals.
Approach 1
Idea
Challenges
Opportunities
Approach 2
Idea
Challenges
Opportunities
Discussion Points
Def further investigation or POC needed to validate this approaches
Moving the classic portal from on-prem to online does have its advantages to:
@jansenbe I've encorproated your feedback from discussion around the topic.
The text was updated successfully, but these errors were encountered: