You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Download and install [SharePoint Online SDK](https://www.microsoft.com/en-us/download/details.aspx?id=42038).
12
13
13
-
14
-
1. Download and install SharePoint Online SDK.
15
-
16
-
2. Download the .ps1 file.
14
+
2. Download the *.ps1* file.
17
15
18
16
3. Open the file (you can do it also in NotePad)
19
17
@@ -33,15 +31,14 @@ $Name="Name of the Content Type2"
33
31
$ParentContentTypeID="0x01"
34
32
$Group="List Content Types"
35
33
```
36
-
a) Find on your computer where SharePoint.Clitent.dll and SharePoint.Client.Runtime.dll libraries are located and insert the correct paths
37
-
b) Instead of "admin@tenant.onmicrosoft.com" enter you username
38
-
c) Instead of "https://tenant.sharepoint.com/sites/teamsitewithlibraries" enter the name of the site collection where you want to find the content types
39
-
d) Fill in the properties of the content type.
34
+
a) Find on your computer where SharePoint.Clitent.dll and SharePoint.Client.Runtime.dll libraries are located and insert the correct paths</br>
35
+
b) Instead of "admin@tenant.onmicrosoft.com" enter you username</br>
36
+
c) Instead of "https://tenant.sharepoint.com/sites/teamsitewithlibraries" enter the name of the site collection where you want to find the content types</br>
37
+
d) Fill in the properties of the content type.</br>
40
38
41
-
42
39
5. Run the script in Powershell (any module).
43
40
44
-
6. When the script has executed, Powershell will show a message Content Type Name of the Content Type2 has been added to Title of the List.
41
+
6. When the script has executed, Powershell will show a message *Content Type Name of the Content Type2 has been added to Title of the List*.
0 commit comments