Forum Discussion
Frank68666
Nov 07, 2022Copper Contributor
Graph Get SPO Webpart Information
I started a Graph request against a SPO site, trying to get detailed information about the integrated webparts.
Graph Call was GET https://graph.microsoft.com/beta/sites/{site id}/pages/{page id}
I assumed a response like the Microsoft Docs shows: https://learn.microsoft.com/en-us/graph/api/sitepage-get?view=graph-rest-beta&tabs=http
But all webparts where shown only like this:
"webParts": [
{
"type": "544c1372-7e5a-49ec-8db6-812f76c375f2",
"data": {
"id": "544c1372-7e5a-49ec-8db6-812f76c375f2",
"instanceId": "5feff54a-69c4-4795-93d2-ab74501c3c6f"
}
}
How do I get an response like microsoft docs are showing?
I want to provision SPO pages with pre-configured webparts through SiteScripts.
Any ideas?
No RepliesBe the first to reply