0

In order to upload a file to a list (not the form's list, but other) as hyperlink , I use rest api uploading it.

I want to make a folder inside the sharepoint list, and upload it there.

I have used this:

url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/GetFolderByServerRelativeUrl('" + listGuid + "')/items/"+ folderName+"/add(url='" + fileName + "',overwrite=true)?$expand=ListItemAllFields"

It's not work, because of next error: "Microsoft.SharePoint.Client.ResourceNotFoundException"

Do you know how to access a folder inside a list using rest api?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.