内容类型继承-父项已更新,子项未更新 [英] Content Type Inheritance - Parent updated , child not

查看:77
本文介绍了内容类型继承-父项已更新,子项未更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是内容类型发布的新手.我们正在使用内容类型中心.我在cth Parent1中声明了一种内容类型,其中Field1是必需的.然后,我创建了第二个内容类型Child1,其父级为Parent1.我决定要Fields1 是可选的.我通过内容类型更新了该列(单击Parent1中的字段,更新此字段), 此内容类型应只读吗?设置为NO,并且 更新从其继承的所有内容类型 这个类型?设置为是.我去了要使用Child1的站点,并设置了"< label for =" ctl00_PlaceHolderMain_ctl00_checkboxRefresh>在下次更新时刷新所有已发布的内容类型" .定时器作业昨晚跑了 没有错误. Parent1在站点上已更新,但是如果我导航到Child1并单击字段(更改内容类型列"),它将显示"required".但链接(编辑此字段")显示为可选.这在内容类型中心和 地点.   Child1设置为只读.有人可以帮助我了解为什么更改没有传播到Child1吗?我需要将Child1设置为非只读吗?这不是真正的选择,因为mas Parent1是整个服务器场中所有内容类型的父项 (许多内容类型) //label>

Hi, I am new to content type publishing. We are using a content type hub. I declared a content type in cth Parent1, with Field1 that was mandatory. Then I created a second content type Child1, who's parent is Parent1 . I decided that I wanted Fields1 to be optional. I updated the column via the content type ( click on field in Parent1, update this field ) , Should this content type be read only? is set to NO and Update all content types inheriting from this type? is set to Yes . I went to the site where I wanted to use Child1 , and set "<label for="ctl00_PlaceHolderMain_ctl00_checkboxRefresh">Refresh all published content types on next update" . The timer job ran last night with no error. Parent1 updated on the site, but if I navigate to the Child1 and I click the field (Change content type Column) , it shows "required" but the link ( edit this field ) shows as optional. This is on both the content type hub and on the site.  Child1 is set to read only. Can someone help me understand why the changes did not propagate down to Child1 ? Do I need to set Child1 to not be read-only ? This isn't really an option, mas Parent1 is parent to all out content types across the farm ( many content types ) </label>

< label for =" ctl00_PlaceHolderMain_ctl00_checkboxRefresh>谢谢</label>

<label for="ctl00_PlaceHolderMain_ctl00_checkboxRefresh">Thanks</label>


<身体>

推荐答案

根据我的测试,如果您没有将子内容类型手动设置为只读,它将始终与父内容类型保持一致.对于只读的父级内容类型,当您第一次创建从其继承的子级内容类型时,该子级 内容类型将不是只读的,并且在父内容类型更新之前不会更新.

Per my test, if you don’t set a child content type manually to read-only, it will always update in consistence with parent content type. For a parent content type that is read-only, when you first create a child content type inheriting from it, the child content type will be not read-only and will not update until the parent content type updates.

最好的问候,

John Han


这篇关于内容类型继承-父项已更新,子项未更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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