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
Copy file name to clipboardExpand all lines: Items Management/Attachments/Enable or disable attachments to items of a chosen list/description.md
+9-25Lines changed: 9 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,18 @@
1
-
A short Powershell script to set the EnableAttachments property for a SharePoint Online list. The property is responsible for the Attach File icon under new item tab. If you disable the button, you and your users will not be able to add the attachments to list items.
1
+
A short Powershell script to set the EnableAttachments property for a SharePoint Online list. The property is responsible for the **Attach File** icon under **new item** tab. If you disable the button, you and your users will not be able to add the attachments to list items.
2
2
3
-
A short Powershell script to set the EnableAttachments property for a SharePoint Online list. The property is responsible for the Attach File icon under new item tab (see screenshot). The button allows you to add attachments to the list item.
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
3
+
<imgsrc="../Enable or disable attachments to items of a chosen list/attachments3.png">
12
4
13
5
If you disable the button, you and your users will not be able to add the attachments to list items:
14
6
15
-
16
-
17
-
18
-
19
-
7
+
<imgsrc="../Enable or disable attachments to items of a chosen list/attachments-nobutton.png">
20
8
21
9
Applies to lists.
22
10
23
11
24
12
25
13
26
14
27
-
It requires installed SharePoint Online SDK
15
+
It requires installed [SharePoint Online SDK](https://www.microsoft.com/en-us/download/details.aspx?id=42038)
28
16
29
17
You have to enter the list information before running the script:
30
18
@@ -45,18 +33,14 @@ $ListName="Tasks list"
45
33
$Attachments =$false
46
34
```
47
35
48
-
### Related scripts
49
-
Set direction of the reading order for a single list
36
+
##**Related scripts**
37
+
[Set direction of the reading order for a single list](https://gallery.technet.microsoft.com/office/Set-the-direction-of-the-f17ca66a)
SharePoint Online: Disable or enable attachments to list items using Powershell
43
+
[SharePoint Online: Disable or enable attachments to list items using Powershell](https://social.technet.microsoft.com/wiki/contents/articles/30024.sharepoint-online-disable-or-enable-attachments-to-list-items-using-powershell.aspx)
0 commit comments