Forum Discussion
Xiaoyuan Zhang
Jul 14, 2017Former Employee
What's the relationship between list url and site url
I need make CSOM call, when I new a context, I need the site url. But I only have list document url, such as
https://XXX.sharepoint.com/teams/AAA/Shared Documents/
Should I remove last "Shar...
Jul 17, 2017
Can you give some more details on what you are trying to do.
If you are for example using CSOM you could get a list object using the list url and then via list.ParentWeb get the url of the site
Xiaoyuan Zhang
Jul 17, 2017Former Employee
How can I use CSOM when I don't know site url ?