本文介绍了SharePoint 2013-新更改未反映在现有页面中(使用Visual Studio自定义页面布局)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


任何人都可以在以下情况下提供帮助吗?

Hi,
Can anyone help in below scenario?

1-在一段时间之前,我在生产环境中创建并部署了Visual Studio自定义页面布局.

1-Before some time I created and deployed visual studio custom page-layout in production.

2-用户使用该页面布局创建了一些页面并添加了内容.

2-Users created some pages using that page layout and add content.

3-现在我对此做了一些改进,然后再次部署

3-Now I have done some enhancement in that and deployed again

4-如果我要创建新页面,它会显示更改,但现有页面未显示该更改?


4-If I am creating new page its showing  changes but existing pages not showing that changes??


Vishal Goyal

Vishal Goyal

推荐答案

确保页面布局相同(采用相同的url.对于具有不同url的页面布局,名称可以相同):在Pages doclib中,修改视图并添加Page layout列.然后检查旧页面和新页面是否都引用同一页面 /_catalogs/masterpage中的页面布局-您可以点击其页面布局并比较打开的网址.

ensure that page layouts are the same (deployed with the same url. Name can be the same for page layouts with different urls): in Pages doclib modify view and add Page layout column. Then check whether both old pages and new pages reference the same page layout in /_catalogs/masterpage - you may click on their page layouts and compare opened urls.

另一个可能的原因是,旧页面与Sharepoint Designer中的页面布局分离.在这种情况下,页面布局的更改将不会显示在页面上.

Another possible reason is that old pages were detached from page layout in Sharepoint Designer. In this case changes in page layout won't be shown on them.


这篇关于SharePoint 2013-新更改未反映在现有页面中(使用Visual Studio自定义页面布局)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 15:33