SOLVED

SharePoint Online Enterprise Content Types Not Using The Content Type Syndication Hub

Copper Contributor

Hello, I would like to know if it is possible to provision an enterprise content type on SharePoint online without using the Content Type Syndication Hub.  Just to be clear, by enterprise content type I mean a content type that can be applied to multiple modern site collections.  I have used the content type syndication hub in SharePoint 2010 extensively and would like to avoid that pain.  I would prefer just to deploy a single content type in multiple site collections using site designs or the pnp provisioning engine. Any help is appreciated.

5 Replies
Yes you can create without using Syndication Hub please refer the below thread and let me know if its useful.

https://techcommunity.microsoft.com/t5/SharePoint/Create-a-custom-content-type-for-our-modern-pages-...

Thuyavan, that article does not address deploying a content type across multiple site collections.

At the moment there is no modern alternative to content type hub. The only way is via the options you mentioned.
Fingers crossed we have a content type hub replacement soon :)
Basically your options are:
(1) Use the Enterprise Content Type Hub that you have in SPO and you don't want to use
(2) Build your own "Enterprise Content Type Hub" feature using PnP, Azure Functions and some other stuff
(3) Follow Joel advise and wait for a replacement of current Enterprise Content Type Hub feature (Something I have not heard it will happen anytime soon)
best response confirmed by Dave Walker (Copper Contributor)
Solution

1) You could provision the content type in code via CSOM and push it to multiple sites

 

2) You could use site designs and add new content types automatically like below

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview

 

{
"$schema": "schema.json",
"actions": [
{
"verb": "setRegionalSettings",
"locale": 1033
},
{
"verb": "createContentType",
"name": "Test Content Type",
"parentName": "Document",
"parentId": "0x0101",
"id": "{1B1AF0B2-14B0-41C2-8273-DBD2C3F0DB8E}",
"subactions": []
}
],
"bindata": {},
"version": 1
}

1 best response

Accepted Solutions
best response confirmed by Dave Walker (Copper Contributor)
Solution

1) You could provision the content type in code via CSOM and push it to multiple sites

 

2) You could use site designs and add new content types automatically like below

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview

 

{
"$schema": "schema.json",
"actions": [
{
"verb": "setRegionalSettings",
"locale": 1033
},
{
"verb": "createContentType",
"name": "Test Content Type",
"parentName": "Document",
"parentId": "0x0101",
"id": "{1B1AF0B2-14B0-41C2-8273-DBD2C3F0DB8E}",
"subactions": []
}
],
"bindata": {},
"version": 1
}

View solution in original post