如何部署母版页而不隐藏指向其创建站点的链接? [英] How to deploy a masterpage without hidden links to its creation site?

查看:54
本文介绍了如何部署母版页而不隐藏指向其创建站点的链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在将品牌母版页部署到其他网站或网站集时遇到了麻烦.该母版页在其创建的网站上运行良好.但是,将其应用于另一个sitecolletion上的一个站点会导致 访问麻烦(显然它试图访问其原始站点).

We are having trouble to deploy our branded masterapage to other sites or sitecollections. The masterpage works perfectly well on the site it was created. However, applying it to a site on another sitecolletion results in access troubles (apparently it tries to access its origin site). 

无权访问创建母版页的网站的用户,看不到品牌的每个部分,也无法访问所有列表. _spPageContextInfo也指向原始站点,而不是当前上下文.

Users who do not have access to the site the masterpage was created in, don't see every part of the branding and cannot access all lists. Also the _spPageContextInfo points to the original site instead of to the current context.

这仅在用户有权访问原始站点时更改,在这种情况下,屏幕将再次看起来不错,_spPageContextInfo得到更新,并且所有列表均可访问.

This only changes if users have access to the original site, in this case the screen looks good again, the _spPageContextInfo gets an update, and all lists are accessible.

任何人都对此有经验,可以将我们指向隐藏"页面.要断开的连接?

由于我们在安全的环境中工作,因此目前无法选择使用网站功能,这使部署功能变得很麻烦.

Using a site feature is currently not an option, since we work on a secure environment, which makes deploying a feature a major hassle.

非常感谢!

推荐答案

您好Gerrit,您如何将母版页部署到其他站点?将其另存为模板,然后分别上传到每个站点.除此之外,您还必须向用户授予对原始站点的最小权限.

Hi Gerrit- how did you deploy the master page to the other sites? Save it as a template and upload it to each site individually. Other than that, you'd have to give users minimum permissions to the origin site.


这篇关于如何部署母版页而不隐藏指向其创建站点的链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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