1

I have the server relative URL to a folder in SharePoint. Hence, I can call /GetFolderByServerRelativeURL(url).

How do I get the name of the list this folder belongs to ?

I need to use the list name to call the /lists endpoint

1 Answer 1

0

Inorder to get the listname, one needs to query /GetFolderByServerRelativeURL(url)/Properties endpoint. This gives us the listname and/or the list GUID.

We can then call the lists endpoint like /Lists/GetByTitle('listname') and /lists(guid'list GUID').

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.