Skip to content

Commit 69a3ac0

Browse files
000-868: ct how to create
1 parent 99868c3 commit 69a3ac0

File tree

7 files changed

+88
-61
lines changed

7 files changed

+88
-61
lines changed

_data/docs_menu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
link: /articles/en/SharePointOnline/findctid
4444
- name: Find content type ID using Powershell
4545
link: /articles/en/SharePointOnline/findctIDPS
46+
- name: Enable content type management
47+
link: /articles/en/spo/enablect/
48+
- name: List SharePoint content types
49+
link: /articles/en/spo/ctget/
50+
- name: How to create SharePoint content type
51+
link: /articles/en/spo/cthowtocreate
4652
- name: Export your folder structure to XML using Powershell
4753
link: /articles/en/SharePointOnline/Exportfolderstructure
4854
- name: Easy way to create CAML Query for list view

_data/navigation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
link: /articles/en/SharePointOnline/findctid
4242
- name: Find content type ID using Powershell
4343
link: /articles/en/SharePointOnline/findctIDPS
44+
- name: List SharePoint content types
45+
link: /articles/en/spo/ctget/
46+
- name: How to create SharePoint content type
47+
link: /articles/en/spo/cthowtocreate
4448
- name: Design and Branding
4549
link: /#
4650
dropdown:

articles/en/SharePointOnline/cthowtocreate.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

articles/en/spo/ctget.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ A Content Type in SharePoint is a reusable collection of metadata, templates, an
1919

2020
This article shows you how to get all or selected content types that you have in your list or your SharePoint site.
2121

22+
<br/><br/>
23+
2224
# List or Library
2325

2426

25-
## User Interface - Browser
27+
### User Interface - Browser
2628

2729
Navigate to Library or List Settings. There you will see Content Types available for this library or list.
2830

@@ -37,7 +39,7 @@ If the Content Types section is completely missing from your view, make sure to
3739

3840
<br/><br/>
3941

40-
## PnP Powershell - Get all content types
42+
### PnP Powershell - Get all content types
4143

4244
```powershell
4345
@@ -72,7 +74,7 @@ Disconnect-PnPOnline
7274
<br/>
7375

7476

75-
## PnP Powershell - Get a content type by id
77+
### PnP Powershell - Get a content type by id
7678

7779
```powershell
7880
@@ -105,7 +107,7 @@ Disconnect-PnPOnline
105107

106108
<br/>
107109

108-
## PnP Powershell - Get a content type by name
110+
### PnP Powershell - Get a content type by name
109111

110112

111113
```powershell
@@ -144,7 +146,7 @@ Disconnect-PnPOnline
144146
# Site
145147

146148

147-
## User Interface (Browser)
149+
### User Interface (Browser)
148150

149151
Navigate to Site Settings.
150152

@@ -158,7 +160,7 @@ Open the Site Settings and under Web Designer Galleries you will find a link to
158160

159161
<br/><br/>
160162

161-
## PnP Powershell - Get all content types
163+
### PnP Powershell - Get all content types
162164

163165

164166
```powershell
@@ -189,7 +191,7 @@ Disconnect-PnPOnline
189191
<br/>
190192

191193

192-
## CSOM - Get a content type by id
194+
### CSOM - Get a content type by id
193195

194196
```powershell
195197

articles/en/spo/cthowtocreate.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
layout: page
3+
title: 'How to create SharePoint content type'
4+
hero_image: '/img/IMG_20220521_140146.jpg'
5+
show_sidebar: false
6+
hero_height: is-small
7+
date: '2025-03-22'
8+
---
9+
10+
11+
A content type can be a form, a document template you want to use to gather information. Behind the scenes, a content type in SharePoint is a reusable collection of metadata (columns), workflows, and behavior settings for items in a list or library. Here is a step-by-step guide to create a content type in SharePoint Online.
12+
13+
14+
# Site
15+
16+
17+
To create a content type that will be available for all lists and libraries in your site collection, navigate to **Site Settings**. Ensure you have appropriate permissions (Site Owner or Admin).
18+
1. Click on the Settings icon (gear icon) in the top-right corner.
19+
2. Select **Site information** > View all site settings.
20+
21+
22+
<img src="/articles/img/ctget4.PNG" width="600">
23+
24+
25+
In the site settings select **Content Types**. Click on **Create**.
26+
27+
28+
29+
<img src="/articles/img/ctcreate0.png" width="600">
30+
31+
32+
33+
34+
<img src="/articles/img/ctcreate1.png" width="600">
35+
36+
37+
Once the content type is created, add the columns/properties that you need.
38+
39+
<img src="/articles/img/ctcreate3.png" width="600">
40+
41+
42+
43+
# Add the Content Type to List or Library
44+
45+
First of all, make sure you have [enabled content type management](https://powershellscripts.github.io/articles/en/spo/enablect/) in your library.
46+
47+
If the content management is enabled, go to your list or library and click on **Add column**. Scroll to the bottom of your column list and select **Add a content type**
48+
49+
<img src="/articles/img/ctcreate2.PNG" width="600">
50+
51+
52+
Select the content type that you created.
53+
54+
55+
56+
# See Also
57+
58+
[Enable content type management](https://powershellscripts.github.io/articles/en/spo/enablect/)
59+
60+
[Add content type using Powershell and CSOM](https://powershellscripts.github.io/articles/en/SharePointOnline/Add%20content%20type/)
61+
62+
63+
[Find content type ID](https://powershellscripts.github.io/articles/en/SharePointOnline/findctid/)

articles/img/ctcreate3.png

73 KB
Loading

index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ Welcome to Tips and Tricks on SharePoint, Power Platform and other Microsoft 365
121121
<ol style="--length: 5" role="list">
122122

123123

124+
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/spo/cthowtocreate/">
125+
<span style="display: block; text-align: right;">2025-03-22
126+
<h3>How to create SharePoint content type</h3></span>
127+
<p>A content type can be a form, a document template you want to use to gather information. Behind the scenes, a content type in SharePoint is a reusable collection of metadata (columns), workflows, and behavior settings for items in a list or library. Here is a step-by-step guide to create a content type in SharePoint Online.</p>
128+
</a></li>
129+
124130
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/spo/ctget/">
125131
<span style="display: block; text-align: right;">2025-03-15
126132
<h3>List SharePoint content types</h3></span>

0 commit comments

Comments
 (0)