| title | webPart resource type |
|---|---|
| description | Represents a specific web part instance on a SharePoint page. |
| author | sangle7 |
| ms.localizationpriority | medium |
| ms.subservice | sharepoint |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Represents a specific web part instance on a SharePoint page.
This is an abstract type.
Inherits from entity.
| Method | Return type | Description |
|---|---|---|
| List | webPart collection | Get a list of the webPart objects and their properties. |
| Get | webPart | Read the properties and relationships of a webPart object. |
| Delete | webPart | Deletes a webPart object. |
| Create | webPart | Create a new webPart object. |
| Update | webPart | Update the properties of a webPart object. |
| Get position | webPartPosition | Get the webPartPosition information of a WebPart. |
| Get by position | webPart collection | Get a list of the webPart objects filtered by webPartPosition information. |
| Property | Type | Description |
|---|---|---|
| id | String | Unique instance identifier of the web part. Inherited from entity. |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.webPart",
"id": "String (identifier)"
}