企业品牌:SharePoint Online的经典或现代体验 [英] Corporate Branding : Classic or Modern experience in SharePoint Online

查看:79
本文介绍了企业品牌:SharePoint Online的经典或现代体验的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我们已经购买了新的SharePoint在线E3许可证,现在,我们的任务是创建需要响应移动设备的公司门户着陆页.

Hi we already bought our new SharePoint online E3 license and we are now task to create our Company Portal landing page that needs to be responsive for mobile device.

我们现在正在做一些研发工作,但我们仍未决定我们应该使用经典体验还是现代体验中的哪一个来创建门户.

We are now doing some R&D and we still not decided if which between Classic or Modern experience should we use to create the portal.

我看到一些帖子,建议不要像我们在本地中一样更改共享点在线母版页.如果是经典的话,我们将在其中放置脚本和库以使网站具有响应能力,而无需触摸母版页.

I saw some post that it is not advisable to change the sharepoint online master page like what we are doing in On-Prem. If in classic, where we will put on the scripts and library to make the site responsive without touching the master page.

需要您的想法和建议.

谢谢. Ryan

推荐答案

Ryan,

由于它应该是公司门户网站的登录页面,并且应该具有响应性,因此我建议您继续使用Modern体验.以移动优先的方式为移动构建现代体验.

但是,如果您仍然喜欢经典体验并希望使其具有响应性,则可以使用JavaScript注入方法使网站具有响应性 无需编辑母版页.

请在下面的链接中找到PnP的完整powershell脚本,该脚本可让您对所有设备的SharePoint的经典体验都具有完全的响应能力.这只是一个班轮的努力.

Since it should be a Company portal landing page and should be responsive, i would suggest you to go ahead with Modern experience. Modern Experience is build for Mobile with a vision of Mobile first approach.

But if you still prefer the classic experience and want to make it responsive, there are javascript injection method by which you can make your site responsive WITHOUT editing the master pages.

Please find the complete powershell script by PnP which make your classic experience of SharePoint fully responsive for all devices in the link below. Its just a one liner effort.

PS C:\>


creds = Get-Credential PS C:\> .\ Enable-SPResponsiveUI.ps1 -TargetSiteurl"https://intranet.mydomain.com/sites/targetSite" -凭据
creds = Get-Credential PS C:\> .\Enable-SPResponsiveUI.ps1 -TargetSiteurl "https://intranet.mydomain.com/sites/targetSite" -Credentials


信条

> https://github.com/SharePoint/PnP-Tools/tree /master/Solutions/SharePoint.UI.Responsive

有关Javascript嵌入的更多信息,请参考下面的示例项目

For more information on Javascript embedding, please refer the below sample project


这篇关于企业品牌:SharePoint Online的经典或现代体验的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆