文件范本问题 [英] Document Template issue

查看:67
本文介绍了文件范本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我们正在使用文档模板.有两个模板template-1与ContentType-1绑定,而Template-2与ContentType-2绑定.在这里,我们将ContentTypeHub用于contentTypes.

In my project we are using document Templates. There are two templates template-1 is bind with ContentType-1 and Template-2 is bind with ContentType-2. Here we are using ContentTypeHub for contentTypes.

我们有多个网站集.

所有网站集的结构都相同...结构没有变化... [相同的组名,相同的库名并与相同的内容类型相关联]

All sitecollections are same structure... there is no change in the structure... [same group name, same libaryname and associated with same contenttype]

我们将文档模板保留在siteColelction-1的docLibrary中,所有用户均可访问[注意:它不是匿名站点]

We are keeping document template in docLibrary in siteColelction-1, which is accessable for all users [Note: it is not anonymous site]

我们不允许用户以文档编辑属性形式选择内容类型.

we are not allowing users to select the contenttype, in document edit property form.

我们建议用户,从SiteCollection-1获取文档模板并使用它.

We suggested users, get the Document Template from SiteCollection-1 and use it .

当他们在sitecollection-1中上载文档时,默认情况下,它与相关的内容类型绑定. [例如:Template-1文件与ContentType-1绑定.模板2文档与ContentType-2]绑定.所以它运作良好 在同一网站集中.

When they are uploading a document in sitecollection-1, by default it is binding with relevant contenttype. [eg: Template-1 Documents are binding with ContentType-1. Template-2 Documents are binding with ContentType-2]. So it is working perfectly in Same sitecollection. 

但是,事情是当他们在不同的网站集[Sitecollection-2或sitecollection-3]中上载文档时,事实并非如此.绑定相关的内容类型,而不是绑定默认的内容类型[我们的默认内容类型 是contentype-1].

But, the thing is When they are uploading a document in different sitecollection [Sitecollection-2 or sitecollection-3], it is not  binding with relevant contenttype, instead of that it is binding with default contentype [our default contentype is contentype-1]. 

[例如:用户从sitecolletion-1下载template-2,此处template-2与contentype-2绑定.现在,他正在将template-2文档上载到library的sitecollection-2中.我们期望它应该与contenttype-2绑定,但是在这里我们的假设 是错误的,它采用默认的内容类型...它没有与相关的内容类型绑定].

[eg: user download template-2 from sitecolletion-1, here the template-2 is binding with contentype-2. Now, he is uploading that template-2 document in sitecollection-2 in library . we are expecting it should be bind with contenttype-2, but here our assumption is wrong it is take default contenttype... it is not binding with relevant contenttype].

请帮助我们解决此问题...对此有什么解决方案.

Please help us how to resolve this... what is a solution for this.

注意:我们有4种模板,它们与不同的内容类型相关联.

Note: we are having 4 kind of templates which is associated with different contentype.

我们有大约20个网站集.因此,很难在每个站点集合中维护模板.

we are having around 20 sitecollection. so, It is very hard to maintain the templates in each sitecolelction.

请提出您的建议.

推荐答案

您好BrettoAbraham,

Hi BrettoAbraham,

您在哪里将模板上传到相关的内容类型?是否将模板上载到Content Type Hub网站中的网站内容类型?

Where did you upload the template to the relevant content type? Whether you upload the template to the site content type in Content Type Hub site?

根据我的测试,我创建了一个内容类型中心站点,并创建了两个站点内容类型,并在编辑内容类型"页面的高级设置中上传了模板.

Per my test, I create a content type hub site and create two site content types and upload the templates in the advanced settings in edit content type page.

然后,我发布这两种内容类型,并将其添加到两个不同网站集中的相关库中.

Then I publish these two content types and add to the relevant libraries in two different site collections.

我使用网站集1中的ContentType1 template1创建一个文档,将其保存在本地位置,然后将其上传到另一个网站集中的库中.然后,为新的上传文档分配ContentType1,这不是默认的内容类型 正确.

I create a document with the ContentType1 template1 in site collection 1, save it in the local location, and upload it into a library in another site collection. Then the new upload document is assigned ContentType1 which is not the default content type correctly.

您是否按照与我相同的步骤进行操作?如果有任何差异或不清楚,请告知我们.

Whether you operate the steps same as me? If there is any difference or unclear, please let us know.

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于文件范本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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