Skip to content

Commit c37dbb4

Browse files
Update and rename CSOM methods for applying retention labels.md to csom-methods-for-applying-retention-labels.md
Please see changes in this commit for things I needed to implement to get this doc inline with MSDocs standards. Some of these things were reported in the automated build checks added to the PR, including: - can't use absolute URLs to things that are relative - incorrect use of NOTE (putting it on it's own line in a block quote, like the IMPORTANT used above) - not supposed to use specific version/versions in the URL - renamed file from having spaces in the name to `-` instead
1 parent a5a57f1 commit c37dbb4

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

docs/sp-add-ins/CSOM methods for applying retention labels.md renamed to docs/sp-add-ins/csom-methods-for-applying-retention-labels.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ CSOM methods are available to apply (set) a retention label (ComplianceTag) on o
2121

2222
This method can be used to set a ComplianceTag on one or many ListItems. It is strongly recommended to use this method for this purpose.
2323

24-
2524
```c#
2625
public List<int> SetComplianceTagOnBulkItems(
2726
List<int> itemIds,
@@ -31,13 +30,10 @@ public List<int> SetComplianceTagOnBulkItems(
3130

3231
### Parameters
3332

34-
'List' [Int](/en-us/dotnet/api/system.int32)
35-
36-
'ItemsIds' [String](/dotnet/api/system.string)
37-
38-
'ListURL' [String](/dotnet/api/system.string)
39-
40-
'ComplianceTagValue' [String](/dotnet/api/system.string)
33+
- 'List' [Int](/en-us/dotnet/api/system.int32)
34+
- 'ItemsIds' [String](/dotnet/api/system.string)
35+
- 'ListURL' [String](/dotnet/api/system.string)
36+
- 'ComplianceTagValue' [String](/dotnet/api/system.string)
4137

4238
Attribute [RemoteAttribute](/dotnet/api/microsoft.sharepoint.client.remoteattribute)
4339

@@ -50,17 +46,17 @@ Attribute [RemoteAttribute](/dotnet/api/microsoft.sharepoint.client.remoteattrib
5046
## Other
5147

5248
> [!NOTE]
53-
It is strongly recommended to use SetComplianceTagOnBulkItems instead of these methods.
49+
> It is strongly recommended to use SetComplianceTagOnBulkItems instead of these methods.
5450
5551
The following methods are also available, but are no longer updated and may be subject to deprecation in the future. If you are using these methods, we strongly recommend use of the SetComplianceTagOnBulkItems method instead.
5652

57-
* [SetComplianceTag](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetag?view=sharepoint-csom)
58-
* [SetComplianceTagWithExplicitMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetainfo?view=sharepoint-csom)
59-
* [SetComplianceTagWithExplicitMetasUpdate](https://learn.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetasupdate?view=sharepoint-csom)
60-
* [SetComplianceTagWithHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithhold?view=sharepoint-csom)
61-
* [SetComplianceTagWithMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithmetainfo?view=sharepoint-csomtnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithhold?view=sharepoint-csom)
62-
* [SetComplianceTagWithNoHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithnohold?view=sharepoint-csom)
63-
* [SetComplianceTagWithRecord](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithrecord?view=sharepoint-csom)
53+
* [SetComplianceTag](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetag)
54+
* [SetComplianceTagWithExplicitMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetainfo)
55+
* [SetComplianceTagWithExplicitMetasUpdate](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetasupdate)
56+
* [SetComplianceTagWithHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithhold)
57+
* [SetComplianceTagWithMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithmetainfo)
58+
* [SetComplianceTagWithNoHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithnohold)
59+
* [SetComplianceTagWithRecord](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithrecord)
6460

6561

6662

0 commit comments

Comments
 (0)