更新的文档模板内容类型不会在使用它的Web部件中更新 [英] Updated document template content type does not update in Web Part that uses it

查看:53
本文介绍了更新的文档模板内容类型不会在使用它的Web部件中更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在子网站"A-1"中附加了此文档库的内容类型。

I have a content type attached to this document library in subsite 'A-1'.

内容类型是从父网站"A"中的文档库中获取其文档模板的表单。已分配的文档模板本身与"A"中的网站集功能相关联,因此要更新表单,我必须停用
该功能(删除模板),将新模板发布到库中,然后重新激活它。

The content type is a form that takes its document template from a document library in the parent site 'A'. The assigned document template itself is tied to a site collection feature in 'A', so to update the form, I have to deactivate the feature (which deletes the template), publish the new template to the library, and then reactivate it.

表格中的数据输入是通过子网站"A-1"中自己网页上的网页部分完成的。

Data entry into the form is accomplished through a web part on its own page in the subsite 'A-1'.

我遇到的问题是:当我更新表单模板时,"A-1"中的Web部件不使用它。它会继续显示表单模板的旧版本。 

The problem I am having is this: when I update the form template, the web part in 'A-1' does not use it. It continues to display the old version of the form template. 

"A"中的文档模板,当在SharePoint中进行编辑时,会显示新版本。 之后提交,查看提交的表单将其显示为新版本。但是,如果我尝试在'A'文档库中编辑
浏览器中的文档,它会显示旧版本。

The document template in 'A', when brought up for editing in SharePoint, shows the new version. After submission, viewing the submitted form shows it as the new version. However, it shows the old version if I attempt to edit the document in the browser from the 'A' document library.

表单的新版本添加了新版本-down列表并用下拉列表或人员查找替换几个文本框。

The new version of the form adds a new drop-down list and replaces several text boxes with drop-down lists or person lookups.

我尝试使用新的Web部件创建一个新页面,它仍然显示旧版本。我已经尝试刷新本地对象缓存。

I have tried making a new page with a new web part, and it still displays the old version. I have tried flushing the local object cache.

我注意到自行停用并重新激活网站集功能,而不进行更新,将模板恢复为旧版本 - 它会删除模板,如前所述,然后将旧版本放回库中。

I have noticed that deactivating and reactivating the site collection feature on its own, without updating, will revert the template to its old version -- it deletes the template, as previously noted, and then puts the old version back on the library.

推荐答案

<你好Daniel,

Hi Daniel,

在'A-1'网站上,您使用哪个文档网页部分?子网站中的文档库? 

In 'A-1' site, which document web part are you using? The document library in subsite? 

根据您的描述,您有一个使用自定义文档模板的内容类型(或来自?的自定义显示)。此内容类型在父站点文档库和子站点文档库中都使用,但是,只有
的自定义模板更改会影响父站点。

From your description, you have a content type which using custom document template(or a custom display from?). And this content type is used in both parent site document library and subsite document library, however, changes to the custom template only affects in parent site.

如果我误解了你,请告诉我。我需要你提供更多信息。

If I misunderstand you, please tell me. I need more information from you.

祝你好运,

Allen Bai

Allen Bai


这篇关于更新的文档模板内容类型不会在使用它的Web部件中更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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