Skip to content

Commit 9380fe1

Browse files
Merge pull request SharePoint#8457 from expiscornovus/patch-1
Update supporting-and-in-file-and-folder-with-the-resourcepath-api.md
2 parents 9446a18 + 6e5ea0c commit 9380fe1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/solution-guidance/supporting-and-in-file-and-folder-with-the-resourcepath-api.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: 'Supporting % and # in files and folders with the ResourcePath API'
33
description: 'New APIs have been added to the SharePoint Online client object model (CSOM) surface to provide support for # and % characters.'
4-
ms.date: 4/22/2020
4+
ms.date: 09/27/2022
55
ms.localizationpriority: high
66
---
7-
87
# Supporting % and # in files and folders with the ResourcePath API
98

109
Support for % and # in files and folders is being deployed within SharePoint Online. Unfortunately, due to existing API structures and calling patterns, working with these file names can sometimes become ambiguous. You can find [more background behind this on our developer blog](https://developer.microsoft.com/office/blogs/upcoming-changes-to-sharepoint-and-onedrive-for-business-apis-to-support-and-in-file-names).
@@ -193,7 +192,7 @@ The following C# properties are added to return System.Uri with unambiguous enco
193192
#### Get Folders
194193

195194
```
196-
url: http://site url/_api/web/GetFolderByServerRelativePath(decodedUrl='folder name')
195+
url: http://site url/_api/web/GetFolderByServerRelativePath(decodedUrl='library name/folder name')
197196
method: GET
198197
headers:
199198
Authorization: "Bearer " + accessToken

0 commit comments

Comments
 (0)