SOLVED

Can Published Content Type update if it is not read only?

%3CLINGO-SUB%20id%3D%22lingo-sub-775196%22%20slang%3D%22en-US%22%3ECan%20Published%20Content%20Type%20update%20if%20it%20is%20not%20read%20only%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775196%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%202%20scenarios%3A%3C%2FP%3E%3CP%3E-%20If%20on%20Subscribed%20Site%2C%20we%20change%20the%20Published%20Content%20Type%20from%20Content%20Type%20Hub%20into%20%3CSTRONG%3Enot%20read%20only%20status%3C%2FSTRONG%3Eand%20add%20another%20column%20to%20it.%20Can%20this%20content%20type%20update%20normally%20when%20Content%20Type%20Hub%20republish%20it%3F%3C%2FP%3E%3CP%3E-%20If%20we%20add%20an%20existing%20column%20on%20the%20Subscribe%20site%20to%20this%20Content%20Type%2C%20and%20Change%20it%20Read%20Only%20again%2C%20may%20it%20work%20well%3F%3C%2FP%3E%3CP%3E-%20which%20feature%20of%20Content%20Type%20Publishing%20may%20be%20effected%20by%20the%20status%20%22Not%20read%20only%22%3F%20(I%20see%20the%20warning%20that%20workflow%20and%20something%20else%2C%20can%20anyone%20explain%20clearly%3F)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-775196%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777473%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Published%20Content%20Type%20update%20if%20it%20is%20not%20read%20only%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777473%22%20slang%3D%22en-US%22%3EI'm%20not%20100%25%20sure%2C%20but%20If%20I%20recollect%20correctly%20the%20content%20types%20you've%20changed%20by%20making%20them%20not%20read%20only%20anymore%2C%20will%20be%20ignored%20by%20future%20changes%20from%20the%20hub.%20They%20won't%20be%20overwritten%20anymore%20and%20changes%20won't%20be%20%22merged%22%20in%20any%20way.%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20I%20believe%20you%20could%20do%20however%20on%20your%20subscribed%20site%2C%20is%20to%20create%20a%20new%20Content%20Type%20based%20off%20of%20your%20Published%20Content%20Type.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20did%20some%20tests%20on%20my%20environment%20to%20see%20what%20happens.%20My%20environment%20is%20SharePoint%20Online%20so%20I%20have%20to%20wait%20a%20while%20for%20these%20changes%20to%20become%20visible.%20I'll%20let%20you%20know%20the%20results!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777522%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Published%20Content%20Type%20update%20if%20it%20is%20not%20read%20only%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777522%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1803%22%20target%3D%22_blank%22%3E%40Paul%20Pascha%3C%2FA%3E%26nbsp%3B%2C%20your%20suggestion%20that%20creates%20a%20content%20type%20base%20on%20the%20Published%20Content%20Type%20is%20really%20excellent.%20I%20will%20try.%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20problem%20of%20this%20topic%20is%20rooted%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E-%20I%20usually%20create%20content%20types%20in%20content%20type%20hub%20to%20have%20consistent%20data%20for%20control.%20My%20data%20is%20lists%20of%20Process%20stage%20(I%20have%20an%20example%20in%20%3CA%20title%3D%22another%20topic%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FWhich-best-choice-Flow-to-get-data-from-Lookup-Column-or%2Fm-p%2F776899%23M32750%22%20target%3D%22_self%22%3Eanother%26nbsp%3Btopic%3C%2FA%3E)%3C%2FP%3E%3CP%3E-%20In%20the%20Content-type%20Hub%2C%20I%20can't%20create%20Lookup%20column%2C%20it%20may%20cause%20conflict%20with%20the%20column%20in%20Subscribe%20Site%20and%20take%20time%20to%20maintain.%20So%20I%20usually%20create%20Columns%20with%20Single%20Line%20Text%20Type.%20Then%20on%20my%20Subscribed%20site%2C%20in%20the%20following%20stage%20List%2C%20I%20create%20a%20new%20Lookup%20Column%20point%20to%20the%20previous%20stage%20List%20--%26gt%3B%20use%20Flow%20to%20get%20the%20correct%20ID%20of%20the%20Lookup%20item%20--%26gt%3B%20pull%20out%20the%20data%20I%20need%20from%20another%20column%20of%20this%20item%20--%26gt%3B%20push%20data%20into%20the%20Column%20I%20create%20in%20Content%20Type%26nbsp%3BSubscribed.%3C%2FP%3E%3CP%3E-%20I%20don't%20want%20to%20use%20Lookup%20because%20it%20does%20not%20support%20many%20other%20types%20except%20single%20line%20of%20text%2C%20number%20and%20currency%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3BIs%20my%20way%20correct%3F%20%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777871%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Published%20Content%20Type%20update%20if%20it%20is%20not%20read%20only%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777871%22%20slang%3D%22en-US%22%3EI've%20replied%20in%20the%20topic%20you%20were%20referring%20to%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-778491%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Published%20Content%20Type%20update%20if%20it%20is%20not%20read%20only%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778491%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F343214%22%20target%3D%22_blank%22%3E%40ca_rem%3C%2FA%3EI've%20just%26nbsp%3B%20checked%20the%20results%20of%20yesterday's%20tests.%20For%20this%20test%20I%20defined%20and%20Published%20a%20Content%20Type%20from%20my%20Content%20Type%20Hub.%20I%20then%20created%20a%20new%20(classic)%20site%20to%20have%20my%20Published%20Content%20Type%20available%20immediately%20after%20creation.%20In%20this%20new%20site%20I%20changed%20the%20subscribed%20Content%20Type%20to%20%3CSTRONG%3Enot%3C%2FSTRONG%3Eread%20only%20and%20added%20a%20column.%20I've%20also%20Created%20a%20new%20Content%20Type%20inheriting%20from%20my%20Subscribed%20Content%20Type%20and%20added%20another%20new%20column%20to%20that%20one%20too.%20Next%20I've%20added%20a%20column%20to%20the%20Content%20Type%20in%20my%20Hub%20and%20republished%20the%20Content%20Type...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20summarize%20the%20results%3A%3C%2FP%3E%3CUL%3E%3CLI%3EThe%20change%20I've%20made%20to%20my%20subscribed%20content%20type%20was%20lost%20after%20the%20published%20Content%20Type%20was%20synchronized.%20My%20subscribed%20Content%20Type%20was%20reverted%20back%20to%20read-only%20and%20the%20column%20I%20added%20in%20my%20subscribed%20site%20was%20removed.%20The%20column%20I%20added%20from%20my%20Content%20Type%20Hub%20was%20added.%3C%2FLI%3E%3CLI%3EThe%20Content%20Type%20I%20created%20by%20inheriting%20from%20my%20subscribed%20Content%20Type%20was%20untouched.%20The%20column%20I%20added%20to%20this%20one%20was%20still%20there%20as%20well%20as%20the%20new%20column%20I%20added%20in%20my%20Content%20Type%20Hub%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-778703%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20Published%20Content%20Type%20update%20if%20it%20is%20not%20read%20only%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778703%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1803%22%20target%3D%22_blank%22%3E%40Paul%20Pascha%3C%2FA%3E%26nbsp%3B.%20You%20are%20so%20amazing.%3C%2FP%3E%3CP%3EBase%20on%20your%20analysis%2C%20I%20will%20create%20another%20content%20type%20base%20on%20the%20Published%20Content%20type%26nbsp%3Band%20I%20can%20customize%20as%20I%20like.%20The%20new%20Content%20Type%20will%20inherit%20from%20the%20Published%20Content-Type%2C%20It%20also%20will%20receive%20a%20new%20column%20added%20to%20the%20root%20content%20type.%20Really%20Amazing.%3C%2FP%3E%3CP%3EThanks%20a%20lot.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I have 2 scenarios:

- If on Subscribed Site, we change the Published Content Type from Content Type Hub into not read only status and add another column to it. Can this content type update normally when Content Type Hub republish it?

- If we add an existing column on the Subscribe site to this Content Type, and Change it Read Only again, may it work well?

- which feature of Content Type Publishing may be effected by the status "Not read only"? (I see the warning that workflow and something else, can anyone explain clearly?)

5 Replies
Highlighted
I'm not 100% sure, but If I recollect correctly the content types you've changed by making them not read only anymore, will be ignored by future changes from the hub. They won't be overwritten anymore and changes won't be "merged" in any way.

What I believe you could do however on your subscribed site, is to create a new Content Type based off of your Published Content Type.

I did some tests on my environment to see what happens. My environment is SharePoint Online so I have to wait a while for these changes to become visible. I'll let you know the results!
Highlighted

@Paul Pascha , 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?

Highlighted
I've replied in the topic you were referring to
Highlighted
Best Response confirmed by ca_rem (Contributor)
Solution

@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
Highlighted

@Paul Pascha . You are so amazing.

Base on your analysis, I will create another content type base on the Published Content type and I can customize as I like. The new Content Type will inherit from the Published Content-Type, It also will receive a new column added to the root content type. Really Amazing.

Thanks a lot.