sharepoint页面嵌入_在O365 SharePoint中嵌入Wiki页面

Hi,

I'm interested in building a SharePoint knowledge base using wiki pages, and I'm trying to figure out how I can embed one wiki page into another without also including the ribbon and side-menu. I have SharePoint Online, classic experience, through O365.

(Please redirect me if I'm asking this in the wrong place!)

Because of the nature of my organization's content, it makes a lot of sense to build pages containing standard procedures that can be embedded in a variety of other pages with content about larger processes. To try and illustrate what I mean, imagine a given

process article as though it were a molecule comprised of atoms, where the atoms are (mostly) just these standard procedures that have been embedded. You could have a set of 'atomic' standard procedure articles, and could create new process articles as different

arrangements of those existing 'atomic' articles.

An upshot of this would be the ability to update a given standard procedure in one place (the respective wiki page), with those changes automatically flowing through to all the process articles in which that standard procedure has been embedded.

Given the ability to embed web pages with the Page Viewer web part, I feel we have at least the beginnings of a technical solution for building the functionality I just described. But I lack the expertise to develop this functionality from here. Using just

the Page Viewer web part, we can embed a given wiki page into another wiki page, but the problem is that it's not just the content that gets embedded, but also the ribbon and the side-menu as well - basically like using an iframe.

If we were able to embed just the content from a given wiki page, and not include the ribbon and side-menu, then we'd be golden. Does anyone know if this is possible?

I was directed here from the Microsoft Community, where I asked this same question. There, I was told, "It is not achievable for build-in web part to embed a wiki page without the ribbon and the side-menu. And you may seek help from MSDN forum to see

if some code can help achieve this."

Thanks in advance!

解决方案Hi,

For wiki page, we can add the CSS style to the wiki pages to hide the ribbon, navigation, suite bar and etc.

#suiteBarDelta{

display:none !important;

}

#s4-ribbonrow{

display:none !important;

}

#s4-titlerow{

display:none !important;

}

#sideNavBox{

display:none !important;

}

If you want to iframe the list or library pages using Page Viewer web part, we can add "?isdlg=1" to the page url and add some JavaScript to hide the ribbon.

Best Regards,

Dennis

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值