Forum Discussion
Can Published Content Type update if it is not read only?
- Jul 30, 2019
ca_remI've just checked the results of yesterday's tests. For this test I defined and Published a Content Type from my Content Type Hub. I then created a new (classic) site to have my Published Content Type available immediately after creation. In this new site I changed the subscribed Content Type to not read only and added a column. I've also Created a new Content Type inheriting from my Subscribed Content Type and added another new column to that one too. Next I've added a column to the Content Type in my Hub and republished the Content Type...
To summarize the results:
- The change I've made to my subscribed content type was lost after the published Content Type was synchronized. My subscribed Content Type was reverted back to read-only and the column I added in my subscribed site was removed. The column I added from my Content Type Hub was added.
- The Content Type I created by inheriting from my subscribed Content Type was untouched. The column I added to this one was still there as well as the new column I added in my Content Type Hub
paulpascha , your suggestion that creates a content type base on the Published Content Type is really excellent. I will try.
The problem of this topic is rooted:
- I usually create content types in content type hub to have consistent data for control. My data is lists of Process stage (I have an example in another topic)
- In the Content-type Hub, I can't create Lookup column, it may cause conflict with the column in Subscribe Site and take time to maintain. So I usually create Columns with Single Line Text Type. Then on my Subscribed site, in the following stage List, I create a new Lookup Column point to the previous stage List --> use Flow to get the correct ID of the Lookup item --> pull out the data I need from another column of this item --> push data into the Column I create in Content Type Subscribed.
- I don't want to use Lookup because it does not support many other types except single line of text, number and currency
Is my way correct?