Timeline for How can I determine the site prefix of a SharePoint site via an API?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 19, 2021 at 20:30 | answer | added | Maksim Grinman | timeline score: 1 | |
Apr 19, 2021 at 14:37 | review | First posts | |||
Apr 19, 2021 at 15:13 | |||||
Apr 19, 2021 at 14:18 | comment | added | Maksim Grinman | @GaneshSanap I'm not the one using SP per se -- it's the customer/tenant and I am accessing information about their SP using the SP REST and Graph APIs. I'm not hardcoding any site URLs -- I'm trying to determine the site prefix of the site collection of a given drive item or site. There is no page context. | |
Apr 19, 2021 at 13:16 | comment | added | Ganesh Sanap - MVP | Which version of SharePoint you are using? Why are you using hardcoded site URL? If you are calling any API from SharePoint pages, you can get the current site URL from page context. | |
Apr 19, 2021 at 12:52 | history | asked | Maksim Grinman | CC BY-SA 4.0 |