我的子站点中缺少pages/forms/allitems.aspx
我在 sharepoint 中有一个子网站,我想转到pages/forms/allitems.aspx。它不在那里吗?为什么会不见呢?我想看看页面正在使用什么布局。
I have a subsite in sharepoint and I want to go to pages/forms/allitems.aspx. It is not there? Why would it be missing? I want to see what layout a page is using.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您不拥有它的一个可能原因是您的子网站可能是。非发布模板,如团队网站、空白网站等。只有发布网站才会有基于布局的页面。
One possible reason why you will not have it is because that your subsite might be. Non-publishing template, like team site,blank site etc.only publishing site will have pages based on layout.
查看页面使用的页面布局
http:///_layouts/sitemanager.aspx?Source=%2Fdefault%2Easpx
导航到您要查看其属性的页面
页面布局应该列在右侧栏中,
我认为它是唯一启用发布功能的网站。
或者,您可以查询每个页面的“PageLayout”属性的属性包,以编程方式获取页面布局
To see what page layout is being used by a page
http:///_layouts/sitemanager.aspx?Source=%2Fdefault%2Easpx
navigate to the page you want to view the properties of
the page layout should be listed on the right hand column
I think its only sites with publishing enabled on them that have this though.
alternatively you could query the properties bag for the "PageLayout" property of each page to get the page layout programmatically