Forum Discussion
Dave Walker
Dec 18, 2018Copper Contributor
SharePoint Online Enterprise Content Types Not Using The Content Type Syndication Hub
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 typ...
- Dec 20, 2018
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
}
Thuyavan Ganesan
Dec 18, 2018Iron Contributor
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-am-i-doing/td-p/286286
https://techcommunity.microsoft.com/t5/SharePoint/Create-a-custom-content-type-for-our-modern-pages-am-i-doing/td-p/286286
- Dave WalkerDec 18, 2018Copper Contributor
Thuyavan, that article does not address deploying a content type across multiple site collections.